Skip to content

bing0037/mavros

 
 

How to use

  1. Read master branch's README.md(options)
  2. sudo apt-get install python-catkin-tools python-rosinstall-generator -y

How to build

mkdir mavros_ws/src
cd mavros_ws
catkin init
cd src
git clone https://github.com/SIA-UAVGP/mavros.git
cd mavros
git checkout uavcomp
cd ..
git clone https://github.com/SIA-UAVGP/mavlink-kinetic mavlink
cd mavlink
git checkout master
cd ../..
catkin build mavros

How to connect to pixhawk

Read px4's doc

roslaunch mavros px4.launch

Press safety switch here!

rosrun mavros mavsafety arm
rosrun mavros offb_node

Simulating with gazebo

make posix_sitl_default gazebo
roslaunch mavros px4.launch fcu_url:="udp://:[email protected]:14557"

Get the topic's messages

rqt_graph
rosrun rqt_topic rqt_topic

Packages

No packages published

Languages

  • C++ 76.9%
  • Python 19.3%
  • CMake 3.3%
  • EmberScript 0.5%