Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't see any obvious problems with the code, and it seems from your rviz screenshot that the base/drone_link is indeed present (I suspect it to be at the end of the yellow line.) Can you expand up the TF -> Frames tree and inspect the x y and z of the base/drone_link transform to confirm that they are what you expect them to be?

Perhaps it's a good idea to first test the updateTransform function with a know x y and z.