10#ifndef SENSORSSonarSensors_DEFINED
11#define SENSORSSonarSensors_DEFINED
133 if(this->sonar(i) != s.sonar(i))
144 return !(*
this == s);
147#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
158 std::istringstream iss(str);
166#pragma clang diagnostic ignored "-Wcovered-switch-default"
167#pragma clang diagnostic ignored "-Wunreachable-code"
174 std::stringstream ss;
177 ss <<
static_cast<int>(sonar(i)) <<
",";
Contains the latest Sonar readings.
bool operator==(const SENSORSSonarSensors &s)
comparison operator
std::string description() const
pretty print method for showing the current property values
bool operator!=(const SENSORSSonarSensors &s)
compare two sonar sensor value records and return false if they are the same
void from_string(const std::string &str)
parse class properties from a string
SENSORSSonarSensors(const std::string &str)
string constructor (see from_string() below)
Giraff
Indexes for the Giraff sonar sensors.
enum guWhiteboard::Sonar::ReadingCodesEnum ReadingCode