-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set home=0 on start apmplanner2 #1204
Comments
sorry i have see any lines are unreadable. Hallo, After start apmplanner2 the coordinate are WP0=0,0 (HOME=0,0) Whats going wrong? my mind: regards Andre details: apmplanner v2.0.27-rc1
|
The question is always which position should be used by default? As soon as we have seen an vehicle sending a valid home position its used and stored. But as long as we have not seen any valid position which position shall be used for home? |
@Andr3g2 Have you seen my comment?? |
Dear Arne, Thanks for your answer. sometimes open a windows with following message: Scenario1
Scenario2
regards Andre |
Hallo,
After each start of the app the coordinate WP0=0,0 (HOME=0,0)
LAT en LON is zero which indicates a location somewhere in the sea before Africa.
only later, when the enter menu:flightplan:editwp , the value is correct.
details see below.
Whats going wrong?
This problem has been around for a long time. (2.0.24, 2.0.27)
I think a WP should never be NULL.
If write WP to device there should be print a warning if WP=0,0
regard Andre
details:
apmplanner v2.0.27-rc1
s1
$ cat mission.rov.test2.txt
QGC WPL 110
0 1 0 16 0 0 0 0 51.5100000000000001 14.1400000000000001 111.111000000000000 1
1 0 3 16 0 0 0 0 51.5200000000000001 14.1500000000000001 0 1
2 0 3 16 0 0 0 0 51.5300000000000001 14.1600000000000001 0 1
3 0 3 16 0 0 0 0 51.5100000000000001 14.1700000000000001 0 1
4 0 3 16 0 0 0 0 51.5100000000000001 14.1500000000000001 0 1
s2
$ apmplanner2.sh | egrep -i "wp|way|point|status|xml"
[20200427 19:33:35.490 INFO ] - APPLICATION_VERSION: "v2.0.27-rc1"
[20200427 19:33:36.868 DEBUG] - Writing ( "https://autotest.ardupilot.org/Parameters/ArduPlane/apm.pdef.xml" ) to ( "/home/admin1/apmplanner2/ardupilotmega/arduplane.pdef.xml" )
[20200427 19:33:52.033 DEBUG] - Using ( "/home/admin1/apmplanner2/ardupilotmega/ardurover.pdef.xml" ) for parameters
[20200427 19:33:52.090 INFO ] - updateWaypointList:
[20200427 19:33:52.093 DEBUG] - UPDATE WP LIST IN 2D MAP CALLED FOR UAS 1
[20200427 19:33:52.095 DEBUG] - UAS: new system_status 2
[20200427 19:33:52.129 INFO ] - updateWaypointList:
[20200427 19:33:52.149 DEBUG] - handleWaypointCount() - Number of waypoints to fetch is 5
[20200427 19:33:52.150 INFO ] - STATUS TEXT: 1 : "ArduRover v2.52-beta (5a6394ed)"
[20200427 19:33:52.303 INFO ] - updateWaypointList:
[20200427 19:33:52.303 INFO ] - WP: 0
[20200427 19:33:52.303 DEBUG] - UPDATE WP LIST IN 2D MAP CALLED FOR UAS 1
[20200427 19:33:52.304 DEBUG] - handleWaypoint() - Received waypoint 0
[20200427 19:33:52.349 INFO ] - STATUS TEXT: 2 : "Warming up ADC..."
[20200427 19:33:52.406 INFO ] - updateWaypointList:
[20200427 19:33:52.407 INFO ] - WP: 0
[20200427 19:33:52.407 INFO ] - WP: 1
[20200427 19:33:52.407 DEBUG] - UPDATE WP LIST IN 2D MAP CALLED FOR UAS 1
[20200427 19:33:52.408 DEBUG] - handleWaypoint() - Received waypoint 1
[20200427 19:33:52.457 INFO ] - STATUS TEXT: 1 : "<startup_ground> GROUND START"
[20200427 19:33:52.519 INFO ] - updateWaypointList:
[20200427 19:33:52.519 INFO ] - WP: 0
[20200427 19:33:52.520 INFO ] - WP: 1
[20200427 19:33:52.520 INFO ] - WP: 2
....
[20200427 19:33:52.842 INFO ] - STATUS TEXT: 2 : "Beginning INS calibration; do not move vehicle"
[20200427 19:33:53.737 DEBUG] - Param: "WP_RADIUS" : QVariant(double, 2)
[20200427 19:33:54.714 INFO ] - STATUS TEXT: 1 : "Initialising APM..."
[20200427 19:33:56.136 INFO ] - STATUS TEXT: 1 : "\n\n Ready to drive."
[20200427 19:33:56.152 INFO ] - "New current waypoint 0"
s3
menu:flightplan:onboardwp
0 HOME (lat. 0.000000, lon 0.000000, alt 0.00) yaw: 0;
s4
menu:flightplan:onboardwp
0 HOME (lat. 51.1500000, lon 14.1400000, alt 111.11) yaw: 0;
s5
menu:flightplan:
-> fly to africa
s6
menu:flightplan:editwp
0 HOME (lat. 0.000000, lon 0.000000, alt 0.00) yaw: 0;
s7
menu:flightplan:editwp
0 HOME (lat. 51.1500000, lon 14.1400000, alt 111.11) yaw: 0;
s8
menu:flightplan:
-> fly to MYHOME (WP 0)
The text was updated successfully, but these errors were encountered: