GithubHelp home page GithubHelp logo

ecc-bfmc / simulator Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 14.0 54.16 MB

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

CMake 0.59% C++ 92.44% Shell 0.01% Python 3.29% C 3.67%

simulator's People

Contributors

bfmc-rares-lemnariu avatar sshairaa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

simulator's Issues

Cmake Error when trying to build

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

add_dependencies(car_plugin)

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)

clang-11 error: no input 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?

Gazebo Segfault when loading 2021_Big.png

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.

Typo in example script

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

Remove CMakeList in source folders

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

#endif without #if in file

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.

File permissions

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.

Error when Run simulator on ubuntu 20.04 libcurl: (60) SSL: couldn't get X509-issuer name!

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.