No package 'argos3_simulator' found

Requests regarding how to set up experiments in ARGoS.
pincy
Site Admin
Posts: 604
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: No package 'argos3_simulator' found

Postby pincy » Sun Jan 09, 2022 6:41 am

Alright, I made a patch that should solve your problem. Proceed as follows:

Code: Select all

# 1. make sure you start with the kilobot from scratch rm -rf argos3-kilobot # 2. clone the repository you want git clone https://github.com/mstalamali/argos3-kilobot # 3. download the attached patch and make sure to put it in argos3-kilobot # 4. apply the patch cd argos3-kilobot patch -p1 < patch.txt # 5. compile as usual mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release ../src make sudo make install # 6. verify that the kilobot is installed argos3 -q kilobot
Attachments
patch.txt
Patch to make the ARK code work
(92.56 KiB) Downloaded 81 times
I made ARGoS.

AntonioC
Posts: 48
Joined: Mon Aug 30, 2021 7:02 pm

Re: No package 'argos3_simulator' found

Postby AntonioC » Tue Jan 11, 2022 4:34 pm

Thank you very much for your availability.

AntonioC
Posts: 48
Joined: Mon Aug 30, 2021 7:02 pm

Re: No package 'argos3_simulator' found

Postby AntonioC » Wed Jan 12, 2022 2:25 pm

I performed the procedure you wrote to me.
It has been running the command for almost 24 hours without printing any output. is this normal or is there some problem?

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

Re: No package 'argos3_simulator' found

Postby pincy » Wed Jan 12, 2022 2:48 pm

I wrote several commands, so it's hard to guess which one has been running for so long.

Check command 4, the "patch" one: please notice the < character: it must be there, or the command will wait for keyboard input forever.
I made ARGoS.

AntonioC
Posts: 48
Joined: Mon Aug 30, 2021 7:02 pm

Re: No package 'argos3_simulator' found

Postby AntonioC » Wed Jan 12, 2022 4:30 pm

Ok I forgot the < symbol.
I came up with a series of questions and the only options were [n]. I have always typed n.
When I ran the command

Code: Select all

cmake -DCMAKE_BUILD_TYPE = Release ../src
the following output appeared

Code: Select all

antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot/build$ cmake -DCMAKE_BUILD_TYPE=Release ../src -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found ARGoS: /usr/lib/argos3/libargos3core_simulator.so -- Found DLFCN: /usr/lib/x86_64-linux-gnu/libdl.so -- Found Pthreads: /usr/lib/x86_64-linux-gnu/libpthread.so -- Found FreeImage: -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so -- Found Qt5: version -- Found Qt5Widgets: version 5.9.5 -- Found Qt5Gui: version 5.9.5 -- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.3.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.3.3") -- Found rt: /usr/lib/x86_64-linux-gnu/librt.so fatal: No names found, cannot describe anything. fatal: No names found, cannot describe anything. fatal: No names found, cannot describe anything. fatal: No names found, cannot describe anything. CMake Error at plugins/robots/kilobot/CMakeLists.txt:57 (include): include could not find load file: ARGoSCheckQTOpenGL -- Configuring incomplete, errors occurred! See also "/home/antonio/argos3-kilobot/build/CMakeFiles/CMakeOutput.log".

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

Re: No package 'argos3_simulator' found

Postby pincy » Wed Jan 12, 2022 4:43 pm

I don't know what happened, but the patch command failed. Start over: delete the argos3-kilobot folder and try the patch command again. Please share the exact output of that command – the more you make me guess, the less helpful I can be.
I made ARGoS.

AntonioC
Posts: 48
Joined: Mon Aug 30, 2021 7:02 pm

Re: No package 'argos3_simulator' found

Postby AntonioC » Wed Jan 12, 2022 5:20 pm

Code: Select all

antonio@antonio-Lenovo-V110-15AST:~$ rm -rf argos3-kilobot antonio@antonio-Lenovo-V110-15AST:~$ git clone https://github.com/mstalamali/argos3-kilobot Cloning into 'argos3-kilobot'... remote: Enumerating objects: 875, done. remote: Total 875 (delta 0), reused 0 (delta 0), pack-reused 875 Receiving objects: 100% (875/875), 4.48 MiB | 3.76 MiB/s, done. Resolving deltas: 100% (418/418), done. antonio@antonio-Lenovo-V110-15AST:~$ cd argos3-kilobot antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot$ ls doc patch.txt README.md src TODO.md antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot$ patch -p1 < patch.txt patching file src/CMakeLists.txt patching file src/cmake/ARGoSBuildChecks.cmake patching file src/cmake/ARGoSBuildFlags.cmake patching file src/cmake/ARGoSPackaging.cmake The next patch would delete the file src/examples/loop_functions/ARK_loop_functions/clustering/.DS_Store, which does not exist! Assume -R? [n]

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

