Ask Your Question
0

How to use Twist messages in robo-arm?

asked 2015-06-25 03:47:50 -0600

tambel gravatar image

Hello. We have arm with servo joints,we are writing controller for it, and i don't know how correctly apply Twist messages,to control it.

Some questions:

1)If task is only to rotate angles of servos , i need only "angular" field of Twist?

2) If arm has 4 servos, i have to send 4 Twist for each of them? How should i do this? Arrays, separated topics or otherwise?

3) Twist not used for this tasks and this questions don't make sense.

I will be appreciate any advice. Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-25 03:55:18 -0600

gvdhoorn gravatar image

updated 2015-06-25 03:56:48 -0600

I'm not sure, but I don't think its usually the case that manipulators expose a geometry_msgs/Twist interface. So i'd go for your option 3.

Most of the planners ROS uses out-of-the-box generate plans in joint space, so a trajectory_msgs/JointTrajectory interface would seem like a logical thing to have. You can probably look at some other implementations for inspiration.


Edit: if you're starting from scratch: be sure to take a look at ros_control, and for arms/manipulators, the joint_trajectory_controller. Could save you a lot of work.

edit flag offensive delete link more

Comments

Thank you, it really helps!

tambel gravatar imagetambel ( 2015-06-25 04:19:03 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-06-25 03:47:50 -0600

Seen: 101 times

Last updated: Jun 25 '15