Skip to content

Commit 557a2bc

Browse files
Merge pull request RethinkRobotics#15 from RethinkRobotics/baxter_msgs
Adding catkinized baxter_msgs to baxter_common.
2 parents e45e5c5 + abcb832 commit 557a2bc

39 files changed

+333
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ baxter_common
33
RSDK Wiki: http://github.com/RethinkRobotics/sdk-docs/wiki
44

55
## Repository Description
6-
URDF and 3D models describing the Baxter Research Robot by Rethink Robotics Inc.
6+
URDF, 3D models, and custom messages describing the Baxter Research Robot from Rethink Robotics Inc.

baxter_common/package.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<package>
33
<name>baxter_common</name>
44
<version>0.6.1</version>
5-
<description>URDF and meshes describing the Baxter robot from Rethink
6-
Robotics.
5+
<description>URDF, meshes, and custom messages
6+
describing the Baxter robot from Rethink Robotics.
77
</description>
88

99
<maintainer email="rsdk.support@rethinkrobotics.com">
@@ -22,6 +22,7 @@
2222
<buildtool_depend>catkin</buildtool_depend>
2323

2424
<run_depend>baxter_description</run_depend>
25+
<run_depend>baxter_msgs</run_depend>
2526

2627
<export>
2728
<metapackage/>

baxter_msgs/CMakeLists.txt

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(baxter_msgs)
3+
4+
find_package(catkin REQUIRED COMPONENTS message_generation std_msgs geometry_msgs)
5+
6+
add_message_files(
7+
FILES
8+
AnalogIOState.msg
9+
AnalogIOStates.msg
10+
AnalogOutputCommand.msg
11+
AssemblyState.msg
12+
CalibrateArmEnable.msg
13+
CameraControl.msg
14+
CameraSettings.msg
15+
DigitalIOState.msg
16+
DigitalIOStates.msg
17+
DigitalOutputCommand.msg
18+
EndpointState.msg
19+
GripperCommand.msg
20+
GripperIdentity.msg
21+
GripperProperties.msg
22+
GripperState.msg
23+
HeadPanCommand.msg
24+
HeadState.msg
25+
ITB.msg
26+
ITBStates.msg
27+
JointCommandMode.msg
28+
JointPositions.msg
29+
JointTorques.msg
30+
JointVelocities.msg
31+
RobustControllerStatus.msg
32+
TareData.msg
33+
TareEnable.msg
34+
UpdateSource.msg
35+
UpdateSources.msg
36+
UpdateStatus.msg
37+
)
38+
39+
add_service_files(
40+
FILES
41+
CloseCamera.srv
42+
ListCameras.srv
43+
LSCores.srv
44+
OpenCamera.srv
45+
RMCores.srv
46+
SolvePositionIK.srv
47+
)
48+
49+
generate_messages(DEPENDENCIES geometry_msgs std_msgs)
50+
51+
catkin_package(CATKIN_DEPENDS std_msgs geometry_msgs)

baxter_msgs/msg/AnalogIOState.msg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
time timestamp
2+
float64 value
3+
bool isInputOnly

baxter_msgs/msg/AnalogIOStates.msg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
string[] names
2+
AnalogIOState[] states
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
##the name of the output
2+
string name
3+
##the value to set output
4+
uint16 value

baxter_msgs/msg/AssemblyState.msg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
bool enabled # true if enabled
2+
bool stopped # true if stopped -- e-stop asserted
3+
bool error # true if a component of the assembly has an error
4+
#
5+
# The following are specific to the robot top-level assembly:
6+
uint8 estop_button # One of the following:
7+
uint8 ESTOP_BUTTON_UNPRESSED = 0 # Robot is not stopped and button is not pressed
8+
uint8 ESTOP_BUTTON_PRESSED = 1
9+
uint8 ESTOP_BUTTON_UNKNOWN = 2 # STATE_UNKNOWN when estop was asserted by a non-user source
10+
uint8 ESTOP_BUTTON_RELEASED = 3 # Was pressed, is now known to be released, but robot is still stopped.
11+
#
12+
uint8 estop_source # If stopped is true, the source of the e-stop. One of the following:
13+
uint8 ESTOP_SOURCE_NONE = 0 # e-stop is not asserted
14+
uint8 ESTOP_SOURCE_USER = 1 # e-stop source is user input (the red button)
15+
uint8 ESTOP_SOURCE_UNKNOWN = 2 # e-stop source is unknown
16+
uint8 ESTOP_SOURCE_FAULT = 3 # MotorController asserted e-stop in response to a joint fault
17+
uint8 ESTOP_SOURCE_BRAIN = 4 # MotorController asserted e-stop in response to a lapse of the brain heartbeat
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## @file CalibrateArmEnable.msg See the file below for additional documentation
2+
## @addtogroup RobustControllersMsgs
3+
## @{
4+
## @class RobustControllersMsgs::CalibrateArmEnable
5+
6+
bool isEnabled
7+
string uid
8+
std_msgs/Empty data
9+
10+
## @}

baxter_msgs/msg/CameraControl.msg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
int32 id
2+
int32 value
3+
4+
int32 CAMERA_CONTROL_EXPOSURE=100
5+
int32 CAMERA_CONTROL_GAIN=101
6+
int32 CAMERA_CONTROL_WHITE_BALANCE_R=102
7+
int32 CAMERA_CONTROL_WHITE_BALANCE_G=103
8+
int32 CAMERA_CONTROL_WHITE_BALANCE_B=104
9+
int32 CAMERA_CONTROL_WINDOW_X=105
10+
int32 CAMERA_CONTROL_WINDOW_Y=106
11+
int32 CAMERA_CONTROL_FLIP=107
12+
int32 CAMERA_CONTROL_MIRROR=108
13+
int32 CAMERA_CONTROL_RESOLUTION_HALF=109

baxter_msgs/msg/CameraSettings.msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
int32 width
2+
int32 height
3+
float32 fps
4+
CameraControl[] controls

0 commit comments

Comments
 (0)