Add API for getting left and right wheeldrop
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
parent
df149bdc12
commit
4a0f8ad72b
2 changed files with 30 additions and 0 deletions
|
@ -336,6 +336,16 @@ namespace create {
|
|||
*/
|
||||
bool isWheeldrop() const;
|
||||
|
||||
/**
|
||||
* \return true if a left wheeldrop is detected, false otherwise.
|
||||
*/
|
||||
bool isLeftWheeldrop() const;
|
||||
|
||||
/**
|
||||
* \return true if a right wheeldrop is detected, false otherwise.
|
||||
*/
|
||||
bool isRightWheeldrop() const;
|
||||
|
||||
/**
|
||||
* \return true if left bumper is pressed, false otherwise.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue