Skip to content

Latest commit

 

History

History
executable file
·
48 lines (31 loc) · 1.28 KB

File metadata and controls

executable file
·
48 lines (31 loc) · 1.28 KB

Pixhawk_off-board_control_without_GPS

Offboard control using ROS and MAVROS for PX4.

The initial implementation is taken from the MAVROS offboard control example.

To control the drone in a indoor environment without GPS, we pushlish the topic that controls the velocity of the drone. We also add a joystick/keyboard interface to simulate the real drone controller.

This project is created for our drone team in SDU, we took part in RoboWork Competition for several years. !!! Please note that due to the accumulated error, the drone can easily drift around, which is hard to control.

Usage

Outline: First, create a new catkin_workspace or use a exist catkin_ws. Then, copy px4_velocity_control_with_no_GPS folder in to "catkin_ws/src", as a package. Make catkin workspace. Finally, run with roslaunch.

Dependencies

Building

cd catkin_ws
catkin_make

Running

Start MAVROS:

roslaunch mavros px4.launch fcu_url:="(your device)"

And run:

roslaunch offb offb.launch