Jetson Board and Pixhawk 4 Setting

Jetson Setting

Install MAVROS

Your OS version >= Ubuntu 18.04

| Install MAVROS Melodic

1
sudo apt-get install ros-melodic-mavros ros-melodic-mavros-extras
1
2
3
4
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin init
wstool init src
1
sudo apt-get install python-catkin-tools python-rosinstall-generator -y
1
wstool init ~/catkin_ws/src

| Install MAVLink Melodic

1
rosinstall_generator --rosdistro melodic mavlink | tee /tmp/mavros.rosinstall
1
rosinstall_generator --upstream mavros | tee -a /tmp/mavros.rosinstall
1
2
3
wstool merge -t src /tmp/mavros.rosinstall
wstool update -t src -j4
rosdep install --from-paths src --ignore-src -y
1
./src/mavros/mavros/scripts/install_geographiclib_datasets.sh
1
catkin build
1
source devel/setup.bash

Your OS version < Ubuntu 18.04

| Install MAVROS Kinetic

1
sudo apt-get install ros-kinetic-mavros ros-kinetic-mavros-extras
1
2
3
4
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin init
wstool init src
1
sudo apt-get install python-catkin-tools python-rosinstall-generator -y
1
wstool init ~/catkin_ws/src

| Install MAVLink Melodic

1
rosinstall_generator --rosdistro kinetic mavlink | tee /tmp/mavros.rosinstall
1
rosinstall_generator --upstream mavros | tee -a /tmp/mavros.rosinstall
1
2
3
wstool merge -t src /tmp/mavros.rosinstall
wstool update -t src -j4
rosdep install --from-paths src --ignore-src -y
1
./src/mavros/mavros/scripts/install_geographiclib_datasets.sh
1
catkin build
1
source devel/setup.bash

Jetson Board and Pixhawk 4 Setting

https://cpprhtn.github.io/2021/06/13/jetson-px4/

Author

cpprhtn

Posted on

2021-06-13

Updated on

2022-03-10

Licensed under