Page 1 of 1

Editing an existent robot

Posted: 03 Aug 2015, 18:19
by Masty
Hello everyone. I'm new in using V-REP. I'd like some help, regarding the next topic:

---> I'm trying to use an existent mobile robot (pioneer p3dx) so I can test some algorithms, but I need to remove some of the sensors from the p3dx. As a second case, I need to add more sensors into the p3dx, in different positions. <---

So far, I wasn't able to do it. (I've tryed for two days)

Any suggestion is much appreciated. Thanks in advance !

Re: Editing an existent robot

Posted: 04 Aug 2015, 00:04
by lshachar
Does this help?
Image

You can remove a sensor by deleting it, but you'd want to change the script accordingly.

Re: Editing an existent robot

Posted: 04 Aug 2015, 12:02
by Masty
Sorry, it does not.
To be more specific, after I import the robot into a new scene, I can only select the robot as one piece.

How I see the approach: I'd like to be able to select various parts from the robot, so I can add or remove some of them.

So...my questions still remain. Please help !

Re: Editing an existent robot

Posted: 04 Aug 2015, 15:05
by lshachar
I don't suppose you see the scene hierarchy then?

Image

Maybe post a screenshot if you still have issues?

Re: Editing an existent robot

Posted: 04 Aug 2015, 15:30
by Masty
Well, I shall elaborate more throught an example.

Image

I'd like to delete thouse two sensors from the model, and add them, let's say for an example, to the bottom of the robot, as seen in the picture.
Because it seems that it takes a bit long for the imagine to be uploaded into the post, I'll put the link of the picture here :

http://postimg.org/image/apda933ej

Re: Editing an existent robot

Posted: 04 Aug 2015, 18:34
by coppelia
Thanks Ishachar,

yes, this is the way to do it: select the item in the scene hierarchy and change its parent or position/orientation. Check for that also this dialog.

Finally, when you import a mesh from another format, you might end-up with a single imported mesh. You can try to subdivide it with [Menu bar --> Edit --> Grouping/merging... --> Divide selected shapes]. You can also use the shape edit mode for that.

Cheers