You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Wait for 8 seconds, check position
for (int i = 0; i < 8; i++)
{
mavlink_local_position_ned_t pos = api.current_messages.local_position_ned;
printf("%i CURRENT POSITION XYZ = [ % .4f , % .4f , % .4f ] \n", i, pos.x, pos.y, pos.z);
Sleep(1);
}
Sleep is (DWORD dwMilliseconds), so should be Sleep(1000)? Similar on other Sleep calls instead of 1, should be 100 if you use the value from the original code.
The text was updated successfully, but these errors were encountered:
Sleep is (DWORD dwMilliseconds), so should be Sleep(1000)? Similar on other Sleep calls instead of 1, should be 100 if you use the value from the original code.
The text was updated successfully, but these errors were encountered: