mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-03 19:24:09 +05:30
Added ArduinoConstants.msg to enumerate LOW, HIGH, INPUT, OUTPUT
This commit is contained in:
parent
c958e590cc
commit
c26830b5c4
@ -6,6 +6,7 @@ find_package(catkin REQUIRED COMPONENTS std_msgs message_generation)
|
|||||||
add_message_files(FILES
|
add_message_files(FILES
|
||||||
AnalogFloat.msg
|
AnalogFloat.msg
|
||||||
Analog.msg
|
Analog.msg
|
||||||
|
ArduinoConstants.msg
|
||||||
Digital.msg
|
Digital.msg
|
||||||
SensorState.msg
|
SensorState.msg
|
||||||
)
|
)
|
||||||
|
5
ros_arduino_msgs/msg/ArduinoConstants.msg
Normal file
5
ros_arduino_msgs/msg/ArduinoConstants.msg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Arduino-style constants
|
||||||
|
uint8 LOW=0
|
||||||
|
uint8 HIGH=1
|
||||||
|
uint8 INPUT=0
|
||||||
|
uint8 OUTPUT=1
|
Loading…
x
Reference in New Issue
Block a user