TF Subscribe only update once.

asked 2022-01-02 19:38:26 -0500

frans gravatar image

updated 2022-01-02 21:35:27 -0500

hi, i have a trouble while subscribing TF data. i did that using arduino and connected to rasphi 4 using USB to serial. my plan is trying to catch rplidar coordinates using carthographer algorithm. i can get the coordinates but only once after entering this line to terminal: rosrun rosserial_python serial_node.py /dev/ttyUSB0. i already check the topic using rostopic echo /tf and seems the coordinates updates correctly. anyone can help?

i follow this site to install my cartographer package: https://medium.com/robotics-weekends/...

using ROS MELODIC, ubuntu 18, rasphi 4b, esp32 with arduino ide, USB to serial, RPLIDAR A1M8.

note: actually i already test this program but using hector slam algorithm and arduino can subscribe normally.

im provide some picture.

  1. pict (1) rviz view: https://drive.google.com/file/d/1sL0U...

  2. pict (2) comparation value: https://drive.google.com/file/d/1O_N2...

  3. pict (3) comparation value after restart serial communication using rosrun rosserial_python serial_node.py /dev/ttyUSB0: https://drive.google.com/file/d/1K7OR...

  4. pict (4) serial communication command: https://drive.google.com/file/d/1LeF9...

  5. pict 5) echo /tf: https://drive.google.com/file/d/1TXoZ...

  6. arduino code : https://drive.google.com/file/d/1M0xs...

  7. rostopic info: https://drive.google.com/file/d/1bTA3...

edit retag flag offensive close merge delete

Comments

You will need to provide more information for help. Maybe post the relevant bits of your code?

Akhil Kurup gravatar image Akhil Kurup  ( 2022-01-02 20:27:43 -0500 )edit

hi thanks for your reply, i just provided some picture. you can check it.

frans gravatar image frans  ( 2022-01-02 21:31:09 -0500 )edit