Working in Jetson Nano
Pixhawk connects with Jetson Nano through the ttyACM0 and ttyUSB0.
However, when launch roslaunch px4.launch (over ttyACM0), there is problem of permission. Therefore, we need to do
sudo chmod 777 /dev/ttyACM0
Then everything is ok
Becareful with the key when install ros in jetson nano. May be need to delete and install new key by
sudo apt-key del ....
sudo -E apt-key adv --keyserver ' .....' --recv-key .....
then need to do update
sudo apt clean && sudo apt update
For installing and compile mavlink
sudo pip install lxml future
install geographics-msgs
sudo -H apt-get install -y ros-melodic-geographics-msgs
Install geographiclib
wget ....install_geographiclib_datasets.sh
sudo chmod 777 install_geographiclib_datasets.sh
sudo ./install_geographiclib_datasets.sh
install libgeographic-dev
sudo apt-get install libgeographic-dev
Note that when compile mavros, it take time and computer resources, so may need to specify the processor core for that purpose, to avoid stuck.
Mavlink and mavros folder containning modifications corresponding to custom messages are copied from the auv7530 to jetson nano, then compile and work properly.
After install opencv, cuda, i3s vision sensor, cutecom, mavlink, mavros .... in 64 GB microSD card, there is 25GB available.
Last updated
Was this helpful?