Skip to content

Software

nicla_vision_ros2

By ADVR Humanoids, from github.com/ADVRHumanoids/nicla_vision_ros2 (opens in a new tab)

  • Perception
  • Driver or SDK
  • Apache-2.0

A ROS 2 package that receives sensor data streamed from an Arduino Nicla Vision board and republishes it as ROS topics. It is aimed at using the board inside ROS 2 systems.

  • Stale. No commit in 12 months: the newest is from 12 Nov 2025.

Facts

GitHub stars
14read on 28 Nov 2026
Last update
12 Nov 2025Newest commit on master
Maintenance
Staleno commit in 12 months
Difficulty
Beginner
Hardware it needs, as the project states it
Arduino Nicla Vision board, and a ROS-running machine on the same network (or connected by serial).

Checked on GitHub on 28 Nov 2026.

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 846c5ae (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Receives data from the Nicla Vision board over TCP, UDP, or serial connection, selected by launch parameters.
  • Publishes color camera images (raw and compressed) with camera info on ROS topics.
  • Publishes time-of-flight distance readings, microphone audio, and IMU data on ROS topics.
  • Individual sensors can be enabled or disabled through launch arguments.
  • Includes a Gazebo and Rviz simulation of the board.
  • Optionally runs offline speech recognition on the board with VOSK and publishes recognized words.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
Apache-2.0. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Stale, last commit on 12 Nov 2025.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 846c5ae

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by ADVR Humanoids, at commit 846c5ae, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

:rocket: Nicla Vision ROS2 package :rocket:

A ROS2 interface for the Arduino Nicla Vision board

Image: Build Status (opens in a new tab) (opens in a new tab) Image: Build Status (opens in a new tab) (opens in a new tab)

Alt Text


Description

This ROS package enables the Arduino Nicla Vision (opens in a new tab) board to be ready-to-use in the ROS world! :boom:

The implemented architecture is described in the above image: the Arduino Nicla Vision board streams the sensors data to a ROS-running machine through TCP/UDP socket. This package will be running on the ROS-running machine, allowing to deserialize the received info, and stream it in the corresponding ROS topics

Here a list of the available sensors with their respective ROS topics:

  • 2MP color camera streams on
    • /nicla/camera/camera_info
    • /nicla/camera/image_raw
    • /nicla/camera/image_raw/compressed
  • Time-of-Flight (distance) sensor streams on:
    • /nicla/tof
  • Microphone streams on:
    • /nicla/audio
    • /nicla/audio_info
    • /nicla/audio_stamped
  • Imu streams on:
    • /nicla/imu

The user can easily configure this package, by launch parameters, to receive sensors data via either UDP or TCP socket connections, specifying also the socket IP address. Moreover, the user can decide which sensor to be streamed within the ROS environment. In this repository you can find the Python code optimised for receiving the data by the board, and subsequently publishing it through ROS topics.

Table of Contents
  1. Installation
  2. Usage
  3. Package List
  4. Video
  5. License
  6. Cite

Installation

Step-by-step instructions on how to get the ROS package running

Binaries available for humble and jazzy:
sudo apt install ros-$ROS_DISTRO-nicla-vision-ros
For ROS1, check https://github.com/ADVRHumanoids/nicla_vision_ros.git (opens in a new tab)

Source installation

Usual colcon build:

$ cd <your_workpace>/src
$ git clone https://github.com/ADVRHumanoids/nicla_vision_ros2.git
$ cd <your_workpace>
$ colcon build
$ source <your_workpace>/devel/setup.bash
Arduino Nicla Vision setup

After having completed the setup steps in the Nicla Vision Drivers repository (opens in a new tab), just turn on your Arduino Nicla Vision. When you power on your Arduino Nicla Vision, it will automatically connect to the network and it will start streaming to your ROS-running machine.

Optional Audio Recognition with VOSK

It is possible to run a speech recognition feature directly on this module, that will then publish the recognized words on the /nicla/audio_recognized topic. At the moment, VOSK (opens in a new tab) is utilized. Only Arduino version is supported.

VOSK setup
  1. pip install vosk
  2. Download a VOSK model https://alphacephei.com/vosk/models (opens in a new tab)
  3. Check the recognition arguments in the nicla_receiver.launch file
Note

We rely on the audio_common_msgs (opens in a new tab) for the microphone data. Nevertheless, such package is not available as binary for ros2 yet. Hence, for now, we have copy-pasted the messages in this repo itself.

Usage

Follow the below steps for enjoying your Arduino Nicla Vision board with ROS2!

Run the ROS2 package
  • Launch the package:

    $ ros2 launch nicla_vision_ros2 nicla_receiver.launch receiver_ip:="x.x.x.x" connection_type:="tcp/udp/serial" <optional arguments>
    
    • Set the socket type to be used, TCP, UDP, or Serial (connection_type:=tcp, udp, or serial).

    • Set the receiver_ip with the IP address of your ROS-running machine. You can get this IP address by executing the following command:

      $ ifconfig
      

      and taking the "inet" address under the "enp" voice.

    Furthermore, using the <optional arguments>, you can decide:

    • which sensor to be streamed in ROS2 e.g. enable_imu:=true enable_range:=true enable_audio:=true enable_audio_stamped:=false enable_camera_compressed:=true enable_camera_raw:=true

    • with Serial connection, set camera_receive_compressed according to how nicla is sending images (COMPRESS_IMAGE)

    • on which socket port (default receiver_port:=8002). For Serial connection, receiver_port argument is used to specify the port used by the board e.g. receiver_port:=/dev/ttyACM0

    • on which socket port (default receiver_port:=8002).

    Once you run it, you will be ready for receiving the sensors data

Simulated board
  • For simulating the Arduino Nicla Vision in Gazebo and Rviz:
    $ ros2 launch nicla_vision_ros2 nicla_sim.launch.py <optional arguments>
    
    Using the <optional arguments>, you can decide if to run the simulation in Gazebo or in Rviz, and which sensor to simulate (everything set to true as default).

Alt Text

Optional Micropython Version

Note this version is not supported and maintained anymore, we defitively moved to the Arduino version.

If you want to use the micropython driver of the nicla (after setup it accordingly), simply run the nicla_receiver.launch with driver_version:=micropython as argument.

Video Demonstration

https://github.com/ADVRHumanoids/nicla_vision_ros/assets/26459008/a3eaf921-02ea-4482-80a0-5830a338eb74 (opens in a new tab)

Package List

Here some useful links:

License

Distributed under the Apache-2.0 License. See LICENSE for more information.

ROSCon24 Talk

Citation

:raised_hands: If you use this work or take inspiration from it, please cite:

@inproceedings {DelBianco2024,
  author = {Del Bianco, Edoardo and Torielli, Davide and Rollo, Federico and Gasperini, Damiano and Laurenzi, Arturo and Baccelliere, Lorenzo and Muratore, Luca and Roveri, Marco and Tsagarakis, Nikos G.},
  booktitle={2024 IEEE-RAS 23rd International Conference on Humanoid Robots (Humanoids)}, 
  title = {A High-Force Gripper with Embedded Multimodal Sensing for Powerful and Perception Driven Grasping},
  year={2024},
  volume={},
  number={},
  pages={149-156},
  doi={10.1109/Humanoids58906.2024.10769951}
}

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.