Skip to content

Commit be1cfc0

Browse files
committed
Add ros2srrc_endfefectos and ros2srrc_robot packages and change launchers
1 parent 9a66155 commit be1cfc0

375 files changed

Lines changed: 44443 additions & 20 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Industrial/ros2_SimRealRobotControl_gz/packages/ur5/ros2srrc_ur5_gazebo/urdf/ur5_robotiq_2f85.urdf.xacro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<xacro:property name="output_recipe_filename" value="$(arg output_recipe_filename)"/>
5757

5858
<!-- Include XACRO-MACRO file of the UR5: -->
59-
<xacro:include filename="$(find ros2srrc_robots)/ur5/urdf/ur5_macro.urdf.xacro"/>
59+
<xacro:include filename="/home/ws/src/Industrial/ros2_SimRealRobotControl_gz/ros2srrc_robots/ur5/urdf/ur5_macro.urdf.xacro"/>
6060
<xacro:ur5
6161
bringup="${bringup}"
6262
robot_ip="${robot_ip}"
@@ -69,7 +69,7 @@
6969
/>
7070

7171
<!-- Include XACRO-MACRO file of the Robotiq 2f-85: -->
72-
<xacro:include filename="$(find ros2srrc_endeffectors)/robotiq_2f85/urdf/robotiq_2f85_macro.urdf.xacro"/>
72+
<xacro:include filename="/home/ws/src/Industrial/ros2_SimRealRobotControl_gz/ros2srrc_endeffectors/robotiq_2f85/urdf/robotiq_2f85_macro.urdf.xacro"/>
7373
<xacro:robotiq_2f85
7474
bringup="${bringup}"
7575
parent_link="tool0"
@@ -83,10 +83,10 @@
8383
<robot_sim_type>gazebo_ros2_control/GazeboSystem</robot_sim_type>
8484

8585
<!-- UR5 Controller -->
86-
<parameters>$(find ros2srrc_robots)/ur5/config/controller.yaml</parameters>
86+
<parameters>/home/ws/src/Industrial/ros2_SimRealRobotControl_gz/ros2srrc_robots/ur5/config/controller.yaml</parameters>
8787

8888
<!-- End-Effector Controller (if needed) -->
89-
<parameters>$(find ros2srrc_endeffectors)/${EE_name}/config/controller.yaml</parameters>
89+
<parameters>/home/ws/src/Industrial/ros2_SimRealRobotControl_gz/ros2srrc_endeffectors/${EE_name}/config/controller.yaml</parameters>
9090

9191
</plugin>
9292
</gazebo>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
cmake_minimum_required(VERSION 3.5)
2+
project(ros2srrc_endeffectors)
3+
4+
# Default to C99
5+
if(NOT CMAKE_C_STANDARD)
6+
set(CMAKE_C_STANDARD 99)
7+
endif()
8+
9+
# Default to C++14
10+
if(NOT CMAKE_CXX_STANDARD)
11+
set(CMAKE_CXX_STANDARD 14)
12+
endif()
13+
14+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
15+
add_compile_options(-Wall -Wextra -Wpedantic)
16+
endif()
17+
18+
# find dependencies
19+
find_package(ament_cmake REQUIRED)
20+
# uncomment the following section in order to fill in
21+
# further dependencies manually.
22+
# find_package(<dependency> REQUIRED)
23+
24+
if(BUILD_TESTING)
25+
find_package(ament_lint_auto REQUIRED)
26+
# the following line skips the linter which checks for copyrights
27+
# uncomment the line when a copyright and license is not present in all source files
28+
#set(ament_cmake_copyright_FOUND TRUE)
29+
# the following line skips cpplint (only works in a git repo)
30+
# uncomment the line when this package is not in a git repo
31+
#set(ament_cmake_cpplint_FOUND TRUE)
32+
ament_lint_auto_find_test_dependencies()
33+
endif()
34+
35+
# REQUIRED to -> Load END-EFFECTOR DATABASE:
36+
install(
37+
DIRECTORY
38+
39+
egp64
40+
41+
gpp5010nc
42+
43+
ls_vgr
44+
ls_vgr_amrc
45+
46+
robotiq_2f85
47+
robotiq_hande
48+
49+
DESTINATION
50+
share/${PROJECT_NAME}
51+
)
52+
53+
ament_package()
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
controller_manager:
2+
ros__parameters:
3+
4+
update_rate: 250 #Hz
5+
6+
egp64_finger_left_controller:
7+
type: position_controllers/GripperActionController
8+
9+
egp64_finger_right_controller:
10+
type: position_controllers/GripperActionController
11+
12+
egp64_finger_left_controller:
13+
ros__parameters:
14+
joint: egp64_finger_left_joint
15+
16+
egp64_finger_right_controller:
17+
ros__parameters:
18+
joint: egp64_finger_right_joint
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
controller_names:
2+
- egp64_finger_left_controller
3+
- egp64_finger_right_controller
4+
5+
egp64_finger_left_controller:
6+
action_ns: gripper_cmd
7+
type: GripperCommand
8+
default: true
9+
joints:
10+
- egp64_finger_left_joint
11+
12+
egp64_finger_right_controller:
13+
action_ns: gripper_cmd
14+
type: GripperCommand
15+
default: true
16+
joints:
17+
- egp64_finger_right_joint
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
joint_limits:
2+
egp64_finger_left_joint:
3+
has_velocity_limits: true
4+
max_velocity: 5.0
5+
has_acceleration_limits: true
6+
max_acceleration: 1.00
7+
egp64_finger_right_joint:
8+
has_velocity_limits: true
9+
max_velocity: 5.0
10+
has_acceleration_limits: true
11+
max_acceleration: 1.00
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# ROS 2 Sim-to-Real Robot Control -> END-EFFECTOR SPECIFICATIONS (Schunk EGP-64)
2+
Limits:
3+
Max: 0.025
4+
Min: 0.00
5+
JointsVector: [1.0, 1.0]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SCHUNK EGP64-N-N-B GRIPPER, CRANFIELD UNIVERSITY
2+
3+
CONSIDERING BASE IS: X(0) Y(0) Z(0)...
4+
RIGHT FINGER BASE: X(-0.01272) Y(-0.0104) Z(0.02100) / RIGHT FINGER: X(-0.0245) Y(-0.0124) Z(0.02141)
5+
LEFT FINGER BASE: X(0.01848) Y(-0.01310) Z(0.02100) / LEFT FINGER: X(0.05653) Y(-0.0104) Z(0.02141)
81.5 KB
Binary file not shown.
1.17 MB
Binary file not shown.
1.25 MB
Binary file not shown.

0 commit comments

Comments
 (0)