This course is intended for newbies in Robot Operating System (ROS) Framework.
The most preferred way of getting started is to create a catkin workspace and clone the repository inside it:
mkdir ~/catkin_ws
# workspace will be located at ~/catkin_ws
git clone https://github.com/chupakabra1996/ros-courses-2018.git ~/catkin_ws
- Ubuntu 16.04 (Xenial)
- ROS Kinetic (installation)
- C++ (GNU GCC ver. 5.4+).
- Favorite IDE or Text Editor (e.g. CLion, QtCreator + ROS plugin)
Build (using catkin_make
):
cd ~/catkin_ws && catkin_make [--pkg package_name]
# for bash users
source ~/catkin_ws/devel/setup.bash
# for zsh users
source ~/catkin_ws/devel/setup.zsh
To run a node (executable) inside the package:
# do not forget to start a master node at first
roscore
rosrun <package_name> <node_name> [params ...]
- Run unit tests (gtest):
# from the ~/catkin_ws/
catkin_make run_tests[_package_name]
# or from the ~/catking_ws/build
make run_tests[_package_name]
- Run integration tests (rostest):
rostest <package_name> <launch file.test>
This repo is only for educational purposes.
Bug reports and enhancement proposals are welcomed.