Skip to content

Snap not connecting, Docker works though. #130

Description

@madgrizzle

Issue template

  • Hardware description: Badger2040 (pico with e-ink display) and ROS2 galactic on host
  • RTOS: ?none?
  • Installation type: latest/stable from snap
  • Version or commit hash: galactic, snapID: Rfmoo8EkRPvm6YoW8SyIzchrKCttYfND

Steps to reproduce the issue

  1. build and upload uf2 from micro_ros_raspberrypi_pico_sdk to pico.
  2. install micro-ros-agent snap following directions
  3. execute: micro-ros-agent serial --dev /dev/ttyACM0 baudrate=115200 -v6

Expected behavior

pico connects to micro-ros-agent

Actual behavior

pico hangs on rmw_uros_ping_agent and times-out

Additional information

I can get a connection using docker
sudo docker run -it --rm --net=host -v /dev:/dev -v /dev/shm:/dev/shm --privileged microros/micro-ros-agent:galactic serial --dev /dev/ttyACM0 -v6

but when I run the snap, it sits hanging when the pico reaches the ping and eventually times out.

Is docker the only solution for galactic? If so, how do I change the ROS_DOMAIN_ID of the docker as it seems to run on 0 by default. I tried -e ROS_DOMAIN_ID=1 (which is what I use) and it didn't work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions