Search found 65 matches

Go to advanced search

by Waqar731
Tue Dec 16, 2014 12:17 pm
Forum: How to... ?
Topic: Distance Scannar Sensor
Replies: 8
Views: 17049

Re: Distance Scannar Sensor

Hello I just copy and paste your code. 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\n&qu...
by Waqar731
Tue Dec 16, 2014 11:42 am
Forum: How to... ?
Topic: Distance Scannar Sensor
Replies: 8
Views: 17049

Re: Distance Scannar Sensor

I have the following code whose purpose is to get readings from the Distance_Scannar_Sensor. const CCI_FootBotDistanceScannerSensor::TReadingsMap& tProxReads = m_ds->GetShortReadingsMap(); CVector2 cAccumulator; for(size_t i = 0; i < tProxReads.size(); ++i) { printf("%d\t%f\t\n",tProxR...
by Waqar731
Sat Dec 13, 2014 6:58 pm
Forum: How to... ?
Topic: Distance Scannar Sensor
Replies: 8
Views: 17049

Distance Scannar Sensor

Hello I have difficulty in finding the particular data type for the map values. For example i have the following line of code const CCI_FootBotDistanceScannerSensor::TReadingsMap& tProxReads = m_ds->GetShortReadingsMap(); What will be the preferable data type for GetShortReadingsMap() Like proxi...
by Waqar731
Fri Nov 21, 2014 8:42 pm
Forum: How to... ?
Topic: Pathfinding
Replies: 10
Views: 19412

Unable to Increase length of Proximity sensor rays in Argos

Hello!
I am trying to increase the length of rays shot by proximity sensor using Argos 2 Simulator.
Special thanks to all of you.
by Waqar731
Fri Nov 21, 2014 8:10 pm
Forum: How to... ?
Topic: avoid arena
Replies: 1
Views: 6292

Re: avoid arena

You can use Proximity Sensor to detect obstacle, and can avoid by turning at an angle. See Diffusion Example of Sir Carlo Pinciroli

Go to advanced search