[Rock-dev] Transformation not available in Visualization
Sylvain Joyeux
bir.sylvain at gmail.com
Fri May 29 14:33:38 CEST 2015
Can you post your runscript as well ?
Sylvain
On Fri, May 29, 2015 at 7:06 AM, Sebastian Kasperski
<sebastian.kasperski at dfki.de> wrote:
> Hello,
>
> I have a task that is supposed to provide the robots position in a global
> map via a transform "map" -> "robot".
>
> Within the orogen-file, the transform is specified as:
> output_port "map2robot", "base/samples/RigidBodyState"
>
> The transform is created with the given frame names in the task:
> base::samples::RigidBodyState rbs;
> rbs.setTransform(mMapper->getCurrentPose());
> rbs.invalidateCovariances();
> rbs.sourceFrame = "map";
> rbs.targetFrame = "robot";
> _map2robot.write(rbs);
>
> In transforms.rb, this transform is definied to provide the "map" and robot
> "frame"
> dynamic_transform "mapper.map2robot", "map" => "robot"
>
> But when I try to visualize sensor data in the "robot" frame, only the
> default "world_osg" frame is available. A transform_broadcaster is not
> started, even after adding a dummy static_transform in transforms.rb.
>
> What else is missing to make the transform available in the visualization?
>
> Best regards,
> Sebastian
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>
More information about the Rock-dev
mailing list