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
|
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
|