Random Robo Smith
Published

Using micro-ROS on the Raspberry Pi Pico

Raspberry Pi Pico can communicate with a ROS2 graph natively via micro-ROS... with ROS2 development using VSCode

IntermediateFull instructions provided2 hours6,011
Using micro-ROS on the Raspberry Pi Pico

Things used in this project

Story

Read more

Code

Code snippet #5

Plain text
{
    "cmake.configureEnvironment": {
        "PICO_SDK_PATH": "/home/$USER/micro_ros_ws/src/pico-sdk",
    },
}

Code snippet #11

Plain text
$ snap interface serial-port
name:    serial-port
summary: allows accessing a specific serial port
plugs:
  - micro-ros-agent
slots:
  - snapd:pico (allows accessing a specific serial port)

Code snippet #14

Plain text
$ source /opt/ros/dashing/setup.bash
$ ros2 topic echo /pico_publisher
data: 41
---
data: 42
---

Credits

Random Robo Smith

Random Robo Smith

93 projects • 58 followers
Electronic Enthusiast I do Projects, Tutorials, Reviews and more...
Thanks to Kamaluddin Khan.

Comments