Kamaluddin Khan
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 hours5,130
Using micro-ROS on the Raspberry Pi Pico

Things used in this project

Hardware components

Pico Board With Soldered Header
SB Components Pico Board With Soldered Header
×1

Software apps and online services

Robot Operating System
ROS Robot Operating System
VS Code
Microsoft VS Code

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

Kamaluddin Khan

Kamaluddin Khan

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

Comments