ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to command velocity in MoveIt!

asked 2016-01-21 14:09:45 -0600

Airuno2L gravatar image

updated 2016-01-21 14:41:38 -0600

Hello,

I'm trying to command an arm in MoveIt! using a 3D mouse. I'm not working with real hardware, or gazebo, its all using MoveIt!

So far I am able to get the current joint positions of the robot, then whenever I get input from the 3D mouse I use that as input for a KDL inverse kinematics velocity solver. From that, I am able to generate an array of joint velocities. Now my problem that I've been stumped on for a couple days is, what can I do with that velocity array to make the robot model move in RViz? I thought I could use robot_state.setVariableVelocity() for each of the joints but that doesn't work. I've tried robot_state.integrateVariableVelocity() and a number of other things, but no luck. Maybe I'm missing something simple but I've stared at the documentation for hours and can't figure out how this is suppose to be done.

Ultimately I want be able to command the arm with the mouse and have the system stop me before colliding with obstacles, but right now I'm really just trying to figure out how to tele-op an arm in moveit! using velocity control.

Any help would be appreciated, Thanks,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-03-29 06:19:08 -0600

130s gravatar image

updated 2017-03-29 06:19:19 -0600

Not a complete answer though, there's a few ways to manipulate scaling factor for velocity and acceleration. I don't know if there's a way to pass joint velocity.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2016-01-21 14:09:45 -0600

Seen: 4,205 times

Last updated: Mar 29 '17