Skip to content

Commit e518cb2

Browse files
committed
[wip/ros-pr2-mechanism-model] initial commit
1 parent 1a1a437 commit e518cb2

File tree

6 files changed

+96
-0
lines changed

6 files changed

+96
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ SUBDIR+= ros-pcl-msgs
134134
SUBIDR+= ros-pr2-description
135135
SUBDIR+= ros-pr2-hardware-interface
136136
SUBDIR+= ros-pr2-machine
137+
SUBDIR+= ros-pr2-mechanism-model
137138
SUBIDR+= ros-pr2-mechanism-msgs
138139
SUBDIR+= ros-pr2-msgs
139140
SUBDIR+= ros-py-urdf-parser

ros-pr2-mechanism-model/DESCR

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This package contains the robot model that is used by the realtime
2+
controllers inside controller manager.
3+
4+
This robot model focuses on controlling the robot mechanism in a
5+
realtime control loop, and therefore it only contains the components
6+
of a robot that are relevant in realtime: the robot joints (with
7+
encoders, transmisisons and actuators) and the kinematic/dynamic model
8+
of the robot.

ros-pr2-mechanism-model/Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# robotpkg Makefile for: wip/ros-pr2-mechanism-model
2+
# Created: Matthieu Herrb on Thu, 19 Jun 2025
3+
#
4+
5+
ROS_PKG= pr2_mechanism_model
6+
ROS_METAPKG= pr2_mechanism
7+
ROS_VERSION= 1.8.21
8+
ROS_REPO= pr2-mechanism-model
9+
10+
PKGNAME= ros-$(subst _,-,${ROS_PKG})-${ROS_VERSION}
11+
12+
MASTER_SITES= ${MASTER_SITE_GITHUB:=PR2}/${ROS_METAPKG}/archive/refs/tags/
13+
14+
CATEGORIES= wip
15+
16+
ROS_COMMENT= models to the PR2 components controlled over EtherCAT
17+
18+
WRKSRC= ${WRKDIR}/${ROS_METAPKG}-${ROS_VERSION}/${ROS_PKG}
19+
20+
include ../../meta-pkgs/ros-base/Makefile.common
21+
22+
include ../../middleware/ros-comm/depend.mk
23+
include ../../devel/ros-cmake-modules/depend.mk
24+
include ../../wip/ros-pr2-hardware-interface/depend.mk
25+
include ../../graphics/ros-urdf/depend.mk
26+
include ../../wip/mk/sysdep/liburdfdom.mk
27+
include ../../graphics/ros-kdl-parser/depend.mk
28+
include ../../devel/ros-pluginlib/depend.mk
29+
include ../../math/ros-angles/depend.mk
30+
include ../../motion/ros-control/depend.mk
31+
include ../../interfaces/ros-common-msgs/depend.mk
32+
include ../../devel/ros-catkin/depend.mk
33+
include ../../mk/sysdep/python.mk
34+
include ../../mk/robotpkg.mk

ros-pr2-mechanism-model/PLIST

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@comment Thu Jun 19 21:06:49 CEST 2025
2+
include/pr2_mechanism_model/chain.h
3+
include/pr2_mechanism_model/joint.h
4+
include/pr2_mechanism_model/joint_calibration_simulator.h
5+
include/pr2_mechanism_model/pr2_belt_transmission.h
6+
include/pr2_mechanism_model/pr2_gripper_transmission.h
7+
include/pr2_mechanism_model/robot.h
8+
include/pr2_mechanism_model/simple_transmission.h
9+
include/pr2_mechanism_model/transmission.h
10+
include/pr2_mechanism_model/tree.h
11+
include/pr2_mechanism_model/wrist_transmission.h
12+
lib/libpr2_mechanism_model.so
13+
lib/pkgconfig/pr2_mechanism_model.pc
14+
share/pr2_mechanism_model/cmake/pr2_mechanism_modelConfig-version.cmake
15+
share/pr2_mechanism_model/cmake/pr2_mechanism_modelConfig.cmake
16+
share/pr2_mechanism_model/package.xml
17+
share/pr2_mechanism_model/transmission_plugins.xml

ros-pr2-mechanism-model/depend.mk

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# robotpkg depend.mk for: wip/ros-pr2-mechanism-model
2+
# Created: Matthieu Herrb on Thu, 19 Jun 2025
3+
#
4+
5+
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
6+
ROS_PR2_MECHANISM_MODEL_DEPEND_MK:= ${ROS_PR2_MECHANISM_MODEL_DEPEND_MK}+
7+
8+
ifeq (+,${DEPEND_DEPTH})
9+
DEPEND_PKG+= ros-pr2-mechanism-model
10+
endif
11+
12+
ifeq (+,${ROS_PR2_MECHANISM_MODEL_DEPEND_MK})
13+
14+
include ../../meta-pkgs/ros-base/depend.common
15+
PREFER.ros-pr2-mechanism-model?= ${PREFER.ros-base}
16+
SYSTEM_PREFIX.ros-pr2-mechanism-model?= ${SYSTEM_PREFIX.ros-base}
17+
18+
DEPEND_USE+= ros-pr2-mechanism-model
19+
ROS_DEPEND_USE+= ros-pr2-mechanism-model
20+
21+
DEPEND_ABI.ros-pr2-mechanism-model?= ros-pr2-mechanism-model>=1.8.21
22+
DEPEND_DIR.ros-pr2-mechanism-model?= ../../wip/ros-pr2-mechanism-model
23+
24+
SYSTEM_SEARCH.ros-pr2-mechanism-model=\
25+
include/pr2_mechanism_model/joint.h \
26+
lib/libpr2_mechanism_model.so \
27+
lib/pkgconfig/pr2_mechanism_model.pc
28+
29+
CMAKE_PREFIX_PATH.ros-pr2-mechanism-model= ${PREFIX.ros-pr2-mechanism-model}
30+
31+
endif
32+
33+
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}

ros-pr2-mechanism-model/distinfo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SHA1 (ros/pr2_mechanism_model/1.8.21.tar.gz) = 1d9fa7202e134c092ec56cd3848243cf30117cb4
2+
RMD160 (ros/pr2_mechanism_model/1.8.21.tar.gz) = dbc507e9670627d40c40e120ffae3b491525918e
3+
Size (ros/pr2_mechanism_model/1.8.21.tar.gz) = 87015 bytes

0 commit comments

Comments
 (0)