a2s-institute / youbot_simulation

Packages to run the KUKA youBot in the Gazebo simulation with ROS
23 stars 42 forks source link

Joint velocity control #18

Closed DharminB closed 2 years ago

DharminB commented 2 years ago

Additional dependency:

To launch youbot arm with joint vel controller

roslaunch youbot_gazebo_robot youbot_arm_only.launch use_traj_ctrl:=false

To launch entire youbot

roslaunch youbot_gazebo_robot youbot.launch use_traj_ctrl:=false

Launching with velocity controller allows direct control on individual arm joint velocities with brics_actuator/JointVelocities whereas the default uses trajectory controller which is used by moveit.

Unfortunately, both cannot be started at the same time since both controller would control the same joint and gazebo does not allow that.