[FATAL] Medium "leds" not found.

Requests regarding how to set up experiments in ARGoS.
Rluna319
Posts: 5
Joined: Sat Sep 17, 2022 9:33 pm

[FATAL] Medium "leds" not found.

Postby Rluna319 » Mon Sep 19, 2022 8:02 pm

Hi,

I am receiving the following errors when trying to test a new experiment.

[FATAL] Failed to initialize the space.
[FATAL] Error while trying to distribute entities
[FATAL] Failed to initialize entity "fb0".
[FATAL] Failed to initialize controllable entity "controller_0".
[FATAL] Can't set controller for controllable entity "controller_0"
[FATAL] Error initializing the LEDs default actuator
[FATAL] Medium "leds" not found.

I am using the argos3-examples repo from https://github.com/ilpincy/argos3-examples.

I have created a copy of the diffusion_10 experiment in argos. The difference in the experiment is that i am now calling the leds actuator to turn all LEDs red. The experiment is named uniquely to have no conflicts with existing experiments. I have included the led header and modified the new XML configuration file and cmake files accordingly (so i think). I followed the instructions given when running

Code: Select all

argos3 -q leds
. Everything builds and compiles with no errors. I have deleted the build directory and created it again per the instructions in the README.

Please let me know of any code or commands you require to help diagnose my issue.

Thank you!

pincy
Site Admin
Posts: 640
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: [FATAL] Medium "leds" not found.

Postby pincy » Mon Sep 19, 2022 8:36 pm

If you want to use the LEDs, you need to add the medium that handles them, as the error message suggests. Copy this example.
I made ARGoS.

Rluna319
Posts: 5
Joined: Sat Sep 17, 2022 9:33 pm

Re: [FATAL] Medium "leds" not found.

Postby Rluna319 » Tue Sep 20, 2022 4:37 pm

Oh wow how silly, I wasn't aware of that section. It's lightly mentioned in the documentation. I should've looked at the other examples more carefully. Thank you!

Phill37
Posts: 1
Joined: Wed Oct 26, 2022 1:24 pm

Re: [FATAL] Medium "leds" not found.

Postby Phill37 » Thu Oct 27, 2022 8:00 am

I had also missed this example. Now I just have to take a closer look.
My website : 3D Tube Porn


Return to “How to... ?”