CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
joy_feedback.hpp File Reference

Interface definition of the sensor_msgs/msg/JoyFeedback message. More...

Go to the source code of this file.

Classes

class  sensor_msgs::msg::JoyFeedback
 ROS message class definition for JoyFeedback. More...
 

Namespaces

namespace  sensor_msgs
 The sensor_msgs package contains ROS2 interface definitions.
 
namespace  sensor_msgs::msg
 message definitions of the sensor_msgs package
 

Detailed Description

Interface definition of the sensor_msgs/msg/JoyFeedback message.

# Declare of the type of feedback
uint8 TYPE_LED = 0
uint8 TYPE_RUMBLE = 1
uint8 TYPE_BUZZER = 2
uint8 type
# This will hold an id number for each type of each feedback.
# Example, the first led would be id=0, the second would be id=1
uint8 id
# Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is
# actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.
float32 intensity