navsat_transform_node not broadcasting UTM to map transform anymore after GPS signal is lost
Hi,
We're working with an AUV and once we've got a GPS fix and the UTM to map transform, we dive and we'd like that transform to still be broadcasted during the dive. This doesn't seem to be the case. Is there a reason for it? And if so, is there a workaround to get this behavior on our setup?
We're running on Ubuntu 18.04.
Thanks
Asked by ignaciotb on 2020-11-12 06:17:45 UTC
Answers
The transform is published via a static transform broadcaster:
If you wan to confirm, do a rostopic echo /tf_static
and look for the transform in question.
Are you sure you have the parameters set correctly to broadcast it? What version are you using?
Asked by Tom Moore on 2020-11-13 06:16:51 UTC
Comments
Hi Tom, thanks for the quick response. We're looking into the rosbags now that we're back from the test. I'll let you know what we find out. I've been looking into our setup (https://github.com/smarc-project/smarc_navigation/blob/noetic-devel/sam_dead_reckoning/launch/dual_ekf_test.launch) and it seems things should have worked out, so it might be an error somewhere else in the system.
Asked by ignaciotb on 2020-11-16 09:48:34 UTC
Just a heads-up that if you are working from bags, recording tf_static
can be a problem. I seem to recall that, during playback, only the last node to publish on tf_static
will be respected. Or something like that. Look at the raw tf_static
publications in your bag and go from there.
Asked by Tom Moore on 2020-11-23 08:41:16 UTC
Comments