Skip to content

Verify SearchBound/FlightBound CCW #347

@miyatakazuya

Description

@miyatakazuya

Pathing code expects polygons to in CCW order. Want to verify this when mission is uploaded.

  • Update POST /mission handler in gcs_routes.cpp
  • Should parse the mission.searchBound to check if CCW order is valid
  • If not return, 422 (Unprocessable Entity) status code.

Test by:

  • Run OBC & GCS, test uploading a mission with correct input AND incorrect input.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions