added cliff sensor signals
This commit is contained in:
parent
a8e274be15
commit
fd2638114a
3 changed files with 64 additions and 0 deletions
|
@ -406,6 +406,26 @@ namespace create {
|
|||
*/
|
||||
bool isCliffFrontRight() const;
|
||||
|
||||
/**
|
||||
* \return true if the left sensor detects a cliff, false otherwise.
|
||||
*/
|
||||
uint16_t getCliffSignalLeft() const;
|
||||
|
||||
/**
|
||||
* \return true if the front left sensor detects a cliff, false otherwise.
|
||||
*/
|
||||
uint16_t getCliffSignalFrontLeft() const;
|
||||
|
||||
/**
|
||||
* \return true if the right sensor detects a cliff, false otherwise.
|
||||
*/
|
||||
uint16_t getCliffSignalRight() const;
|
||||
|
||||
/**
|
||||
* \return true if the front right sensor detects a cliff, false otherwise.
|
||||
*/
|
||||
uint16_t getCliffSignalFrontRight() const;
|
||||
|
||||
/**
|
||||
* \return true if there is a virtual wall signal is being received.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue