Skip to content

Commit

Permalink
Update Autonomy packets
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsBrady committed Feb 21, 2022
1 parent a25b1f5 commit 9c805ed
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
20 changes: 15 additions & 5 deletions src/RoveCommManifest.h
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,22 @@ enum MULTIMEDIABOARD_DISPLAYSTATE {TELEOP,AUTONOMY,REACHED_GOAL};
#define RC_AUTONOMYBOARD_DISABLEAUTONOMY_DATA_TYPE uint8_t

//[Lat, Lon]
#define RC_AUTONOMYBOARD_ADDWAYPOINTS_DATA_ID 11002
#define RC_AUTONOMYBOARD_ADDWAYPOINTS_DATA_COUNT 2
#define RC_AUTONOMYBOARD_ADDWAYPOINTS_DATA_TYPE double
#define RC_AUTONOMYBOARD_ADDPOSITIONLEG_DATA_ID 11002
#define RC_AUTONOMYBOARD_ADDPOSITIONLEG_DATA_COUNT 2
#define RC_AUTONOMYBOARD_ADDPOSITIONLEG_DATA_TYPE double

//[Lat, Lon]
#define RC_AUTONOMYBOARD_ADDMARKERLEG_DATA_ID 11003
#define RC_AUTONOMYBOARD_ADDMARKERLEG_DATA_COUNT 2
#define RC_AUTONOMYBOARD_ADDMARKERLEG_DATA_TYPE double

//[Lat, Lon]
#define RC_AUTONOMYBOARD_ADDGATELEG_DATA_ID 11004
#define RC_AUTONOMYBOARD_ADDGATELEG_DATA_COUNT 2
#define RC_AUTONOMYBOARD_ADDGATELEG_DATA_TYPE double

//
#define RC_AUTONOMYBOARD_CLEARWAYPOINTS_DATA_ID 11003
#define RC_AUTONOMYBOARD_CLEARWAYPOINTS_DATA_ID 11005
#define RC_AUTONOMYBOARD_CLEARWAYPOINTS_DATA_COUNT 1
#define RC_AUTONOMYBOARD_CLEARWAYPOINTS_DATA_TYPE uint8_t

Expand Down Expand Up @@ -629,4 +639,4 @@ enum MULTIMEDIABOARD_DISPLAYSTATE {TELEOP,AUTONOMY,REACHED_GOAL};
#define RC_HEATERBOARD_OVERHEAT_DATA_COUNT 1
#define RC_HEATERBOARD_OVERHEAT_DATA_TYPE uint8_t

#endif // RoveCommManifest_h
#endif // RoveCommManifest_h
16 changes: 14 additions & 2 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,14 +624,26 @@
"dataCount": 1,
"comments": ""
},
"AddWaypoints": {
"AddPositionLeg": {
"dataId": 11002,
"dataType": "DOUBLE_T",
"dataCount": 2,
"comments": "[Lat, Lon]"
},
"ClearWaypoints": {
"AddMarkerLeg": {
"dataId": 11003,
"dataType": "DOUBLE_T",
"dataCount": 2,
"comments": "[Lat, Lon]"
},
"AddGateLeg": {
"dataId": 11004,
"dataType": "DOUBLE_T",
"dataCount": 2,
"comments": "[Lat, Lon]"
},
"ClearWaypoints": {
"dataId": 11005,
"dataType": "UINT8_T",
"dataCount": 1,
"comments": ""
Expand Down

0 comments on commit 9c805ed

Please sign in to comment.