Ask Your Question

Micro-Ros: Package 'micro_ros_agent' not found

asked 2021-07-13 03:33:51 -0600

irsyadtc gravatar image

I am trying to install micro-ROS through the steps provided in this link: However, when I tried to run Micro-ROS Agent node

ros2 run micro_ros_agent micro_ros_agent udp4 --port 8888

it gives:

Package 'micro_ros_agent' not found

I believe that the command line (below) supposed to create micro_ros_agent package

ros2 run micro_ros_setup

but since I have run it previously, it replied:

Repo-file ros2.repos already present, overwriting! ....

=== ./eProsima/Micro-XRCE-DDS-Agent (git) ===

Already on 'foxy' Your branch is behind 'origin/foxy' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch)

=== ./uros/drive_base (git) ===

Already on 'master' Your branch is up to date with 'origin/master'.

=== ./uros/micro-ROS-Agent (git) ===

Already on 'foxy' Your branch is up to date with 'origin/foxy'.

=== ./uros/micro_ros_msgs (git) ===

Already on 'foxy' Your branch is up to date with 'origin/foxy'.

All required rosdeps installed successfully

Could any one point out where is micro_ros_agent package located?


Workspace microros_ws is overlay from workspace ros2_foxy.

PC details:

OS: Ubuntu 20

ROS Distro: ROS2 Foxy

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-13 04:13:12 -0600

Pablogs gravatar image

Make sure that you do:

ros2 run micro_ros_setup

ros2 run micro_ros_setup

source install/local_setup.bash

before trying to run the micro-ROS agent.

edit flag offensive delete link more


Thanks @Pablogs, I somehow missed out "ros2 run micro_ros_setup"

irsyadtc gravatar image irsyadtc  ( 2021-07-13 04:35:25 -0600 )edit

@irsyadtc if this is correct, please check the checkmark next to the answer. Thanks.

mgruhler gravatar image mgruhler  ( 2021-07-13 04:52:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-07-13 03:33:51 -0600

Seen: 88 times

Last updated: Jul 13 '21