PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.23k stars 13.4k forks source link

Takeoff mode in indoor environment #14595

Open ShubhS28 opened 4 years ago

ShubhS28 commented 4 years ago

I am working to make my pixhawk based multicopters (hexacopter and coaxial octacopter) operate in indoor environment (devoid of GPS) using offboard with ROS. My plan is to automate the entire operation through offboard script, including arming, takeoff, waypoint navigation, and landing.

The arming and waypoint navigation through the offboard script is done, but I also wish to use the Takeoff and Land mode indoors, by calling the takeoff and land services of MAVROS. The problem, however, is that it requires the use of GPS coordinates.

Is there any workaround to use the takeoff and land services without using GPS coordinates?

My reason for using the takeoff service instead of directly giving the takeoff waypoints as local_position_setpoint in local coordinate, as mentioned in MAVROS Offboard example, is that when directly giving local waypoints, the takeoff is not smooth. I have tried several experiments and the takeoff service gives better performance.

bys1123 commented 4 years ago

Here is a flying example: https://www.youtube.com/watch?v=wrqZFTiHyTU It does not need gps, but need to enable VIO. https://docs.px4.io/master/en/advanced_config/tuning_the_ecl_ekf.html#external-vision-system

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.