Skip to content

[RoboCup] Code for RoboCup Middle Size League Competition by NuBot team from National University of Defense Technology

Notifications You must be signed in to change notification settings

nubot-nudt/nubot_ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSL soccer robot code of NuBot team of National University of Defense Technology

Package Summary

Note

The strategy part in nubot_control package has been removed. 
But you can still compile the package successfully.

Compile

$ sudo chmod +x configure

$ ./configure

$ catkin_make

RUN

  1. All components:
    $ roslaunch nubot_common nubot.launch
  2. Joy stick and hardware controller
    $ roslaunch nubot_hwcontroller nubot_hwcontroller.launch
    $ rosrun nubot_hwcontroller nubot_teleop_joy
  3. Show images from the cameras
    $ rqt_image_view

Error & Fix

  1. Problem: nubot_hwcontroller shows an error: 'pid *** died'.
    Solution: $ sc devel/lib/nubot_hwcontroller/nubot_hwcontroller_node

  2. 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.

  3. Problem: hwcontroller_node.cpp:6:21: fatal error: ncurses.h: No such file or directory
    Solution: $ sudo apt-get install libncurses5-dev

  4. help files are located in /doc folder; please refer to them

Note

  1. If you want to use the simulation function, please edit the file: src/nubot/nubot_common/core/include/nubot/core/core.hpp, and uncomment '#define SIMULATION'. Then compile the code again.For furthur tutorial, see related documentation in other repositories(i.e. 'gazebo_visual' or 'single_nubot_gazebo')
  2. contact info: [email protected]

About

[RoboCup] Code for RoboCup Middle Size League Competition by NuBot team from National University of Defense Technology

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published