Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argos3.0.0-beta53 sim problem #3

Open
goupil35000 opened this issue Mar 20, 2019 · 2 comments
Open

argos3.0.0-beta53 sim problem #3

goupil35000 opened this issue Mar 20, 2019 · 2 comments

Comments

@goupil35000
Copy link

Hi,
I installed argos3.0.0-beta53 on a fresh install of ubuntu 18.04.2.

I'm able to use thymio robot, but it doesn't work for khepera (I only look at the simulation part).
Installation of khepera is ok.

I launch one of the two argos files I found in the directory:
argos3 -c src/testing/testexperiment.argos

All is ok until FATAL.

[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_kheperaiv.so"
...
[INFO] The physics engine "dyn2d" will perform 10 iterations per tick (dt = 0.01 sec)
[FATAL] Failed to initialize the space.
[FATAL] Error while trying to distribute entities
[FATAL] Failed to initialize entity "khiv0".
[FATAL] Failed to initialize controllable entity "controller_0".
[FATAL] Can't set controller for controllable entity "controller_0"
[FATAL] Symbol "kheperaiv_diffusion_controller" not found

It seems that the version here is 0.0.1beta. Is-it the only version ? Is-it completely working ? Could you tell me if it's an issue and how to find a solution please ?

Thanks for answer.

Goupil

@ilpincy
Copy link
Owner

ilpincy commented Mar 20, 2019

The error that you got is due to the fact that ARGoS cannot find an example controller. There does not seem to be any problem in the way you installed the plugin, or in ARGoS.

Verify that the file build/testing/libkheperaiv_diffusion.so exists; if not, enter the build directory and type make.

@Kokolokoli
Copy link

Kokolokoli commented Mar 23, 2023

For the record,
I got the same error when I did not install Buzz before trying to launch argos with the kheperaiv plugin.

After a make clean on the kheperaiv build files and a manual cleaning of the installed kheperaiv files in /usr/local/, i installed buzz and then followed the kheperaiv instructions from the start, and everything worked.

Note, buzz should be installed before one compiles kheperaiv, or else it seems some kheperaiv CMake flags wont trigger and you will have the same error but this time the buzz_controller_kheperaiv controller will be missing (see this file for details). Perhaps this warning could be added to the README the same way buzz did for argos integration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants