tritonuas / obcpp

The code for the Onboard Computer, now written in C++.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Allow GCS to activate manual takeoff or autonomous takeoff #178

Closed Tyler-Lentz closed 1 month ago

Tyler-Lentz commented 2 months ago

Currently, we go straight from path validate to mav upload to takeoff.

Description

What we want is:

  1. GCS: Click on Path Validate
  2. OBC: PathValidate -> MavUpload -> WaitForTakeoff
  3. GCS: Somewhere on control page, have an option to either manual takeoff of auto takeoff
  4. OBC: Receives this msg, and then transitions to manual/auto takeoff

Implementation

GCS

  1. Option in the mission control page to specify an auto or manual takeoff

Protos

  1. https://github.com/tritonuas/protos
  2. Create new message type for specifying auto/manual takeoff

OBC

  1. Create new event handler for a route to handle transition from WaitForTakeoff to one of the takeoff options
  2. Once you get this far either double check back here and ill have written more specific instructions, or just ask me for help
  3. Can look at the gcs handler for path validate for inspiration