Page 1 of 1
eye bot
Posted: Thu Dec 11, 2014 3:31 pm
by jaffar
Hello!
How to add eye bot with some simple sensors and actuators in my XML file? If any example please share it.
Thanks
Re: eye bot
Posted: Fri Dec 12, 2014 10:25 am
by pincy
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
or
To see a list of available actuators. Launch the command
to get specific help on a device.
Cheers,
Carlo
Re: eye bot
Posted: Mon Dec 15, 2014 5:42 pm
by jaffar
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.
Re: eye bot
Posted: Mon Dec 15, 2014 8:53 pm
by pincy
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
Re: eye bot
Posted: Tue Dec 16, 2014 11:24 am
by jaffar
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'.
Re: eye bot
Posted: Tue Dec 16, 2014 11:33 am
by pincy
Substitute foot-bot with eye-bot in the XML. Use the commands
to have a list of the devices, and
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?
Re: eye bot
Posted: Tue Dec 16, 2014 12:20 pm
by jaffar
I got it.
Thanks