Currently am working on some project with APM Planner and Linux, and I would like to add some waypoints for my mission. I know that there is a way to add a waypoint directly through AMP Planner, but I would like to know where those waypoints are stored. I think they are in some of these files named waypoint, list etc.
Thank you on your replay. I am very grateful to you. But, maybe I was not clear about what I am trying to accomplish. I know for that way of adding waypoints. But I am trying to add it trough cc file which can be found on github repository. I would like somehow to generate those points trough file not to add them double clicking the mouse.
If you can answer me this I would be very grateful.
Maybe I was not clear what I want. I know the format of that file. But I am not trying to accomplish that.
I will try to explain to explain it. I am trying to generate waypoints trough AMP waypoint C++ files. I know that there is a way to add a waypoint by mouse double clicking on the map, and that we can save that waypoint in the text file. After saving that text file we can load it back in new mission. What I am trying to do is to add 2 point in thet way and to generate others through code. For example if I put one waypoint which is a home position and the other is position where I want my rover to go, I want to other 5 be generated by some rules between those two. I found that in file WaypointList.cc the waypoints are added through code in some list, and that they are added when we double click on mouse. I would like to change that code, that after I add one and the other waypoint, another 5 are generated by code and that they appear on the screen.
I hope that I have explain it a little bit better.