eye bot

Requests regarding how to set up experiments in ARGoS.
jaffar
Posts: 16
Joined: Fri Nov 28, 2014 9:50 am
Location: Abbottabad
Contact:

eye bot

Postby jaffar » Thu Dec 11, 2014 3:31 pm

Hello!
How to add eye bot with some simple sensors and actuators in my XML file? If any example please share it.

Thanks

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

Re: eye bot

Postby pincy » Fri Dec 12, 2014 10:25 am

Hi Jaffar,

I don't understand your question. By 'adding simple sensors in the XML' you mean adding additional devices that do not exist in ARGoS? Or just using those that exist already?

In the second case, use the command

Code: Select all

$ launch_argos -q sensors
or

Code: Select all

$ launch_argos -q actuators
To see a list of available actuators. Launch the command

Code: Select all

$ launch_argos -q name_of_device
to get specific help on a device.

Cheers,
Carlo
I made ARGoS.

jaffar
Posts: 16
Joined: Fri Nov 28, 2014 9:50 am
Location: Abbottabad
Contact:

Re: eye bot

Postby jaffar » Mon Dec 15, 2014 5:42 pm

Hi Pincy!

I mean how can I add an eye bot in my arena? What would I write in .cpp and .h file.
If any code so please share with me.

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

Re: eye bot

Postby pincy » Mon Dec 15, 2014 8:53 pm

Have a look at the examples. To add robots, you can do it in the XML file or with the loop functions. Follow the examples in the order shown in the README, and you'll have a complete tutorial on how to use ARGoS.

Cheers
I made ARGoS.

jaffar
Posts: 16
Joined: Fri Nov 28, 2014 9:50 am
Location: Abbottabad
Contact:

Re: eye bot

Postby jaffar » Tue Dec 16, 2014 11:24 am

That examples are specific for foot bot, but I am trying to add an 'eye bot' in arena. How its possible to add an 'eye bot'.

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

Re: eye bot

Postby pincy » Tue Dec 16, 2014 11:33 am

Substitute foot-bot with eye-bot in the XML. Use the commands

Code: Select all

$ launch_argos -q sensors

Code: Select all

$ launch_argos -q actuators
to have a list of the devices, and

Code: Select all

$ launch_argos -q DEVICE_NAME
to have specific help on that device.

The logic of using an eye-bot is identical to that of using a foot-bot.

What exactly is the problem?
I made ARGoS.

jaffar
Posts: 16
Joined: Fri Nov 28, 2014 9:50 am
Location: Abbottabad
Contact:

Re: eye bot

Postby jaffar » Tue Dec 16, 2014 12:20 pm

I got it.

Thanks


Return to “How to... ?”