Search found 632 matches

Go to advanced search

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

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

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

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

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

Re: Error initializing loop functions

It's fixed.
by pincy
Wed Jan 19, 2022 4:57 pm
Forum: How to... ?
Topic: Error when running kilobot_trajectory.argos
Replies: 10
Views: 38383

Re: Error when running kilobot_trajectory.argos

I have tried to modify that CMakeLists.txt replacing "ARGOS_COMPILE_QTOPENGL" with "ARGOS_QTOPENGL_FOUND", and at this point everithing is built. Yes, this is the correct fix. I am working on it now and will commit it soon. Plugins matching "kilobot": None found. This ...
by pincy
Tue Jan 18, 2022 5:40 pm
Forum: How to... ?
Topic: Error initializing loop functions
Replies: 3
Views: 7085

Re: Error initializing loop functions

There's a mistake in src/examples/loop_functions/CMakeLists.txt file. I'll fix it today as soon as I have a little time!
by pincy
Sat Jan 15, 2022 4:33 pm
Forum: How to... ?
Topic: The footbot doesn't receive message via range_and_bearing
Replies: 4
Views: 8405

Re: The footbot doesn't receive message via range_and_bearing

Oh, I just noticed that in one of the controllers you don't have the rab in the sensors. Add it, and it should work.
by pincy
Sat Jan 15, 2022 10:57 am
Forum: How to... ?
Topic: The footbot doesn't receive message via range_and_bearing
Replies: 4
Views: 8405

Re: The footbot doesn't receive message via range_and_bearing

By default, the RAB can send only 10 bytes. If a message is larger, it is discarded. Try increasing the message size by using the parameter rab_data_size of the foot-bot tag. All the details here:

Code: Select all

argos3 -q foot-bot

Go to advanced search