Mikehamer's non-linear controller
Posted: Thu May 11, 2017 4:38 pm
Hello,
I need, for a project I'm working on, to control multiple crazyflies (5), to have them follow given trajectories, etc...
I am currently using ROS with LPS nodes in TDoA mode as tracking systems, but I cannot get a drone to hover with precisions better than +-50cm, and it is even worse when the setpoint moves (naive trajectory implementation).
I saw that mikehamer made a quaternion based controller which seems very great and appropriate to do so.
The problem is that I don't get how to make it work.
* Is the quaternion controller compatible with mgreiff trajectory generation tool ?
* Is the current code (new-controller firmware) compatible with TDoA, and if so, what flags should be used at compile-time
* Is there an example ROS launch (or best, a repository) file I could use in order to have one drone hovering at a given position using this controller ? On the firmware issue about the new controller, this code https://gist.github.com/mikehamer/1d3e7 ... 2804dcdba5 is given, but I don't get what ROS nodes should be run with it.
Thanks for your help
I need, for a project I'm working on, to control multiple crazyflies (5), to have them follow given trajectories, etc...
I am currently using ROS with LPS nodes in TDoA mode as tracking systems, but I cannot get a drone to hover with precisions better than +-50cm, and it is even worse when the setpoint moves (naive trajectory implementation).
I saw that mikehamer made a quaternion based controller which seems very great and appropriate to do so.
The problem is that I don't get how to make it work.
* Is the quaternion controller compatible with mgreiff trajectory generation tool ?
* Is the current code (new-controller firmware) compatible with TDoA, and if so, what flags should be used at compile-time
* Is there an example ROS launch (or best, a repository) file I could use in order to have one drone hovering at a given position using this controller ? On the firmware issue about the new controller, this code https://gist.github.com/mikehamer/1d3e7 ... 2804dcdba5 is given, but I don't get what ROS nodes should be run with it.
Thanks for your help