---
title: Install micro-ros-agent on Fedora using the Snap Store | Snapcraft
description: Get the latest version of micro-ros-agent for on Fedora - Bridge between
  micro-ROS applications and ROS 2
url: https://snapcraft.io/install/micro-ros-agent/fedora
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install micro-ros-agent on **Fedora**

# micro-ros-agent

[eProsima](https://snapcraft.io/publisher/eprosima "View all snaps from eProsima")

* [eProsima](https://snapcraft.io/publisher/eprosima "View all snaps from eProsima")
* [Development](https://snapcraft.io/search?categories=development)
* [Devices and IoT](https://snapcraft.io/search?categories=devices-and-iot)

[Install](https://snapcraft.io/install/micro-ros-agent/fedora#install)

#### Bridge between micro-ROS applications and ROS 2

Micro-ROS, whose default implementation is based on eProsima's
Micro XRCE-DDS middleware, is composed of client applications
which interact with the ROS 2 world by means of an Agent.
This agent keeps tracks of the entities created by means of
requests performed on the microcontroller side, and uses them
to communicate with the ROS 2 dataspace.

Being an extension of the Micro XRCE-DDS Agent, the micro-ROS
agent supports being run by the user like this:

```
   $ micro-ros-agent --help
```

In addition, the Agent supports running as a service that can be
enabled with:

```
   $ snap set micro-ros-agent daemon=true
```

If the service is enabled, by default it uses the `udp4` transport on
port 8888. The following parameters can be changed (these are
specific to the service, the `micro-ros-agent` command simply
takes command-line arguments, but the capabilities are the same):

* `transport`. Supported transports are `udp4`, `udp6`, `tcp4`,
  `tcp6`, `serial`, and `pseudoterminal`. Default is `udp4`. Change
  with:

  ```
   $ snap set micro-ros-agent transport="new transport"
  ```
* `middleware`. Supported kinds of middleware are `ced`, `rtps`, and
  `dds`. Default is `dds`. Change with:

  ```
   $ snap set micro-ros-agent middleware="new middleware"
  ```
* `verbosity`. Supported verbosity levels are 0-6, defaulting to 4.
  Change with:

  ```
   $ snap set micro-ros-agent verbosity="selected verbosity"
  ```
* `discovery`. Enable or disable the discovery server. Defaults to
  "false". Change with:

  ```
   $ snap set micro-ros-agent discovery="true or false"
  ```
* `discovery-port`. Port on which the discovery server (see above)
  listens. Defaults to 7400. Change with:

  ```
   $ snap set micro-ros-agent discovery-port="selected port"
  ```
* `p2p-port`. Port to use for the P2P profile. Change with:

  ```
   $ snap set micro-ros-agent p2p-port="selected port"
  ```
* `port`. Port on which the agent listens. Only applicable to one of
  the UDP or TCP transports (see above). Defaults to 8888. Change with:

  ```
   $ snap set micro-ros-agent port="selected port"
  ```
* `baudrate`. Baud rate to use when accessing serial ports. Only
  applicable when using the `serial` or `pseudoterminal` transport.
  Defaults to 115200. Change with:

  ```
   $ snap set micro-ros-agent baudrate="baud rate"
  ```
* `device`. The serial device to use. Only applicable when using the
  `serial` or `pseudoterminal` transport. Change with:

  ```
   $ snap set micro-ros-agent device="device path"
  ```

When using the snap with a serial device, some steps need to be taken
in order to establish a successful connection:

* Refresh your local installation of the snap `core` package:

  ```
   $ sudo snap refresh core --edge
  ```
* Enable the hotplug feature and restart the `snapd` daemon:

  ```
   $ sudo snap set core experimental.hotplug=true
   $ sudo systemctl restart snapd
  ```
* After plugging the microcontroller to the serial port, execute
  the `snap interface serial-port` command. You should see something
  like this:

  ```
     name:    serial-port
     summary: allows accessing a specific serial port
     plugs:
       - micro-ros-agent
     slots:
     - snapd:cp2102cp2109uartbrid (allows accessing a specific serial port)
  ```
* Connect your snap image to the desired serial port (replace accordingly):

  ```
   $ snap connect micro-ros-agent:serial-port snapd:cp2102cp2109uartbrid
  ```

After this, you can execute your snap as usual,
using `micro-ros-agent serial -d <serial-dev>`.

### Package name

* micro-ros-agent

---

### License

* Apache-2.0

---

### Last updated

* 9 June 2022 - latest/stable
* 20 January 2023 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/micro-ros-agent/fedora#report-snap-modal)

---

## Enable snaps on Fedora and install micro-ros-agent

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap can be installed on Fedora from the command line:

```
sudo dnf install snapd
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

To enable *classic* snap support, enter the following to create a symbolic link between `/var/lib/snapd/snap` and `/snap`:

```
sudo ln -s /var/lib/snapd/snap /snap
```

### Install micro-ros-agent

To install micro-ros-agent, simply use the following command:

```
sudo snap install micro-ros-agent
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/micro-ros-agent/fedora)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/micro-ros-agent/fedora)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
