ecc-bfmc / simulator Goto Github PK
View Code? Open in Web Editor NEWThe project includes the software for the Gazebo simulator, which is the official on-line environment of the competition.
License: BSD 3-Clause "New" or "Revised" License
The project includes the software for the Gazebo simulator, which is the official on-line environment of the competition.
License: BSD 3-Clause "New" or "Revised" License
I receive these two errors when running catkin_make on the simulator:
CMake Error at plugins_pkgs/car_plugin/CMakeLists.txt:29 (add_dependencies): add_dependencies called with incorrect number of arguments
CMake Error at /opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake:94 (message):
add_message_files() directory not found:
/home/bz/Documents/Simulator/src/traffic_light_pkg/msg
Call Stack (most recent call first):
traffic_light_pkg/CMakeLists.txt:9 (add_message_files)
Hello, I have been trying to set up the simulator in a different computer, but I get the following errors:
[ 3%] Building CXX object plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/src/geometric_point.cpp.o
[ 3%] Built target std_msgs_generate_messages_eus
[ 3%] Built target std_msgs_generate_messages_lisp
[ 3%] Built target std_msgs_generate_messages_cpp
[ 3%] Built target std_msgs_generate_messages_py
[ 3%] Built target std_msgs_generate_messages_nodejs
[ 7%] Building CXX object plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/src/pedestrian_object_plugin.cpp.o
clang-11: error: no input files
/bin/sh: -stdlib=libc++: command not found
make[2]: *** [plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/build.make:76: plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/src/geometric_point.cpp.o] Error 127
make[2]: *** Waiting for unfinished jobs....
[ 7%] Built target _utils_generate_messages_check_deps_IMU
[ 7%] Built target _utils_generate_messages_check_deps_localisation
[ 11%] Building CXX object plugins_pkgs/bno055_plugin/CMakeFiles/bno055_plugin.dir/src/bno055_plugin.cpp.o
[ 11%] Built target bno055_plugin_generate_messages_cpp
clang-11: error: no input files
[ 11%] Built target bno055_plugin_generate_messages_py
[ 11%] Built target bno055_plugin_generate_messages_nodejs
/bin/sh: -stdlib=libc++: command not found
make[2]: *** [plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/build.make:90: plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/src/pedestrian_object_plugin.cpp.o] Error 127
make[1]: *** [CMakeFiles/Makefile2:717: plugins_pkgs/pedestrian_object_plugin/CMakeFiles/pedestrian_object_plugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 14%] Built target bno055_plugin_generate_messages_eus
[ 14%] Built target bno055_plugin_generate_messages_lisp
clang-11: error: no input files
/bin/sh: -stdlib=libc++: command not found
make[2]: *** [plugins_pkgs/bno055_plugin/CMakeFiles/bno055_plugin.dir/build.make:76: plugins_pkgs/bno055_plugin/CMakeFiles/bno055_plugin.dir/src/bno055_plugin.cpp.o] Error 127
make[1]: *** [CMakeFiles/Makefile2:2629: plugins_pkgs/bno055_plugin/CMakeFiles/bno055_plugin.dir/all] Error 2
[ 18%] Building CXX object plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/src/carlikerobot.cpp.o
[ 22%] Building CXX object plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/src/carlikerobot_ros_plugin.cpp.o
[ 22%] Built target car_plugin_generate_messages_nodejs
[ 22%] Built target car_plugin_generate_messages_py
clang-11: error: no input files
clang-11: error: no input files
/bin/sh: -stdlib=libc++: command not found
make[2]: *** [plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/build.make:90: plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/src/carlikerobot.cpp.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/sh: -stdlib=libc++: command not found
make[2]: *** [plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/build.make:76: plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/src/carlikerobot_ros_plugin.cpp.o] Error 127
make[1]: *** [CMakeFiles/Makefile2:2945: plugins_pkgs/car_plugin/CMakeFiles/car_plugin.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Invoking "make -j8 -l8" failed
I tried removing -stdlib=libc++ from CMAKE_CXX_FLAGS:STRING in build/CMakeCache.txt, but it didn't help.
Have you encountered something like this before?
I receive an error about the file 'localisation', inside folder 'msg' that seems to be incorrecly named. CMAKE expects that file to be called 'localisation.msg', as of what I can see by analysing the error text.
We have noticed that on some computers with less capable hardware, gazebo crashes after trying to load world.world
and world_with_separators.world
. The only error message that gets logged seems to be [gazebo_gui-3] process has died [pid 16455, exit code 139, cmd /opt/ros/noetic/lib/gazebo_ros/gzclient __name:=gazebo_gui
.
We were able to fix this issue by changing texture 2021_Big.png
to texture 2021_Medium.png
in models_pkg/track/materials/scripts/bfmc_track.material
.
Hey,
small typo in the run command given in the example:
roslaunch sim_pgk map_with_all_objects.launch
->
roslaunch sim_pkg map_with_all_objects.launch
Hey,
To get the project running I needed to remove the CMake list in each src folder, and for good measure I deleted the build folder.
Might be good to remove those files from the repo
File carlikerobot.hpp was updated in some commit and an #ifndef clause was (maybe accidentally) deleted. Cmake gives an error because of that.
Either the #endif at the end of the file should be removed, either an #if (or #ifndef) should be added at the beginning of the file.
Hi again,
BFMC_Simulator/bfmc_workspace/src/sim_pkg/launch/bash_scripts/delay.sh
and
BFMC_Simulator/startup_workspace/src/startup_package/src/main.py
Would be nice if their file permissions were set to executable on the project.
I got this isssue when i run :
roslaunch sim_pkg map_with_all_objects.launch
Got:
libcurl: (60) SSL: couldn't get X509-issuer name!
Segmentation fault (core dumped)
[gazebo_gui-3] process has died [pid 50261, exit code 139, cmd /opt/ros/noetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/bblab7490/.ros/log/12b34770-0506-11ee-88e3-3b8ed2e5f3df/gazebo_gui-3.log].
log file: /home/bblab7490/.ros/log/12b34770-0506-11ee-88e3-3b8ed2e5f3df/gazebo_gui-3*.log
Does anyone know ? Thank you
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.