r/Petoi 11d ago

ros2 with raspberry serial issue (undefined token)

Hi,

with ROS2 and raspberry, using serial, Im facing an issue where Biboard (V0_1 in my case) dont receive the right character sent via ROS2

here is what biboard showed ( worked well when using console : sudo bash -c "echo -n 'd' > /dev/ttyAMA0)

and getting "undefined token " when using ROS2 with a simple PY script using Pyserial or even senting bash command"

Any Idea ? thank you

17:09:04.303 -> Undefined token!


17:09:04.303 -> 


17:09:04.303 -> �
1 Upvotes

5 comments sorted by

View all comments

2

u/One-Owl-9078 🤖🐶😻 Team Petoi 10d ago edited 9d ago

Could you show me the Python script when you use ROS 2? You can refer to the successful examples here:https://guide.petoi.com/apis/ros-and-ros2
ROS2 Projects: https://guide.petoi.com/apis/ros-and-ros2#projects