tensorswarm / tensorswarm Goto Github PK
View Code? Open in Web Editor NEWTensorSwarm: A framework for reinforcement learning of robot swarms.
License: MIT License
TensorSwarm: A framework for reinforcement learning of robot swarms.
License: MIT License
Hey there!,
I've been trying to run your TensorSwarm code since I'd like to work with it.
I've been stopped by the following error:
[FATAL] Error initializing controllers
[FATAL] Can't load library "libargos_ros_bot.so" even after trying to add extensions for shared library (so) and module library (so):
/usr/local/lib/argos3/libargos_ros_bot.so.so: /usr/local/lib/argos3/libargos_ros_bot.so: cannot open shared object file: No such file or directory
/usr/local/lib/argos3/libargos_ros_bot.so.so: /usr/local/lib/argos3/libargos_ros_bot.so.so: cannot open shared object file: No such file or directory
/usr/local/lib/argos3/libargos_ros_bot.so.so: OK
Thank you for your time,
Julio
Hi,
I am running into an issue when compiling TensorSwarm in ROS, after installing argos. Specifically, the compilation process cannot "see" the header file ci_footbot_lidar_sensor.h , even though the file exists in the indicated directory. The message I am receving is:
In file included from /home/julio/catkin_ws/src/TensorSwarm/plugin/tensor_swarm_bot/tensor_swar_bot.cpp:2:0:
/home/julio/catkin_ws/src/TensorSwarm/plugin/tensor_swarm_bot/tensor_swarm_bot.h:10:86: fatal error: argos3/plugins/robots/foot-bot/control_interface/ci_footbot_lidar_sensor.h: No such file or directory
compilation terminated.
Any help would be appreciated,
thanks,
Julio
Hi,
I've been trying your code but I still cannot run your code successfully. I would greatly appreciate if you could give some help or hint to solve it. Here’s a detailed description of what I have tried:
OS: Ubuntu 16.04
Ros: Kinetic
Python: python 2
Argos: Cloned from deeplearningrobotics repo and checkout “adding_lidar_clean”, then followed the README to install.
Open AIs PPO: I didn't try. Because I’m confused. The Open AIs PPO requires Python 3, but TensorSwarm uses ROS so everything should be installed in python 2.
TensorForce: pip install tensorforce
So basically I’m trying to use the tensorforce example under tensorswarm/run/. Everything is running with no compiling errors and bugs, including cmake, make install, catkin_make, ROS, the training code argosAgent.py under tensorswarm/scripts/tensorforce_plugin/.
But the problem is the Argos3 samples provided by TensorSwarm under /argos_worlds/.
These three samples can be run with no errors show in the terminal. But when I click on in the pop-out window, like the “play” or “step_play” button, the windows freezes as shown in the photos.
Then the training code will show “Service call failed”.
Actually, all these three Argos3 samples in /argos_worlds/ have the same issue. While I CAN successfully run the official example provided by Argos3 website.
Thank you
Hi. When I try to execute the experiment 4-way-crossing with ppo, using the included bash file, I get the following error:
Traceback (most recent call last):
File "src/TensorSwarm/scripts/new/RunExperiment4Way.py", line 31, in
from ArgosMultiProcessEnvironment import ArgosMultiProcessEnvironment
File "/home/julio/catkin_ws/src/TensorSwarm/scripts/new/ArgosMultiProcessEnvironment.py", line 26, in
from tensorswarm.srv import *
ImportError: No module named tensorswarm.srv
Do you have a suggestion on how to fix this error?
Thanks,
Julio
Hi,
I followed the installation instructions. I built and installed Argos from the corresponding branch. The only difference is that I have Melodic installed instead of Kinetic. I tried to build TensorSwarm, but I get the following errors:
CMake Error at TensorSwarm/plugin/CMakeLists.txt:12 (include):
include could not find load file:
ARGoSCheckQTOpenGL
CMake Error at TensorSwarm/plugin/CMakeLists.txt:15 (find_package):
By not providing "FindLua52.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Lua52", but
CMake did not find one.
Could not find a package configuration file provided by "Lua52" with any of
the following names:
Lua52Config.cmake
lua52-config.cmake
Add the installation prefix of "Lua52" to CMAKE_PREFIX_PATH or set
"Lua52_DIR" to a directory containing one of the above files. If "Lua52"
provides a separate development package or SDK, be sure it has been
installed.
Do you maybe have any idea what the problem could be?
Thank you
Hi
While attempting to run this, I am encountering the following issue:
[FATAL] Can't load library "/home/arsalan/catkin_ws/devel/lib/libgazebo_ros_prosilica.so" even after trying to add extensions for shared library (so) and module library (so):
/home/arsalan/catkin_ws/devel/lib/libgazebo_ros_prosilica.so: libopencv_core3.so.3.2: cannot open shared object file: No such file or directory
/home/arsalan/catkin_ws/devel/lib/libgazebo_ros_prosilica.so.so: /home/arsalan/catkin_ws/devel/lib/libgazebo_ros_prosilica.so.so: cannot open shared object file: No such file or directory
/home/arsalan/catkin_ws/devel/lib/libgazebo_ros_prosilica.so.so: OK
Segmentation fault (core dumped)
I tried running sudo apt install --reinstall ros-kinetic-opencv3
, which reinstalled libopencv_core3.so.3.3.1
. Now I have libopencv_core3.so
, libopencv_core3.so.3.3
and libopencv_core3.so.3.3.1
at /opt/ros/kinetic/lib/x86_64-linux-gnu
, but it doesn't seem to have libopencv_core3.so.3.2
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.