Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
2d8ac13
Add ros2_control block for Articulable Fork, and initial positions
jjaime2 Nov 13, 2024
2f9129a
Add Articulable Fork info to SRDF
jjaime2 Nov 13, 2024
e6d962e
Add Articulable Fork mock controllers
jjaime2 Nov 13, 2024
8e0769a
Add af_ros2_control and fix readonly param
jjaime2 Nov 13, 2024
7e876aa
Fix indentation
jjaime2 Nov 13, 2024
3bb0bc9
Fix namespace conflict by renaming ada_hardware::DynamixelHardware to…
jjaime2 Nov 14, 2024
e7fa968
Merge branch 'jjaime2/dynamixel_hw_interface' into jjaime2/articulabl…
jjaime2 Nov 14, 2024
1ab1440
Merge branch 'jjaime2/dynamixel_hw_interface' into jjaime2/articulabl…
jjaime2 Nov 14, 2024
301926f
Add PickIK kinematics solver for articulable_fork group
jjaime2 Nov 14, 2024
7907726
Add OMPL planner for Articulable Fork
jjaime2 Nov 15, 2024
678d95d
Add af_velocity_controller and af_joint_trajectory_controller, add hy…
jjaime2 Nov 17, 2024
1e243d2
Change mock controllers for AF
jjaime2 Nov 17, 2024
b50e25a
Add planning group for ADA + AF end-to-end control
jjaime2 Nov 18, 2024
bfb28ee
Add spacing
jjaime2 Nov 20, 2024
d3f4391
Add mock jaco_af_controller and jaco_af_cartesian_controller
jjaime2 Nov 20, 2024
f9ec2af
Rename move group all to jaco_af
jjaime2 Nov 20, 2024
2b17d17
Add jaco_af OMPL planning
jjaime2 Nov 20, 2024
926943f
Add jaco_af PickIkPlugin
jjaime2 Nov 24, 2024
3d3c8cd
Change Jaco+AF cartesian controller to damped least squares, Remove o…
jjaime2 Nov 24, 2024
4f2396f
Use Jaco+AF move group for mock servo control
jjaime2 Nov 24, 2024
c414d0e
Add Jaco+AF MoveIt2 controllers, Remove old AF MoveIt2 controllers
jjaime2 Nov 24, 2024
3a98276
Use Jaco+AF move group for real servo control
jjaime2 Nov 24, 2024
d851430
Use Jaco+AF cartesian control for keyboard tele-op
jjaime2 Nov 24, 2024
e537c76
Add AF joints to servo republisher
jjaime2 Nov 24, 2024
eb8d630
Add real Jaco+AF controllers
jjaime2 Nov 24, 2024
8054301
Update to selectively_damped_least_squares
jjaime2 Nov 25, 2024
507a530
Update hybrid_controllers
jjaime2 Nov 25, 2024
260e945
Add hybrid servo yaml file
jjaime2 Nov 27, 2024
fb7b8c5
Add OverPlate configuration
jjaime2 Nov 29, 2024
32b4ddb
Add script to command twists
jjaime2 Nov 29, 2024
1a43bf9
Add OverPlate configuration to initial positions
jjaime2 Nov 29, 2024
a8aea27
Add frame_id argument to ada_twist_teleop
jjaime2 Dec 2, 2024
ebc95f3
TEMP: Set default velocity scaling factor to 1.0
jjaime2 Dec 7, 2024
a402eec
Remove jaco_af controllers, add af controllers
jjaime2 Dec 7, 2024
2fda537
Update MoveIt controllers to use af controllers
jjaime2 Dec 7, 2024
0e5f8bc
Update OMPL planners to use articulable_fork move group
jjaime2 Dec 7, 2024
adcf2a2
Remove af_cartesian_controller
jjaime2 Dec 7, 2024
197dfcc
Revert to using jaco_arm_cartesian_controller for keyboard tele-op
jjaime2 Dec 9, 2024
80c710f
Fix typo in jaco_arm_servo_controller
jjaime2 Dec 9, 2024
477a47d
Remove articulable_fork.launch.py
jjaime2 Dec 9, 2024
45be0b4
Merge branch 'jjaime2/dynamixel_hw_interface' into jjaime2/articulabl…
jjaime2 Dec 12, 2024
4d3b048
Cleanup
jjaime2 Dec 12, 2024
062356b
Add configuration for end_effector_tool
jjaime2 Dec 13, 2024
3ba9ae2
Merge branch 'jjaime2/articulable_fork_description' into jjaime2/arti…
jjaime2 Dec 14, 2024
ed730e0
Use updated ada macro
jjaime2 Dec 14, 2024
b6821e2
Update launch files to enable end_effector_tool parameterization
jjaime2 Dec 15, 2024
0fae939
Rename jaco_af move group to ada
jjaime2 Dec 16, 2024
e0e18c9
Merge branch 'jjaime2/dynamixel_hw_interface' into jjaime2/articulabl…
jjaime2 Dec 18, 2024
69d0976
Disable collision between af_link_base and forkHandle
jjaime2 Dec 18, 2024
ef1592b
Run pre-commit
jjaime2 Dec 18, 2024
669aa7d
Only load Dynamixel hardware interface if end_effector_tool is set to…
jjaime2 Dec 20, 2024
8852f74
Revert "Only load Dynamixel hardware interface if end_effector_tool i…
jjaime2 Dec 20, 2024
a902c0b
Configure semantic robot description with end_effector_tool
jjaime2 Dec 20, 2024
40a4a66
Change IMU serial port to /dev/ttyUSB1 to avoid conflict with Articul…
jjaime2 Jan 14, 2025
5b6a167
Merge branch 'main' into jjaime2/articulable_fork_moveit
jjaime2 Jan 14, 2025
2f9bc66
Remove end_effector_tool choice none since controlling the ada move g…
jjaime2 Jan 15, 2025
6eacdd7
Remove redundant list of choices in end_effector_tool launch argument
jjaime2 Jan 15, 2025
b83256a
Merge branch 'jjaime2/dynamixel_hw_interface' into jjaime2/articulabl…
jjaime2 Jan 15, 2025
311e409
Address pylint warnings
jjaime2 Jan 15, 2025
7301d24
Merge branch 'jjaime2/dynamixel_hw_interface' into jjaime2/articulabl…
jjaime2 Jan 29, 2025
219f0ff
Remove base_parent argument when instantiating ada macro
jjaime2 Jan 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add af_velocity_controller and af_joint_trajectory_controller, add hy…
…brid control mode
  • Loading branch information
