Control the Manipulator by RosInterface

Requests or suggestions for new features
Post Reply
fei_6
Posts: 1
Joined: 09 Sep 2016, 04:08

Control the Manipulator by RosInterface

Post by fei_6 »

Hello,evreyone!

I am a beginner of vrep, but I want to use ROS to control the manipulator in vrep. I have used the vrep_ros_bridge to do the things, and I am going to use the RosInterface for control. So is there any example for me to learn how to control the joint of manipulator by RosInterface?

Thank you for the attention and I look forward to hearing from you.

Cong Wang

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: Control the Manipulator by RosInterface

Post by coppelia »

Hello,

the first thing is to decide of a message you want to use. Then, you need to intercept that message in V-REP, and translate it into joint movements.
A good start would be the demo scene rosInterfaceTopicPublisherAndSubscriber.ttt: that scene subscribes to a sensor_msgs/Image message and applies the received data in V-REP.

The procedure of what you need to do is similar, but for a different message type (and different API functions).

Cheers

Post Reply