Re: No package 'argos3_simulator' found

Postby pincy » Wed Jan 12, 2022 5:58 pm

That file is useless, so you can reply "n" for no. Also you can manually delete that file, it shouldn't be there.
I made ARGoS.

AntonioC
Posts: 48
Joined: Mon Aug 30, 2021 7:02 pm

Re: No package 'argos3_simulator' found

Postby AntonioC » Wed Jan 12, 2022 6:18 pm

Code: Select all

antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot$ patch -p1 < patch.txt patching file src/CMakeLists.txt patching file src/cmake/ARGoSBuildChecks.cmake patching file src/cmake/ARGoSBuildFlags.cmake patching file src/cmake/ARGoSPackaging.cmake The next patch would delete the file src/examples/loop_functions/ARK_loop_functions/clustering/.DS_Store, which does not exist! Assume -R? [n] n Apply anyway? [n] n Skipping patch. The next patch would delete the file src/examples/loop_functions/ARK_loop_functions/clustering/ALF.cpp, which does not exist! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file src/examples/loop_functions/ARK_loop_functions/clustering/ALF.h, which does not exist! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored patching file src/examples/loop_functions/ARK_loop_functions/clustering/CMakeLists.txt Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/examples/loop_functions/ARK_loop_functions/clustering/CMakeLists.txt.rej The next patch would create the file src/examples/loop_functions/ARK_loop_functions/clustering/Clustring_ALF.cpp, which already exists! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored The next patch would create the file src/examples/loop_functions/ARK_loop_functions/clustering/Clustring_ALF.h, which already exists! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file src/examples/loop_functions/ARK_loop_functions/demoC/ALF.h, which does not exist! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored patching file src/examples/loop_functions/ARK_loop_functions/demoC/ALF_qt_user_functions.cpp Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/examples/loop_functions/ARK_loop_functions/demoC/ALF_qt_user_functions.cpp.rej patching file src/examples/loop_functions/ARK_loop_functions/demoC/CMakeLists.txt Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/examples/loop_functions/ARK_loop_functions/demoC/CMakeLists.txt.rej patching file src/examples/loop_functions/ARK_loop_functions/demoC/demoC_ALF.cpp (already renamed from src/examples/loop_functions/ARK_loop_functions/demoC/ALF.cpp) Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 7 out of 7 hunks ignored -- saving rejects to file src/examples/loop_functions/ARK_loop_functions/demoC/demoC_ALF.cpp.rej The next patch would create the file src/examples/loop_functions/ARK_loop_functions/demoC/demoC_ALF.h, which already exists! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored patching file src/examples/loop_functions/trajectory_loop_functions/CMakeLists.txt patching file src/plugins/robots/kilobot/CMakeLists.txt Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 5 out of 5 hunks ignored -- saving rejects to file src/plugins/robots/kilobot/CMakeLists.txt.rej The next patch would create the file src/plugins/robots/kilobot/simulator/ALF.cpp, which already exists! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored The next patch would create the file src/plugins/robots/kilobot/simulator/ALF.h, which already exists! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored patching file src/plugins/robots/kilobot/simulator/kilobot_communication_medium.cpp patching file src/plugins/robots/kilobot/simulator/kilobot_communication_medium.h antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot$ ls doc patch.txt README.md src TODO.md antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot$ mkdir build antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot$ cd build antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot/build$ cmake -DCMAKE_BUILD_TYPE=Release ../src -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found ARGoS: /usr/lib/argos3/libargos3core_simulator.so -- Found DLFCN: /usr/lib/x86_64-linux-gnu/libdl.so -- Found Pthreads: /usr/lib/x86_64-linux-gnu/libpthread.so -- Found FreeImage: -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so -- Found Qt5: version -- Found Qt5Widgets: version 5.9.5 -- Found Qt5Gui: version 5.9.5 -- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.3.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.3.3") -- Found rt: /usr/lib/x86_64-linux-gnu/librt.so fatal: No names found, cannot describe anything. fatal: No names found, cannot describe anything. fatal: No names found, cannot describe anything. fatal: No names found, cannot describe anything. CMake Error at plugins/robots/kilobot/CMakeLists.txt:57 (include): include could not find load file: ARGoSCheckQTOpenGL -- Configuring incomplete, errors occurred! See also "/home/antonio/argos3-kilobot/build/CMakeFiles/CMakeOutput.log". antonio@antonio-Lenovo-V110-15AST:~/argos3-kilobot/build$

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

Re: No package 'argos3_simulator' found

Postby pincy » Thu Jan 13, 2022 4:56 pm

Alright, I found an error in my patch. I was using the wrong base for it. Use this patch instead of the one I gave you earlier.
Attachments
patch.txt
(7.35 KiB) Downloaded 79 times
I made ARGoS.


Return to “How to... ?”



cron