jjaime2 committed Nov 17, 2024
commit 678d95ddb9dfd7d07b0ab1f8f21c2ba5788e1851
10 changes: 10 additions & 0 deletions ada_moveit/config/ada.ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<xacro:if value="${sim == 'real'}">
<plugin>ada_hardware/Jaco2</plugin>
</xacro:if>
<xacro:if value="${sim == 'hybrid'}">
<plugin>mock_components/GenericSystem</plugin>
<param name="mock_sensor_commands">false</param>
<param name="state_following_offset">0.0</param>
</xacro:if>
</hardware>
<joint name="j2n6s200_joint_1">
<command_interface name="position"/>
Expand Down Expand Up @@ -149,6 +154,11 @@
<param name="usb_port">/dev/ttyUSB0</param>
<param name="baud_rate">1000000</param>
</xacro:if>
<xacro:if value="${sim == 'hybrid'}">
<plugin>dynamixel_hardware/DynamixelHardware</plugin>
<param name="usb_port">/dev/ttyUSB0</param>
<param name="baud_rate">1000000</param>
</xacro:if>
</hardware>

<joint name="af_joint_1">
Expand Down
126 changes: 126 additions & 0 deletions ada_moveit/config/hybrid_controllers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
# This config file is used by ros2_control
controller_manager:
ros__parameters:
update_rate: 100 # Hz

jaco_arm_controller:
type: force_gate_controller/ForceGateController


jaco_arm_servo_controller:
type: force_gate_controller/ForceGatePositionController


hand_controller:
type: joint_trajectory_controller/JointTrajectoryController


joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaster


jaco_arm_cartesian_controller:
type: cartesian_twist_controller/CartesianTwistController


af_velocity_controller:
type: velocity_controllers/JointGroupVelocityController

af_joint_trajectory_controller:
type: joint_trajectory_controller/JointTrajectoryController

jaco_arm_cartesian_controller:
ros__parameters:
end_effector_link: "j2n6s200_end_effector"
robot_base_link: "j2n6s200_link_base"
ik_solver: "selectively_damped_least_squares"
joints:
- j2n6s200_joint_1
- j2n6s200_joint_2
- j2n6s200_joint_3
- j2n6s200_joint_4
- j2n6s200_joint_5
- j2n6s200_joint_6
command_interfaces:
- position

jaco_arm_controller:
ros__parameters:
joints:
- j2n6s200_joint_1
- j2n6s200_joint_2
- j2n6s200_joint_3
- j2n6s200_joint_4
- j2n6s200_joint_5
- j2n6s200_joint_6
command_interfaces:
- position
state_interfaces:
- position
allow_partial_joints_goal: false
open_loop_control: false
stopped_velocity_tolerance: 0.01
# No gains on position interface
j2n6s200_joint_1:
goal: 0.02
trajectory: 0.05
j2n6s200_joint_2:
goal: 0.02
trajectory: 0.05
j2n6s200_joint_3:
goal: 0.02
trajectory: 0.05
j2n6s200_joint_4:
goal: 0.02
trajectory: 0.05
j2n6s200_joint_5:
goal: 0.02
trajectory: 0.05
j2n6s200_joint_6:
goal: 0.02
trajectory: 0.05

jaco_arm_servo_controller:
ros__parameters:
joints:
- j2n6s200_joint_1
- j2n6s200_joint_2
- j2n6s200_joint_3
- j2n6s200_joint_4
- j2n6s200_joint_5
- j2n6s200_joint_6

