urdf publishing on robot or on remote computer?,

asked 2022-08-04 07:13:07 -0500

pitosalas gravatar image

updated 2022-08-09 16:15:44 -0500

I've recently changed my setup so that all the fixed tfs are derived from a carefully constructed URDF. Before this I had launch files with static_transfor_publisherm nodes and this led to a conflict.

My initial approach is to process the urdf from the "bringup" on the robot. I do this so that I can just run rviz or other nodes on the remote computer without having to separately load the urdf. But I am not sure this is the right approach.

Processing the urdf on the robot itself (using robot_state_publisher and joint_state_publisher) means that the transforms are being published on the Raspberry Pi. It doesn't seem overloaded (based on idle time). But still I wonder what the best practice is.

What do you do?

Run the urdf robot state publisher onboard the robot or off on a remote computer? Is there a best practice? Can you think why it may matter either way?

edit retag flag offensive close merge delete

Comments

Could you clarify why you still mention "4 static_transform_publishers" when you have a URDF? Are you not using robot_state_publisher?

gvdhoorn gravatar image gvdhoorn  ( 2022-08-05 01:28:33 -0500 )edit

I was being a little imprecise. I will change the question a little.

pitosalas gravatar image pitosalas  ( 2022-08-05 06:11:07 -0500 )edit