This package provides the utility for cartesian trajectory tracking by a robotic manipulator (UR3 COBOT). Currently, only the position of the end effector can be controlled.
The trajectory points are geometry_msgs/PointStamped
.
The generation of the commands is based on two frameworks.
-
P Controller: The P controller generates velocities based on the spatial error between the control points and the end effector's current position.
-
PD Controller: The PD controller generates velocities based on computed acceleration. The acceleration is constructed by the spatial error between the control points and the end effector's current position, and the end effector's current velocity.
Once the end effector's commanded velocities have been computed, they are sent to a Cartesian Velocity Controller, which accepts cartesian velocity commands.
This repo depends on:
- End effector state msgs here.
-
In a terminal run
roslaunch cartesian_trajectory_tracking cartesian_trajectory_tracking.launch
-
Arguments
- p_control: true if P Controller is used (false for PD)
- gazebo: true if running Gazebo