af_velocity_controller:
ros__parameters:
joints:
- af_joint_1
- af_joint_2

af_joint_trajectory_controller:
ros__parameters:
joints:
- af_joint_1
- af_joint_2

command_interfaces:
- position

state_interfaces:
- position

hand_controller:
ros__parameters:
joints:
- j2n6s200_joint_finger_1
- j2n6s200_joint_finger_2
command_interfaces:
- position
state_interfaces:
- position
allow_partial_joints_goal: false
open_loop_control: false
constraints:
stopped_velocity_tolerance: 0.01
gains: # Required because we're controlling a velocity interface
j2n6s200_joint_finger_1: {p: 1.0, d: 0.0, i: 0.0, i_clamp: 1.0}
j2n6s200_joint_finger_2: {p: 1.0, d: 0.0, i: 0.0, i_clamp: 1.0}
8 changes: 4 additions & 4 deletions ada_moveit/config/moveit_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ moveit_simple_controller_manager:
- jaco_arm_controller
- jaco_arm_cartesian_controller
- jaco_arm_servo_controller
- articulable_fork_controller
- articulable_fork_cartesian_controller
- af_velocity_controller
- af_joint_trajectory_controller
- hand_controller

jaco_arm_controller:
Expand Down Expand Up @@ -47,15 +47,15 @@ moveit_simple_controller_manager:
- j2n6s200_joint_5
- j2n6s200_joint_6

articulable_fork_controller:
af_velocity_controller:
type: FollowJointTrajectory
action_ns: follow_joint_trajectory
default: true
joints:
- af_joint_1
- af_joint_2

articulable_fork_cartesian_controller:
af_joint_trajectory_controller:
type: ""
action_ns: cart_commands
default: false
Expand Down
15 changes: 0 additions & 15 deletions ada_moveit/config/ompl_planning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,6 @@ jaco_arm:
- TRRTkConfigDefault
- PRMkConfigDefault
- PRMstarkConfigDefault
articulable_fork:
enforce_constrained_state_space: true
projection_evaluator: joints(j2n6s200_joint_1,j2n6s200_joint_2)
planner_configs:
- SBLkConfigDefault
- ESTkConfigDefault
- LBKPIECEkConfigDefault
- BKPIECEkConfigDefault
- KPIECEkConfigDefault
- RRTkConfigDefault
- RRTConnectkConfigDefault
- RRTstarkConfigDefault
- TRRTkConfigDefault
- PRMkConfigDefault
- PRMstarkConfigDefault
hand:
enforce_constrained_state_space: true
projection_evaluator: joints(j2n6s200_joint_1,j2n6s200_joint_2)
Expand Down
48 changes: 13 additions & 35 deletions ada_moveit/config/real_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ controller_manager:
type: cartesian_twist_controller/CartesianTwistController


articulable_fork_controller:
type: force_gate_controller/ForceGateController


articulable_fork_cartesian_controller:
type: cartesian_twist_controller/CartesianTwistController
af_velocity_controller:
type: velocity_controllers/JointGroupVelocityController

af_joint_trajectory_controller:
type: joint_trajectory_controller/JointTrajectoryController

jaco_arm_cartesian_controller:
ros__parameters:
Expand Down Expand Up @@ -108,43 +106,23 @@ jaco_arm_servo_controller:
topic: /wireless_ft/ftSensor3
fMag: 1.0

articulable_fork_cartesian_controller:
ros__parameters:
end_effector_link: "forkTip"
robot_base_link: "af_link_base"
ik_solver: "selectively_damped_least_squares"
joints:
- af_joint_1
- af_joint_2
command_interfaces:
- velocity
af_velocity_controller:
ros__parameters:
joints:
- af_joint_1
- af_joint_2

articulable_fork_controller:
af_joint_trajectory_controller:
ros__parameters:
joints:
- af_joint_1
- af_joint_2

command_interfaces:
- velocity
- position

state_interfaces:
- position
- velocity
allow_partial_joints_goal: false
open_loop_control: false
stopped_velocity_tolerance: 0.01
gains: # Required because we're controlling a velocity interface
j2n6s200_joint_1: {p: 4.0, d: 0.0, i: 0.0, i_clamp: 1.0, normalize_error: true}
j2n6s200_joint_2: {p: 4.0, d: 0.0, i: 0.0, i_clamp: 1.0, normalize_error: true}
j2n6s200_joint_3: {p: 4.0, d: 0.0, i: 0.0, i_clamp: 1.0, normalize_error: true}
j2n6s200_joint_4: {p: 4.0, d: 0.0, i: 0.0, i_clamp: 1.0, normalize_error: true}
j2n6s200_joint_5: {p: 4.0, d: 0.0, i: 0.0, i_clamp: 1.0, normalize_error: true}
j2n6s200_joint_6: {p: 4.0, d: 0.0, i: 0.0, i_clamp: 1.0, normalize_error: true}
af_joint_1:
goal: 0.02
trajectory: 0.05
af_joint_2:
goal: 0.02
trajectory: 0.05

hand_controller:
ros__parameters:
Expand Down
Loading