Search found 636 matches

Go to advanced search

by pincy
Sat Jan 29, 2022 8:02 pm
Forum: How to... ?
Topic: Clarification on the operation of the ambient light sensor and distance from it
Replies: 5
Views: 15471

Re: Clarification on the operation of the ambient light sensor and distance from it

Did you notice the position of the light sensor on the kilobot,, and how that affects the calculation of the readings? Also the position of your light is at height zero, which is unusual.
by pincy
Sat Jan 29, 2022 5:49 pm
Forum: How to... ?
Topic: Clarification on the operation of the ambient light sensor and distance from it
Replies: 5
Views: 15471

Re: Clarification on the operation of the ambient light sensor and distance from it

The answer to all of your questions are in the original Kilobot paper and in the source code. I encourage you read both, they should make everything clear. what is the unit of measurement of the value specified in the <light> tag in the intensity attribute? It's an intensity multiplier. See this cod...
by pincy
Wed Jan 26, 2022 6:45 pm
Forum: How to... ?
Topic: Error while initializing light entity
Replies: 1
Views: 8195

Re: Error while initializing light entity

You found a bug, but fortunately there's a workaround. When you initialize the LED medium, try this: <led id="leds" grid_size="2, 2, 2" /> Essentially, what is happening is that the grid size to store the LED entities is calculated as 0 because your environment is smaller than 1m...
by pincy
Mon Jan 24, 2022 8:16 pm
Forum: How to... ?
Topic: Failed any_cast conversion from argos::CKilobotEntity* to argos::CDirectionalLEDEntity*
Replies: 7
Views: 23497

Re: Failed any_cast conversion from argos::CKilobotEntity* to argos::CDirectionalLEDEntity*

Yes, you should use the point, and then maybe get a different error if something else is off.
by pincy
Sun Jan 23, 2022 6:18 pm
Forum: How to... ?
Topic: Failed any_cast conversion from argos::CKilobotEntity* to argos::CDirectionalLEDEntity*
Replies: 7
Views: 23497

Re: Failed any_cast conversion from argos::CKilobotEntity* to argos::CDirectionalLEDEntity*

This line is wrong: CDirectionalLEDEntity* pcKBLED = any_cast<CDirectionalLEDEntity*>(it->second); You're casting it->second , which you have already cast in the previous line to CKilobotEntity . I would suggest you familiarize with C++ and casting before diving into ARGoS, and make sure understand ...
by pincy
Fri Jan 21, 2022 4:58 pm
Forum: How to... ?
Topic: Kilobot data and LoopFunction
Replies: 3
Views: 11414

Re: Kilobot data and LoopFunction

The code you've attached has a number of errors, e.g., you call the method CALF::Init() despite your class not being a subclass of CALF. The issues you're encountering seem to be more on C++ programming than ARGoS. I can't provide detailed support with external plugins like ARK. If you need specific...
by pincy
Thu Jan 20, 2022 11:36 pm
Forum: How to... ?
Topic: Kilobot data and LoopFunction
Replies: 3
Views: 11414

Re: Kilobot data and LoopFunction

I don't understand the problem, can you please provide accurate information? Exact error messages etc
by pincy
Wed Jan 19, 2022 5:02 pm
Forum: How to... ?
Topic: Error initializing loop functions
Replies: 3
Views: 7986

Re: Error initializing loop functions

It's fixed.

Go to advanced search