Go to the documentation of this file.
18 namespace experimental {
29 float getAxis(
size_t axis)
const;
33 std::array<float, NumButtons>
axes_;
63 static std::unique_ptr<MobileIO>
create(
const std::string& family,
const std::string& name);
75 return setSnap(axis_number, std::numeric_limits<float>::quiet_NaN());
78 bool setSnap(
size_t axis_number,
float snap_to);
86 bool sendText(
const std::string& message);
93 MobileIO(std::shared_ptr<hebi::Group>);
std::array< float, NumButtons > axes_
bool setSnap(size_t axis_number, float snap_to)
bool setButtonMode(size_t button_number, ButtonMode mode)
const hebi::Feedback & getLastFeedback() const
std::shared_ptr< hebi::Group > group_
bool getButton(size_t button) const
A list of Feedback objects that can be received from a Group of modules; the size() must match the nu...
bool setAxisValue(size_t axis_number, float value)
static constexpr size_t NumButtons
std::array< ButtonState, NumButtons > buttons_
static std::unique_ptr< MobileIO > create(const std::string &family, const std::string &name)
MobileIOState current_state_
std::bitset< NumButtons > buttons_
bool setButtonOutput(size_t button_number, bool on)
bool setLedColor(uint8_t r, uint8_t g, uint8_t b)
MobileIODiff(const MobileIOState &prev, const MobileIOState ¤t)
ButtonState get(int button) const
bool disableSnap(size_t axis_number)
bool sendText(const std::string &message)
Feedback objects have various fields representing feedback from modules; which fields are populated d...
float getAxis(size_t axis) const
MobileIO(std::shared_ptr< hebi::Group >)
hebi_cpp_api_ros
Author(s): Chris Bollinger
, Matthew Tesch
autogenerated on Fri Aug 2 2024 08:35:18