I’ve been working on incorporating some of our own sensor setups into our magni robot. Currently, I am working on setting up the tf transform messages for the sensors as well as setting up a range_sensor_layer on the 2D costmaps available in ROS. However, I am having difficulties locating the code that sets up the tf trannsforms for the sensors (such as the sonar array). The only tf readings I can find are those for the left and right wheels.
Can anyone point me in the right direction to find the code for the tf transforms for the sensors if this code exists?
Alright, thanks! I have a few follow up questions.
Firstly, is there a way to manual set the value of sonars_installed to true or is automatic?
Secondly, are all of the sonar readings published over the same rostopic and what type of message is used?
Lastly, just to make sure, if for some reason the sonars are positioned differently on the robot, is it possible just to change the URDF file or do we need to create a new one?
Thanks again for any help, it’s greatly appreciated!
I would recommend copying your modified URDF somewhere else, in case it gets overwritten on an update. We are working on a better solution for custom URDFs.
So this might be a strange question, but when looking for the robot.yaml file mentioned in the setting up sonar stuff, the file is not in /etc/ubiquity . The only thing there is env.sh. Is there some place different that this would have been on an older version of the software?