added cliff sensor signals

This commit is contained in:
DuSack1220 2023-02-04 17:03:31 +01:00 committed by Konstantin Lampalzer
parent a8e274be15
commit fd2638114a
3 changed files with 64 additions and 0 deletions

View file

@ -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.
*/