Search found 632 matches

Go to advanced search

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: 11428

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 ne...
by pincy
Wed Jan 21, 2015 10:45 pm
Forum: How to... ?
Topic: Ray Lenght Issue
Replies: 2
Views: 8212

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 can't ...
by pincy
Sun Jan 11, 2015 5:15 am
Forum: How to... ?
Topic: Error while trying to run ARGoS3 examples
Replies: 6
Views: 13954

Re: Error while trying to run ARGoS3 examples

Hi,

You need to install ARGoS3 system-wide. You can do it following the instructions here: https://github.com/ilpincy/argos3#insta ... d-binaries.

Cheers!
Carlo
by pincy
Fri Jan 09, 2015 1:28 am
Forum: How to... ?
Topic: Run RoboNetSim through the console
Replies: 6
Views: 11084

Re: Run RoboNetSim through the console

Hi Roberto,

Running ARGoS without the GUI is actually pretty simple: remove the <qt-opengl> section from the XML file.

Cheers,
Carlo
by pincy
Fri Jan 09, 2015 1:27 am
Forum: How to... ?
Topic: No Sensor Reading
Replies: 2
Views: 7886

Re: No Sensor Reading

Hi,

The distance scanner is a device that comes as a pair sensor/actuator.

To activate the sensor, you need to call the enable methods in the actuator. These methods also set the angle and the rotation speeds.

Cheers,
Carlo
by pincy
Tue Dec 16, 2014 1:18 pm
Forum: How to... ?
Topic: intel_do_flush_locked failed Input/Output error
Replies: 2
Views: 9384

Re: intel_do_flush_locked failed Input/Output error

This is not a problem with ARGoS. It's a problem with your OpenGL drivers.
by pincy
Tue Dec 16, 2014 12:52 pm
Forum: How to... ?
Topic: Distance Scannar Sensor
Replies: 8
Views: 17131

Re: Distance Scannar Sensor

I thought you were using ARGoS3. In ARGoS2: const CCI_FootBotDistanceScannerSensor::TReadingsMap& tReads = m_ds->GetShortReadingsMap(); CVector2 cAccumulator; for(CCI_FootBotDistanceScannerSensor::TReadingsMap::const_iterator it = tReads.begin(); it != tReads.end(); ++it) { printf("%f\t%f\t...
by pincy
Tue Dec 16, 2014 11:59 am
Forum: How to... ?
Topic: Distance Scannar Sensor
Replies: 8
Views: 17131

Re: Distance Scannar Sensor

The problem with your code is that the distance scanner returns a different data structure with respect to the proximity sensor. A way to fix the compilation issue you have is the following: const CCI_FootBotDistanceScannerSensor::TReadingsMap& tReads = m_ds->GetShortReadingsMap(); CVector2 cAcc...
by pincy
Tue Dec 16, 2014 11:33 am
Forum: How to... ?
Topic: eye bot
Replies: 6
Views: 11244

Re: eye bot

Substitute foot-bot with eye-bot in the XML. Use the commands $ launch_argos -q sensors $ launch_argos -q actuators to have a list of the devices, and $ 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 exac...
by pincy
Mon Dec 15, 2014 10:25 pm
Forum: How to... ?
Topic: Distance Scannar Sensor
Replies: 8
Views: 17131

Re: Distance Scannar Sensor

The data structure you use to post-process the data depends on the type of behavior you're developing. It's impossible to reply in general. For the proximity sensors, for instance, it's not always true that one casts the values as CVector2. The same applies for the distance scanner. The distance sca...

Go to advanced search