-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AP_DDS: Add Subscriber support with Joy
* Register subscriber and deserialize sensor_msgs/Joy Co-authored-by: Rhys Mainwaring <rhys.mainwaring@me.com> Co-authored-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
- Loading branch information
1 parent
02802c8
commit 5168f39
Showing
5 changed files
with
187 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// generated from rosidl_adapter/resource/msg.idl.em | ||
// with input from sensor_msgs/msg/Joy.msg | ||
// generated code does not contain a copyright notice | ||
|
||
#include "std_msgs/msg/Header.idl" | ||
|
||
module sensor_msgs { | ||
module msg { | ||
@verbatim (language="comment", text= | ||
"Reports the state of a joystick's axes and buttons.") | ||
struct Joy { | ||
@verbatim (language="comment", text= | ||
"The timestamp is the time at which data is received from the joystick.") | ||
std_msgs::msg::Header header; | ||
|
||
@verbatim (language="comment", text= | ||
"The axes measurements from a joystick.") | ||
sequence<float> axes; | ||
|
||
@verbatim (language="comment", text= | ||
"The buttons measurements from a joystick.") | ||
sequence<int32> buttons; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters