Skip to content
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

GCSViews: If the delay of WAYPOINT is set to less than 0, set it to 0 #2679

Conversation

muramura
Copy link
Contributor

Reworked #2654.

@AppVeyorBot
Copy link

@@ -2979,7 +2979,16 @@ private Locationwp DataViewtoLocationwp(int a)
false);
}

temp.p1 = float.Parse(Commands.Rows[a].Cells[Param1.Index].Value.ToString());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this appears to break everything if its not a waypoint

Copy link
Contributor Author

@muramura muramura Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meee1 san.
I've changed it.
I checked the file to see that parameter 1 of the other command was set.

save Waypoints file
QGC WPL 110
0 1 0 16 0 0 0 0 40.453949 141.541901 56.040001 1
1 0 3 16 0.00000000 0.00000000 0.00000000 0.00000000 40.45522560 141.54160740 100.000000 1
2 0 3 93 -1.00000000 0.00000000 0.00000000 0.00000000 40.45586230 141.54049160 100.000000 1

@muramura muramura force-pushed the mp_MP_If_the_delay_of_WAYPOINT_is_set_to_less_than_0_set_it_to_0-2 branch from f17dba0 to 836af1e Compare September 16, 2021 21:25
@AppVeyorBot
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants