Skip to content

Commit

Permalink
Merge pull request #27 from cc0h/master
Browse files Browse the repository at this point in the history
Merge 2024 engineer code.
  • Loading branch information
YoujianWu authored Sep 20, 2024
2 parents 6286f44 + dd3e111 commit 50c6d78
Show file tree
Hide file tree
Showing 67 changed files with 11,383 additions and 2,322 deletions.
969 changes: 969 additions & 0 deletions engineer.urdf

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions engineer2_arm_config/.setup_assistant
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
moveit_setup_assistant_config:
URDF:
package: rm_description
relative_path: urdf/engineer2/engineer2.urdf.xacro
xacro_args: ""
SRDF:
relative_path: config/engineer2.srdf
CONFIG:
author_name: Chonghong Cai
author_email: [email protected]
generated_timestamp: 1720344342
10 changes: 10 additions & 0 deletions engineer2_arm_config/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.1.3)
project(engineer2_arm_config)

find_package(catkin REQUIRED)

catkin_package()

install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
PATTERN "setup_assistant.launch" EXCLUDE)
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
5 changes: 5 additions & 0 deletions engineer2_arm_config/config/cartesian_limits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cartesian_limits:
max_trans_vel: 1
max_trans_acc: 2.25
max_trans_dec: -5
max_rot_vel: 1.57
18 changes: 18 additions & 0 deletions engineer2_arm_config/config/chomp_planning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
planning_time_limit: 10.0
max_iterations: 200
max_iterations_after_collision_free: 5
smoothness_cost_weight: 0.1
obstacle_cost_weight: 1.0
learning_rate: 0.01
smoothness_cost_velocity: 0.0
smoothness_cost_acceleration: 1.0
smoothness_cost_jerk: 0.0
ridge_factor: 0.0
use_pseudo_inverse: false
pseudo_inverse_ridge_factor: 1e-4
joint_update_limit: 0.1
collision_clearance: 0.2
collision_threshold: 0.07
use_stochastic_descent: true
enable_failure_recovery: false
max_recovery_attempts: 5
36 changes: 36 additions & 0 deletions engineer2_arm_config/config/engineer2.srdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--This does not replace URDF, and is not an extension of URDF.
This is a format for representing semantic information about the robot structure.
A URDF file must exist for this robot as well, where the joints and the links that are referenced are defined
-->
<robot name="engineer2">
<!--GROUPS: Representation of a set of joints and links. This can be useful for specifying DOF to plan for, defining arms, end effectors, etc-->
<!--LINKS: When a link is specified, the parent joint of that link (if it exists) is automatically included-->
<!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
<!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
<!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
<group name="engineer_arm">
<chain base_link="base_link" tip_link="link6"/>
</group>
<!--GROUP STATES: Purpose: Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms'-->
<group_state name="home" group="engineer_arm">
<joint name="joint1" value="0.0101"/>
<joint name="joint2" value="0"/>
<joint name="joint3" value="0"/>
<joint name="joint4" value="0"/>
<joint name="joint5" value="0"/>
<joint name="joint6" value="0"/>
</group_state>
<!--DISABLE COLLISIONS: By default it is assumed that any link of the robot could potentially come into collision with any other link in the robot. This tag disables collision checking between a specified pair of links. -->
<disable_collisions link1="link1" link2="link4" reason="User"/>
<disable_collisions link1="link5" link2="link6" reason="User"/>
<disable_collisions link1="base_link" link2="link1" reason="User"/>
<disable_collisions link1="link1" link2="link2" reason="User"/>
<disable_collisions link1="link1" link2="link3" reason="User"/>
<disable_collisions link1="link2" link2="link3" reason="User"/>
<disable_collisions link1="link3" link2="link4" reason="User"/>
<disable_collisions link1="link3" link2="link5" reason="User"/>
<disable_collisions link1="link4" link2="link5" reason="User"/>
<disable_collisions link1="link3" link2="link6" reason="User"/>
<disable_collisions link1="link4" link2="link6" reason="User"/>
</robot>
13 changes: 13 additions & 0 deletions engineer2_arm_config/config/fake_controllers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
controller_list:
- name: arm_trajectory_controller
type: $(arg fake_execution_type)
joints:
- joint1
- joint2
- joint3
- joint4
- joint5
- joint6
initial: # Define initial robot poses per group
- group: engineer_arm
pose: home
4 changes: 4 additions & 0 deletions engineer2_arm_config/config/gazebo_controllers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Publish joint_states
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 50
Loading

0 comments on commit 50c6d78

Please sign in to comment.