Search found 632 matches

Go to advanced search

by pincy
Wed Mar 25, 2015 12:21 pm
Forum: How to... ?
Topic: Two footbots with different controllers
Replies: 6
Views: 11822

Re: Two footbots with different controllers

Yes, it's possible. See this example in which two controllers are defined and two robots are added. One robot uses the first controller, the second robot uses the second. <argos-configuration> ... <controllers> <my_controller_1 id="c1"> ... controller configuration </my_controller_1> <my_c...
by pincy
Wed Mar 25, 2015 11:29 am
Forum: Bugs
Topic: Error while Compiling the ARGoS simulator
Replies: 6
Views: 30931

Re: Error while Compiling the ARGoS simulator

The error says that lua_rawlen is missing. This is a function defined in Lua 5.2 that was not present in Lua 5.1.

This means that Lua is not installed correctly on your system, because ARGoS still finds Lua 5.1.
by pincy
Thu Mar 19, 2015 1:13 pm
Forum: Bugs
Topic: Error while Compiling the ARGoS simulator
Replies: 6
Views: 30931

Re: Error while Compiling the ARGoS simulator

Hi,

Remove Lua 5.1 and install Lua 5.2.

Cheers,
Carlo
by pincy
Tue Mar 17, 2015 3:36 pm
Forum: How to... ?
Topic: Loop-function in Lua
Replies: 8
Views: 15272

Re: Loop-function in Lua

No problem, happy to help!
by pincy
Tue Mar 17, 2015 2:24 am
Forum: How to... ?
Topic: Loop-function in Lua
Replies: 8
Views: 15272

Re: Loop-function in Lua

The problem I am facing here is to make the robot search for these cylinders. I know there is a "robot-omnidirectional-camera" but how can use this in Lua to see a cylinder and go near it. On how to use the camera: Add the omnidirectional camera to the .argos file as shown in the <control...
by pincy
Sun Mar 15, 2015 8:55 pm
Forum: How to... ?
Topic: Loop-function in Lua
Replies: 8
Views: 15272

Re: Loop-function in Lua

I have some basic Lua examples here: http://iridia.ulb.ac.be/~cpinciroli/extra/h-414/ and the foraging example, even though it is written in C++, does most of what you describe. You could readapt the loop functions of the foraging example to do what you say. The only tricky part is to interface the ...
by pincy
Sun Mar 15, 2015 6:11 pm
Forum: How to... ?
Topic: Loop-function in Lua
Replies: 8
Views: 15272

Re: Loop-function in Lua

Hi,

Loop functions can't be coded in Lua (yet). They must be done in C++.

Wrapping all of ARGoS in Lua is a huge amount of work, and would kill performance sensibly. I'm studying solutions to avoid these problems, but for the time being C++ is the way.

Cheers,
Carlo
by pincy
Wed Mar 11, 2015 7:45 pm
Forum: How to... ?
Topic: Wheel rotation of mobile robot at 180 degree
Replies: 5
Views: 35117

Re: Wheel rotation of mobile robot at 180 degree

I just want to do because i want to make my mobile robot rotate easily at any angle to any grid out of 8 adjacent connected grids at one time step. If it is not possible in reality, then how it is going on in flocking example in argos2 simulator. I think you're misunderstanding. In the flocking exa...
by pincy
Wed Mar 11, 2015 7:43 pm
Forum: Bugs
Topic: Trouble with PhysX while building from current sources
Replies: 3
Views: 22547

Re: Trouble with PhysX while building from current sources

Hi,

I fixed the issue, thanks for spotting it!

Cheers,
Carlo
by pincy
Wed Mar 11, 2015 4:39 pm
Forum: Bugs
Topic: Trouble with PhysX while building from current sources
Replies: 3
Views: 22547

Re: Trouble with PhysX while building from current sources

Hi, It's weird that the compiler goes into the PhysX directory. I'm still working on this engine, and I explicitly commented out the add_subdirectory statement in the relevant CMakeFiles.txt (see https://github.com/ilpincy/argos3/blob/master/src/plugins/simulator/physics_engines/CMakeLists.txt). Hav...

Go to advanced search