Skip to content

Pixhawk flight controller, offboard control with no gps (May drift because of wind)

License

Notifications You must be signed in to change notification settings

UeFan/Pixhawk_off-board_control_without_GPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Pixhawk flight controller, offboard control with no gps (May drift because of wind)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published