Search found 632 matches

Go to advanced search

by pincy
Tue Mar 10, 2015 11:19 pm
Forum: How to... ?
Topic: Wheel rotation of mobile robot at 180 degree
Replies: 5
Views: 35905

Re: Wheel rotation of mobile robot at 180 degree

Hi, I am trying to rotate the robot at 180 degree on single step of simulation out of three buttons. What do you mean by "out of three buttons" ? But robot only move maximum of 30 degree at each time step. The code is given below: Real fLeftWheelSpeed, fRightWheelSpeed; fLeftWheelSpeed = m...
by pincy
Tue Mar 10, 2015 10:42 pm
Forum: How to... ?
Topic: Run RoboNetSim through the console
Replies: 6
Views: 11083

Re: Run RoboNetSim through the console

Hi Roberto, Here is the patch. You need to apply it to the argos2 sources. You find the original sources at this link: http://iridia.ulb.ac.be/argos/upload/releases/argos2-source-20120521.tar.bz2 . Open a terminal and type these commands: 1. Download the sources: $ wget http://iridia.ulb.ac.be/argos...
by pincy
Thu Mar 05, 2015 8:32 am
Forum: How to... ?
Topic: Examples
Replies: 1
Views: 5992

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

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. What...
by pincy
Tue Feb 17, 2015 7:30 pm
Forum: How to... ?
Topic: Run RoboNetSim through the console
Replies: 6
Views: 11083

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. Integratin...
by pincy
Tue Feb 17, 2015 12:41 am
Forum: How to... ?
Topic: Problem in initialization of Array
Replies: 1
Views: 6560

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 in the...
by pincy
Tue Feb 17, 2015 12:38 am
Forum: How to... ?
Topic: GPS Sensor
Replies: 1
Views: 5048

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_sensor.h ....
by pincy
Tue Feb 17, 2015 12:36 am
Forum: Bugs
Topic: Distance Scanner Actuator
Replies: 1
Views: 15737

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

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

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/ . That w...

Go to advanced search