Add gimble control to simple robot API
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user