Add gimble control to simple robot API

This commit is contained in:
2023-02-21 15:29:25 -06:00
parent 0b238ce048
commit 2c42352c85
2 changed files with 31 additions and 0 deletions
+11
View File
@@ -29,6 +29,17 @@ int robot_init(Robot robot);
*/
int robot_stop(Robot robot);
/*
* Set the gimble speed. A packet will be sent to the robot on
* the next ready tick of the work function.
*
* robot: The robot to set the velocity of
* p: pitch speed
* y: yaw speed
* returns: 0 on success, non-zero on failure
*/
int robot_aim(Robot, float p, float y);
/*
* Set the velocity of the robot chassis. A packet will be sent to the robot on
* the next ready tick of the work function.