uzh-rpg / agile_flight

Developing and Comparing Vision-based Algorithms for Vision-based Agile Flight
MIT License
152 stars 55 forks source link

Choice of control modality in python #23

Open marleyshan21 opened 2 years ago

marleyshan21 commented 2 years ago

Hello! Is there a way to change the control modality in python? We are interested it without ROS as done here https://github.com/uzh-rpg/agile_flight/blob/main/envtest/ros/user_code.py Is there a way to do this?

yun-long commented 2 years ago

hi, we only support one control modality in python, which is body rate control.

If you want to use a different control modality, such as velocity control or single rotor thrust control , you have to change the source code.

marleyshan21 commented 2 years ago

Hi @yun-long , Could you just guide me to the part of the code where this addition could be done or where the body rate control has been done. It'd be helpful!