I succeed to create a guidance::TrajectoryFcamMode class in C++ with the help of this post (Write a Guidance Mode in C++ - #4 by e267), but I’m not sure I call the right function at the right moment. Right now, I can see a trajectory draw in the simulator, but these message appear and the drone don’t move :
01-01 01:00:58.470 W dronectrl (drone-controlle-153) : Message 'DroneController.Messages.Command' is too late: 2226 (2931)
01-01 01:00:58.470 W dronectrl (drone-controlle-153) : Message 'DroneController.Messages.Command' is too late: 2226 (2931)
01-01 01:00:58.470 W dronectrl (drone-controlle-153) : Message 'DroneController.Messages.Command' is too late: 2226 (2931)
I fixed it by removing the override the getTriggers function. I may didn’t fill it the right way. Don’t know how to fill it … Waiting for an example please.