File tree Expand file tree Collapse file tree 5 files changed +98
-0
lines changed
autonomy/wato_msgs/common_msgs Expand file tree Collapse file tree 5 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.10)
2+ project (common_msgs)
3+
4+ if (NOT CMAKE_CXX_STANDARD)
5+ set (CMAKE_CXX_STANDARD 17)
6+ endif ()
7+
8+ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
9+ add_compile_options (-Wall -Wextra -Wpedantic)
10+ endif ()
11+
12+ find_package (ament_cmake REQUIRED)
13+ find_package (rosidl_default_generators REQUIRED)
14+ find_package (std_msgs REQUIRED)
15+ find_package (geometry_msgs REQUIRED)
16+
17+ set (msg_files
18+ msg/ArmPose.msg
19+ msg/HandPose.msg
20+ msg/JointState.msg
21+ )
22+
23+ rosidl_generate_interfaces(${PROJECT_NAME}
24+ ${msg_files}
25+ DEPENDENCIES std_msgs geometry_msgs
26+ )
27+
28+ ament_export_dependencies(rosidl_default_runtime)
29+ ament_package()
Original file line number Diff line number Diff line change 1+ std_msgs/Header header
2+
3+ string name
4+
5+ common_msgs/JointState shoulder
6+ common_msgs/JointState elbow
7+ common_msgs/JointState wrist
8+
9+ # Optional Overall Hand Pose
10+ bool include_hand_pose
11+ common_msgs/HandPose hand_pose
Original file line number Diff line number Diff line change 1+ std_msgs/Header header
2+
3+ string name
4+
5+ # Thumb
6+ common_msgs/JointState thumb_cmc
7+ common_msgs/JointState thumb_mcp
8+ common_msgs/JointState thumb_ip
9+
10+ # Index
11+ common_msgs/JointState index_mcp
12+ common_msgs/JointState index_pip
13+ common_msgs/JointState index_dip
14+
15+ # Middle
16+ common_msgs/JointState middle_mcp
17+ common_msgs/JointState middle_pip
18+ common_msgs/JointState middle_dip
19+
20+ # Ring
21+ common_msgs/JointState ring_mcp
22+ common_msgs/JointState ring_pip
23+ common_msgs/JointState ring_dip
24+
25+ # Pinky
26+ common_msgs/JointState pinky_mcp
27+ common_msgs/JointState pinky_pip
28+ common_msgs/JointState pinky_dip
Original file line number Diff line number Diff line change 1+ std_msgs/Header header
2+
3+ string name
4+
5+ float64 [] position
6+ float64 [] velocity
7+ float64 [] effort
8+
9+ geometry_msgs/Quaternion orientation
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <package format =" 3" >
3+ <name >common_msgs</name >
4+ <version >0.0.0</version >
5+ <description >Common ROS2 message definitions for the WATO Humanoid project.</description >
6+
7+ <maintainer email =" gavintranquilino@gmail.com" >Gavin Tranquilino</maintainer >
8+ <license >Apache2.0</license >
9+
10+ <buildtool_depend >ament_cmake</buildtool_depend >
11+ <depend >std_msgs</depend >
12+ <depend >geometry_msgs</depend >
13+
14+ <build_depend >rosidl_default_generators</build_depend >
15+ <exec_depend >rosidl_default_runtime</exec_depend >
16+ <member_of_group >rosidl_interface_packages</member_of_group >
17+
18+ <export >
19+ <build_type >ament_cmake</build_type >
20+ </export >
21+ </package >
You can’t perform that action at this time.
0 commit comments