Lesson 19 – Installing ROS Serial Arduino Environment in Jetson Nano

preview_player
Показать описание
In this lesson I will show you step by step systematic way of configuring ROS-Serial for Arduino in Jetson Nano.

Step 1:
sudo apt-get update
sudo apt-get install arduino arduino-core
Step2: Installing ROS-Serial Binaries for Arduino in Jetson Nano
After installing the Arduino IDE, the next step is installing the package that allows communication between ROS and the serial port of the Arduino board. The package is called rosserial_arduino and allows the node that will run on the Arduino to publish or subscribe to the nodes running on Jetson Nano.
The rosserial package contains three other packages: rosserial_msgs, rosserial_client, and rosserial_python.
Step 3: We will use these commands to install necessary libraries.
sudo apt-get install ros-melodic-rosserial-arduino
sudo apt-get install ros-melodic-rosserial

Step 4: After installing the Arduino IDE we need to provide Administrator privileges to Jetson Nano to access the Arduino Permission Checker.

sudo usermod -a -G dialout anbu
arduino

Step 5: Now we will create the ros_lib folder so that our Arduino environment will enable Arduino programs, typically C or C++ to interact with ROS
cd sketchbook/libraries
rm -rf ros_lib
Рекомендации по теме
Комментарии
Автор

Thanks a lot for making these videos. This series is helpful a lot for undergrad students who can't afford pricey courses. Also, this series shows the whole process, which is amazing since there are not many opensource videos in the robotics field.

hareshara
Автор

Hello Anbu, why do you need to connect Arduino to Jetson Nano? Because you showed PCA9685 for motor controlling. Can we make robot by using only Jetson Nano + PCA9685? Or can we connect lidar, camera etc. directly on top of Jetson Nano, can't we? What's the logic behind using Arduino connection to Jetson Nano?

serhatakcay
Автор

Hello! Thank you very much for your super tutorial!
One question, I see two ros_lib, one in the sketch folder and another in the arduino/library folder. Can I delete the sketch folder?
thank you

Fogaca
Автор

It is showing unable to locate package ros-melodic-rosserial-arduino . what is the reason

jinojoy
Автор

should we remove the library even while using ubuntu booted in raspberry pi

keshikashankar
Автор

Sir it's showing "unable to locate HELP SIR

etcauroshreeanuvabraj
Автор

Hello,
What folders did you download ros and arduino in? The path for my ros is /opt/ros. I followed the commands you showed in the same manner you did and cannot seem to run the arduino command as it is not in my bash.

christianvaldes
Автор

Hello I was following the steps however when I entered cd sketchbook/libraries is says no such file or directory. And when I try and look for the sketchbook file I can’t find it.

waterbottle
Автор

Sir i followed all your steps properly but serial port is not detected

mrelectronrock
Автор

Hello sir, It seem when installing I was install ros and typing ros-melodic-rosserial-arduino it gives me the error of "Unable to locate package please help

sylvesterthethird
Автор

Hello Anbu, is there a different approach to add a 3rd party library to "core" Arduino IDE ? to be more specific I wanted to install dynamixel2arduino, dynamixel Shield libraries; I copied both libraries in the libraries folder and when I compile I get the error saying "library not found". any info would be helpful. thanks in advance.

vamsimolugu
Автор

hello sir i am running this cmd sudo usermod -a -G dialout anbu but after that i run arduino it still ask me to add adruino to dialout group and after that ardunio opens show ros _lib in examples but don't allows me to upload the code though serial port

syedhuzaifaali
Автор

Sir, are you using Jetson nano 4gb or 2gb?

finnyphilipbiju
Автор

Hello sir
After the sudo user mod -a -G dialout [username]
arduino
after this also I am getting the error the error message is below
bash: arduino: command not found

bindusagarmg
visit shbcf.ru