Range sensor layer can't transform from odom to /ultrasound

asked 2020-05-19 15:30:58 -0500

femitof gravatar image

updated 2020-05-19 23:55:58 -0500

Hi good people of ros,

I am trying to use range_sensor_layer with my ultrasonic sensors, whenever i try using move_base with the layer.

It brings up this error: Range sensor layer can't transform from odom to /ultrasound at 1589919763.622455

How do i fix this please? Its driving me nuts.

See attached my tf picture Tf_screenshot and Topics_rate

Regards, and thanks

Update: Screenshot of Odom - Ultrasound TF odom_ultrasound Tf

edit retag flag offensive close merge delete

Comments

can you show the actual TF of odom <-- ultrasound?

billy gravatar image billy  ( 2020-05-19 22:59:43 -0500 )edit

@billy Thanks a lot

Updated the question with the screenshot

femitof gravatar image femitof  ( 2020-05-19 23:13:34 -0500 )edit

@femitof: please attach your images directly to the post instead of linking to 3rd party sites.

I've given you sufficient karma.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-20 03:14:50 -0500 )edit

I'm looking for the transform itself, not the status of the publishing. The transform should consist of a vector and quaterion. You're publishing it from somewhere.

Also, instead of a screen shot, it would have been better to copy the text from the terminal and paste into question.

billy gravatar image billy  ( 2020-05-20 18:02:04 -0500 )edit

Hi Billy @billy fixed this issue. I just modified the odom hz rate. Increased from 10Hz to 20Hz.

I am in another mess. Robot cant seem to find the a part around obstacle generated by the ultrasonic sensor. Also, robot seems to put up an obstacle where there is none.

Any ideas on how to fix this?

femitof gravatar image femitof  ( 2020-05-20 18:45:48 -0500 )edit