CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
joy_feedback.hpp
Go to the documentation of this file.
1
8namespace sensor_msgs::msg {
16public:
17 // Declare of the type of feedback
18 static const uint8_t TYPE_LED = 0;
19 static const uint8_t TYPE_RUMBLE = 1;
20 static const uint8_t TYPE_BUZZER = 2;
21
22 uint8_t type;
23
24 // This will hold an id number for each type of each feedback.
25 // Example, the first led would be id=0, the second would be id=1
26 uint8_t id;
27
28 // Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is
29 // actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.
30 float intensity;
31};
32} // namespace sensor_msgs::msg
ROS message class definition for JoyFeedback.
Definition joy_feedback.hpp:15
message definitions of the sensor_msgs package
Definition battery_state.hpp:8