From 2e06604eb91b8bc27fdae8ca17174fc9eb29ee1a Mon Sep 17 00:00:00 2001 From: MatthewHsu1 Date: Sat, 11 May 2024 00:26:29 -0700 Subject: [PATCH] Fix lint errors --- internal/obc/client.go | 6 ++++++ protos | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/obc/client.go b/internal/obc/client.go index 1ad11ef..5052dd7 100644 --- a/internal/obc/client.go +++ b/internal/obc/client.go @@ -31,11 +31,17 @@ func NewClient(urlBase string, timeout int) *Client { return client } +/* +Send a request to the obc to set the status of WaitForTakeoffTick to be autonomous. +*/ func (client *Client) DoAutonomousTakeoff() ([]byte, int) { body, httpErr := client.httpClient.Post("/takeoff/autonomous", nil) return body, httpErr.Status } +/* +Send a request to the obc to set the status of WaitForTakeoffTick to be manual. +*/ func (client *Client) DoManualTakeoff() ([]byte, int) { body, httpErr := client.httpClient.Post("/takeoff/manual", nil) return body, httpErr.Status diff --git a/protos b/protos index abe9573..c584104 160000 --- a/protos +++ b/protos @@ -1 +1 @@ -Subproject commit abe95730634b146f39fb5127ee96bac511e9cbd5 +Subproject commit c5841043ba805c065997232b5a6ae281873d9969