How to attach an entity to a FootBot?

Requests regarding how to set up experiments in ARGoS.
Willy Hou
Posts: 4
Joined: Tue Nov 17, 2020 11:45 pm

How to attach an entity to a FootBot?

Postby Willy Hou » Wed Mar 10, 2021 3:06 pm

Is there a way in the loopfunction I could permanently attach an entity such as a cylinder to an anchor point on the FootBot such that other robots could observe this cylinder as it is being carried by the FootBot it is attached to?

pincy
Site Admin
Posts: 512
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: How to attach an entity to a FootBot?

Postby pincy » Wed Mar 10, 2021 3:17 pm

Check the gripping example.
I made ARGoS.

Willy Hou
Posts: 4
Joined: Tue Nov 17, 2020 11:45 pm

Re: How to attach an entity to a FootBot?

Postby Willy Hou » Wed Mar 10, 2021 3:44 pm

Check the gripping example.
Thanks for the reply. I wonder is there a way to initialize the FootBot and then immediately configure a cylinder entity to be attached to an anchor point say at the origin of the robot's body not using the gripper tool. I believe using the gripper will result in the cylinder being attached to the location defined by the gripper tool.

pincy
Site Admin
Posts: 512
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: How to attach an entity to a FootBot?

Postby pincy » Wed Mar 10, 2021 3:59 pm

The physics engines allow it, but you need to delve into them from the loop functions. For example, you could add a joint between the cylinder and foot-bot bodies. Or you can initialize the foot-bot close to the cylinder and lock the gripper.
I made ARGoS.


Return to “How to... ?”