Skip to content

Commit

Permalink
Fixed orbit direction
Browse files Browse the repository at this point in the history
  • Loading branch information
iandareid committed Jun 6, 2024
1 parent b5987bf commit 51afe55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosplane/src/path_manager_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ int path_manager_example::orbit_direction(float pn, float pe, float chi, float c

if (d.cross(course)(2) >= 0 )
{
return -1;
return 1;
}

return 1;
return -1;
}

void path_manager_example::increment_indices(int & idx_a, int & idx_b, int & idx_c, const struct input_s & input, struct output_s & output)
Expand Down

0 comments on commit 51afe55

Please sign in to comment.