Package that enables end effector velocity commands for Piper arm for ROS2 Foxy
There is a known issue where the joint_state_broadcaster publishes joint states in a random order: ros-controls/ros2_controllers#159. Unofrtunately, the fix does not work for Foxy. Instead, make sure to launch a custom joint states publisher.
ros2 launch ee_velocity_controller jacobian_ee_control.launch.pyNote that there are a multiude of paramters you can pass in, inlcuding support for position control (such as what's used with MoveIt). Runros2 launch ee_velocity_controller jacobian_ee_control.launch.py --show-argumentsto see them.- In a separate terminal,
ros2 run ee_velocity_controller keyboard_relmove --ros-args -p scale_by:=0.1(where the scale by parameter is used to increase or decrease speed) (Note that rotation of the gripper, i.e., dtheta, is not supported yet.)
ros2 launch ee_velocity_controller servo_ee_control.launch.py. Wait until MoveIt servo is done loading.- In a separate terminal,
ros2 run ee_velocity_controller keyboard_relmove --ros-args -p scale_by:=0.1(where the scale by parameter is used to increase or decrease speed)
Process for downloading moveit for foxy
- create new directory
- git clone https://github.com/moveit/moveit2.git -b $ROS_DISTRO
- code moveit2/moveit2.repos --> change to the following: repositories: moveit_resources: type: git url: https://github.com/moveit/moveit_resources.git version: ros2
- for repo in moveit2/moveit2.repos $(f="moveit2/moveit2_$ROS_DISTRO.repos"; test -r $f && echo $f); do vcs import < "$repo"; done
- rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
- sudo apt install ros-$ROS_DISTRO-control-toolbox
ros-$ROS_DISTRO-moveit-resources-panda-moveit-config
ros-$ROS_DISTRO-moveit-resources-panda-description
ros-$ROS_DISTRO-moveit-resources-fanuc-moveit-config
ros-$ROS_DISTRO-moveit-resources-fanuc-description
ros-$ROS_DISTRO-ros-testing
ros-$ROS_DISTRO-eigen-stl-containers
ros-$ROS_DISTRO-geometric-shapes
ros-$ROS-DISTRO-launch-param-builder - colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release
- source install/setup.bash
- add install path to ~/.bashrc