{"id":19963300,"url":"https://github.com/advrhumanoids/nicla_vision_ros","last_synced_at":"2025-05-03T22:32:05.624Z","repository":{"id":242362659,"uuid":"791215348","full_name":"ADVRHumanoids/nicla_vision_ros","owner":"ADVRHumanoids","description":"A ROS package for the Arduino Nicla Vision board","archived":false,"fork":false,"pushed_at":"2024-09-16T13:52:06.000Z","size":1472,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-16T16:18:48.924Z","etag":null,"topics":["arduino","gazebo","micropython","nicla-vision","ros","sensors-data-collection"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ADVRHumanoids.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-24T09:56:43.000Z","updated_at":"2024-09-16T13:52:09.000Z","dependencies_parsed_at":"2024-09-16T16:16:18.745Z","dependency_job_id":null,"html_url":"https://github.com/ADVRHumanoids/nicla_vision_ros","commit_stats":null,"previous_names":["advrhumanoids/nicla_vision_ros"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2Fnicla_vision_ros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2Fnicla_vision_ros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2Fnicla_vision_ros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADVRHumanoids%2Fnicla_vision_ros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ADVRHumanoids","download_url":"https://codeload.github.com/ADVRHumanoids/nicla_vision_ros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224374650,"owners_count":17300691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","gazebo","micropython","nicla-vision","ros","sensors-data-collection"],"created_at":"2024-11-13T02:15:31.878Z","updated_at":"2025-05-03T22:32:05.615Z","avatar_url":"https://github.com/ADVRHumanoids.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nicla Vision ROS package \n:rocket: Check out the ROS2 version: [Nicla Vision ROS2 repository](https://github.com/ADVRHumanoids/nicla_vision_ros2.git) :rocket:\n\n[![Build Status](https://build.ros.org/buildStatus/icon?job=Ndev__nicla_vision_ros__ubuntu_focal_amd64\u0026subject=Noetic%20Build)](https://build.ros.org/job/Ndev__nicla_vision_ros__ubuntu_focal_amd64/)\n\n![Alt Text](assets/Nicla_ROSpkg_Architecture.png)\n\n-------------------\n\n## Description\n\nThis ROS package enables the [Arduino Nicla Vision](https://docs.arduino.cc/hardware/nicla-vision/) board to be ready-to-use in the ROS world! :boom:\n\nThe 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 \n\nHere a list of the available sensors with their respective ROS topics:\n- **2MP color camera** streams on\n    - `/nicla/camera/camera_info` \n    - `/nicla/camera/image_raw`\n    - `/nicla/camera/image_raw/compressed` \n- **Time-of-Flight (distance) sensor** streams on:\n    - `/nicla/tof`\n- **Microphone** streams on:\n    - `/nicla/audio` \n    - `/nicla/audio_info`\n    - `/nicla/audio_stamped`\n    - `/nicla/audio_recognized`\n- **Imu** streams on:\n    - `/nicla/imu`\n\nThe 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. \nIn this repository you can find the Python code optimised for receiving the data by the board, and subsequently publishing it through ROS topics.\n\n## Table of Contents \n1. [Installation](#installation)\n2. [Usage](#usage)\n3. [Package List](#package-list)\n4. [Video](#video-demonstration)\n5. [License](#license)\n6. [Cite](#citation)\n   \n-------------------\n\n# Installation\nStep-by-step instructions on how to get the ROS package running\n\nBinaries available for `noetic`:   \n`sudo apt install ros-$ROS_DISTRO-nicla-vision-ros`  \nFor ROS2, check https://github.com/ADVRHumanoids/nicla_vision_ros2.git\n\n### Source installation\nUsual `catkin` build :\n```bash\n$ cd \u003cyour_workpace\u003e/src\n$ git clone https://github.com/ADVRHumanoids/nicla_vision_ros.git\n$ cd \u003cyour_workpace\u003e\n$ catkin build\n$ source \u003cyour_workpace\u003e/devel/setup.bash\n```\n\n## Arduino Nicla Vision setup\nAfter having completed the setup steps in the [Nicla Vision Drivers repository](https://github.com/ADVRHumanoids/nicla_vision_drivers.git), just turn on your Arduino Nicla Vision. \nWhen you power on your Arduino Nicla Vision, it will automatically connect to the network and it will start streaming to your ROS-running machine.\n\n## Optional Audio Recognition with VOSK\nIt 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](https://alphacephei.com/vosk/) is utilized. Only Arduino version is supported.\n#### VOSK setup\n1. ```pip install vosk```\n2. Download a VOSK model https://alphacephei.com/vosk/models\n3. Check the `recognition` arguments in the ```nicla_receiver.launch``` file\n\n\n# Usage \nFollow the below steps for enjoying your Arduino Nicla Vision board with ROS!\n\n## Run the ROS package\n-  Launch the package:\n    ```bash\n    $ roslaunch nicla_vision_ros nicla_receiver.launch receiver_ip:=\"x.x.x.x\" connection_type:=\"tcp/udp\" \u003coptional arguments\u003e\n    ```\n    - Set the `receiver_ip` with the IP address of your ROS-running machine.\n        You can get this IP address by executing the following command:\n        ```bash\n        $ ifconfig\n        ```\n        and taking the \"inet\" address under the \"enp\" voice.\n    - Set the socket type to be used, either TCP or UDP (`connection_type:=\"tcp\"` or `\"udp\"`).\n    \n    Furthermore, using the `\u003coptional arguments\u003e`, you can decide:\n    - which sensor to be streamed in ROS\n\n      (e.g. `enable_imu:=true enable_range:=true enable_audio:=true enable_audio_stamped:=false enable_camera_compressed:=true enable_camera_raw:=true`), and\n    - on which socket port (default `receiver_port:=8002`).\n\n    Once you run it, you will be ready for receiving the sensors data\n\n## Simulated board \n- For simulating the Arduino Nicla Vision in Gazebo and Rviz:\n     ```bash\n    $ roslaunch nicla_vision_ros nicla_sim.launch \u003coptional arguments\u003e\n    ```\n    Using the `\u003coptional arguments\u003e`, you can decide if to run the simulation in Gazebo or in Rviz, and which sensor to simulate (everything set to true as default).\n  ![Alt Text](assets/nicla_rviz.jpg)\n    \n\n## Optional Micropython Version\n**Note** this version is not supported and maintained anymore, we defitively moved to the Arduino version.  \n\nIf 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.\n\n# Video Demonstration\n\nhttps://github.com/ADVRHumanoids/nicla_vision_ros/assets/26459008/a3eaf921-02ea-4482-80a0-5830a338eb74\n\n\u003c!-- Raw video: https://github.com/ADVRHumanoids/nicla_vision_ros/assets/63496571/699b265c-3f6a-4a9d-8d6c-fccf6bd39227 --\u003e\n\n# Package List\nHere some useful links:\n\n- [Nicla Vision Drivers repository](https://github.com/ADVRHumanoids/nicla_vision_drivers.git)\n- [Nicla Vision ROS repository](https://github.com/ADVRHumanoids/nicla_vision_ros.git)\n- [Nicla Vision ROS2 repository](https://github.com/ADVRHumanoids/nicla_vision_ros2.git)\n\n# License\nDistributed under the Apache-2.0 License. See LICENSE for more information.\n\n# ROSCon24 Talk\nhttps://vimeo.com/1026030054\n\n# Citation \n:raised_hands: If you use this work or take inspiration from it, please cite (to be published):\n```bibtex\n@inproceedings {DelBianco2024,\n  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.},\n  booktitle={2024 IEEE-RAS 23rd International Conference on Humanoid Robots (Humanoids)}, \n  title = {A High-Force Gripper with Embedded Multimodal Sensing for Powerful and Perception Driven Grasping},\n  year={2024},\n  volume={},\n  number={},\n  pages={},\n  doi={}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadvrhumanoids%2Fnicla_vision_ros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadvrhumanoids%2Fnicla_vision_ros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadvrhumanoids%2Fnicla_vision_ros/lists"}