- Maintainer status: maintained
- Maintainer: NuBot Team
- Author: NuBot Team
- License: Apache
- Bug / feature tracker: https://github.com/nubot-nudt/nubot_ws/issues
- Source: git https://github.com/nubot-nudt/nubot_ws (branch: master)
The strategy part in nubot_control package has been removed.
But you can still compile the package successfully.
$ sudo chmod +x configure
$ ./configure
$ catkin_make
- All components:
$ roslaunch nubot_common nubot.launch
- Joy stick and hardware controller
$ roslaunch nubot_hwcontroller nubot_hwcontroller.launch
$ rosrun nubot_hwcontroller nubot_teleop_joy
- Show images from the cameras
$ rqt_image_view
- Please edit the file: core.hpp and uncomment '#define SIMULATION'; then compile the code again.
- Run the following commands:
$ ./src/cyan_spawn_model.sh
for cyan robots,
or
$ ./src/magenta_spawn_model.sh
for magenta robots.
-
Problem: nubot_hwcontroller shows an error: 'pid *** died'.
Solution:$ sc devel/lib/nubot_hwcontroller/nubot_hwcontroller_node
The command 'sc' is an alias of 'sudo setcap cap_net_raw=ep' -
Problem: CMake Error at nubot/color_segment/CMakeLists.txt:40 (Qt5_WRAP_CPP): Unknown CMake command "Qt5_WRAP_CPP".
Explanation: using color_segment package to calibrate color-related parameters. This requires Qt since it has a Qt GUI.
Solution 1: You could just delete this package since it does not interfere with other parts. So the compile will go on.
Solution 2: Go to src/nubot/color_segment and edit CMakeLists.txt line 4; change the path to your Qt5Widgets. -
Problem: hwcontroller_node.cpp:6:21: fatal error: ncurses.h: No such file or directory
Solution:$ sudo apt-get install libncurses5-dev
-
help files are located in /doc folder; please refer to them
NuBot Team: [email protected] or [email protected]