#include <yarp/rosmsg/sensor_msgs/JoyFeedback.h>
Definition at line 43 of file JoyFeedback.h.
◆ bottleStyle
◆ rosStyle
◆ JoyFeedback()
yarp::rosmsg::sensor_msgs::JoyFeedback::JoyFeedback |
( |
| ) |
|
|
inline |
◆ clear()
void yarp::rosmsg::sensor_msgs::JoyFeedback::clear |
( |
| ) |
|
|
inline |
◆ getType()
yarp::os::Type yarp::rosmsg::sensor_msgs::JoyFeedback::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ read()
Read this object from a network connection.
Override this for your particular class.
- Parameters
-
reader | an interface to the network connection for reading |
- Returns
- true iff the object is successfully read
Implements yarp::os::Portable.
Definition at line 113 of file JoyFeedback.h.
◆ readBare()
◆ readBottle()
◆ write()
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
- Parameters
-
writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Implements yarp::os::Portable.
Definition at line 155 of file JoyFeedback.h.
◆ writeBare()
◆ writeBottle()
◆ id
std::uint8_t yarp::rosmsg::sensor_msgs::JoyFeedback::id |
◆ intensity
◆ type
std::uint8_t yarp::rosmsg::sensor_msgs::JoyFeedback::type |
◆ TYPE_BUZZER
const std::uint8_t yarp::rosmsg::sensor_msgs::JoyFeedback::TYPE_BUZZER = 2 |
|
static |
◆ TYPE_LED
const std::uint8_t yarp::rosmsg::sensor_msgs::JoyFeedback::TYPE_LED = 0 |
|
static |
◆ TYPE_RUMBLE
const std::uint8_t yarp::rosmsg::sensor_msgs::JoyFeedback::TYPE_RUMBLE = 1 |
|
static |
◆ typeChecksum
constexpr const char* yarp::rosmsg::sensor_msgs::JoyFeedback::typeChecksum = "f4dcd73460360d98f36e55ee7f2e46f1" |
|
staticconstexpr |
◆ typeName
constexpr const char* yarp::rosmsg::sensor_msgs::JoyFeedback::typeName = "sensor_msgs/JoyFeedback" |
|
staticconstexpr |
◆ typeText
constexpr const char* yarp::rosmsg::sensor_msgs::JoyFeedback::typeText |
|
staticconstexpr |
Initial value:= "\
# Declare of the type of feedback\n\
uint8 TYPE_LED = 0\n\
uint8 TYPE_RUMBLE = 1\n\
uint8 TYPE_BUZZER = 2\n\
\n\
uint8 type\n\
\n\
# This will hold an id number for each type of each feedback.\n\
# Example, the first led would be id=0, the second would be id=1\n\
uint8 id\n\
\n\
# Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is\n\
# actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.\n\
float32 intensity\n\
\n\
"
Definition at line 173 of file JoyFeedback.h.
The documentation for this class was generated from the following file:
- src/libYARP_rosmsg/src/idl_generated_code/yarp/rosmsg/sensor_msgs/JoyFeedback.h