pico_micro_ros_example is not running on Raspberri pi pico with micro-ros

asked 2022-05-09 11:17:08 -0500

Ros_creator gravatar image

I followed the guide in the link below to get "micro ros" to work on "raspberry pi pico".

https://ubuntu.com/blog/getting-start...

The environment I work in is a PC (Ubuntu 20.04, ros2 foxy), and the pico is connected via usb.

Finally, it seems to have worked, but communication via Ros2 foxy failed.

I entered the command as below.

ubuntu@ubuntu-System-Product-Name:~/micro_ros_ws/src/micro_ros_raspberrypi_pico_sdk/build$ sudo micro-ros-agent serial --dev /dev/ttyACM0 baudrate=115200

This resulted in the following

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) [1652110882.207024] info | TermiosAgentLinux.cpp | init | running... | fd: 4

ubuntu@ubuntu-System-Product-Name:~$ ros2 topic echo /pico_publisher

WARNING: topic [/pico_publisher] does not appear to be published yet Could not determine the type for the passed topic

Topic list is also not searched. Can you tell me how to approach it?

edit retag flag offensive close merge delete