Search found 640 matches

Go to advanced search

by pincy
Thu Mar 05, 2015 8:32 am
Forum: How to... ?
Topic: Examples
Replies: 1
Views: 14588

Re: Examples

Hi,

Have a look at this page:

http://iridia.ulb.ac.be/~cpinciroli/extra/h-414/

Cheers,
Carlo
by pincy
Thu Feb 26, 2015 9:36 pm
Forum: How to... ?
Topic: Simulation
Replies: 1
Views: 14996

Re: Simulation

Hi,

The code you posted looks like a mixture of Lua-style comments and C++ code.

Can you be more specific on what you're trying to achieve and which errors you are encountering?

1. In which language are you trying to work? Lua or C++?
2. Are you trying to insert C++ code into the Lua editor?
3 ...
by pincy
Tue Feb 17, 2015 7:30 pm
Forum: How to... ?
Topic: Run RoboNetSim through the console
Replies: 6
Views: 29428

Re: Run RoboNetSim through the console

Hi,

Thanks for trying ARGoS out! :-)

Real-time execution is a feature that was added in ARGoS3, but unfortunately is not present in ARGoS2.

RoboNetSim has not been integrated with ARGoS3 yet, but it will in the future.

Two choices:

1. Patching ARGoS2 to have real-time execution (easy);
2 ...
by pincy
Tue Feb 17, 2015 12:41 am
Forum: How to... ?
Topic: Problem in initialization of Array
Replies: 1
Views: 14413

Re: Problem in initialization of Array

Hi,

I have made an array in header file. And initialize it with 0 in control step.

The method CCI_Controller::ControlStep() is executed in the main simulation loop. If you zero your array in this method, it will be zeroed every time step.

To zero the array only at init time, include your code ...
by pincy
Tue Feb 17, 2015 12:38 am
Forum: How to... ?
Topic: GPS Sensor
Replies: 1
Views: 12260

Re: GPS Sensor

Hi,

You can use the positioning sensor, which returns the current position (X,Y,Z) and orientation (as a quaternion) of a robot.

Try:

argos3 -q positioning

and have a look at the file https://github.com/ilpincy/argos3/blob/master/src/plugins/robots/generic/control_interface/ci_positioning ...
by pincy
Tue Feb 17, 2015 12:36 am
Forum: Bugs
Topic: Distance Scanner Actuator
Replies: 1
Views: 59145

Re: Distance Scanner Actuator

Hi,

You're not providing enough information to understand the cause of the error. Please include your code and the XML file you're using.

Cheers,
Carlo
by pincy
Mon Feb 16, 2015 5:13 am
Forum: How to... ?
Topic: Segmentation Fault in running Simulation
Replies: 1
Views: 14766

Re: Segmentation Fault in running Simulation

Hi,

In your code:


DataStorageArray[w][-0]=0.0f;
...
DataStorageArray[w][y]=0.0f;


These commands could be executed with values of w and y that exceed the array boundaries (e.g., the negative values in the for loops).

This means that you would write portions of memory that you shouldn't write ...
by pincy
Mon Jan 26, 2015 2:13 pm
Forum: How to... ?
Topic: Unable to Add New Class in Argos2 Existing Code
Replies: 4
Views: 26539

Re: Unable to Add New Class in Argos2 Existing Code

Hi,

Again, this is not an issue with ARGoS.


The main puurpose of doing is that i want to store the x and y point in hash table.


If you want to store your point class in a hash map, you could use the map definition provided by the standard library: http://www.cplusplus.com/reference/map/map ...
by pincy
Mon Jan 26, 2015 5:58 am
Forum: How to... ?
Topic: Unable to Add New Class in Argos2 Existing Code
Replies: 4
Views: 26539

Re: Unable to Add New Class in Argos2 Existing Code

Hi,

The problem you are encountering is not related to ARGoS. Rather, it's a syntax error in the use of templates.

You're trying to redefine the class std::hash<>, which you can't do because the class is already defined.

If you want to use the class std::hash<> with your class CCI_Point, you just ...
by pincy
Wed Jan 21, 2015 10:45 pm
Forum: How to... ?
Topic: Ray Lenght Issue
Replies: 2
Views: 17307

Re: Ray Lenght Issue

Hi,

The proximity sensor and the distance scanner are different sensors.

The proximity sensor is meant for short-range collision avoidance.

The distance scanner is meant for long-range object detection.

The foot-bot has a set ray length (it's a real robot, in which the range is given), so you ...

Go to advanced search