I am trying to implement a feedback based reference tracking controller for a physical ANAFI drone. I have a motion tracking system which gives the inertial pose of the drone using a ROS based driver. The goal is to compute a correction based on these measurements and issue these commands to the drone in real time.
The issue I am currently facing is that, in order to control ANAFI, the olympe environment needs to be activated using
source ~/code/parrot-groundsdk/./products/olympe/linux/env/shell which appears to be an environment of its own. However, the environment does not recognize ROS, or any ROS functions. Can anyone please suggest how to either:
- Run ROS in an Olympe environment
- Import Olympe functions into the global python environments.
Thank you for your help/ suggestions in advance.