ROS 2 Quick reference - cpslabor-education/robotwiki GitHub Wiki
ROS 2 Quick reference
Commands
Colcon
- Build package on ONE thread (ROS 2 Foxy):
MAKEFLAGS="-j1 -l1" colcon build --executor sequential
- Install with pip3 (works on Windows too):
pip install -U colcon-common-extensions
- (Windows only) show all error output (Visual Studio has a bad habit to output to stdout):
colcon build --event-handlers console_cohesion+
ROS 2 installation
- OpenSSL 1.0.2u is out of support, binaries are available at absolutely nowhere. This is bad news for Windows users mostly. (LINK TODO)
CMake project configuration
- Eigen3 can be included with the following directives in a CMakeLists.txt:
include_directories(${EIGEN3_INCLUDE_DIR})