[Documentation] [TitleIndex] [WordIndex

Mastering Robotics using ROS

Package Summary

A demo package which has example codes demonstrating topic, service, custom messages and actionlib

Installation

You can use git clone to install package.

cd <your_catkin_ws>/src

git clone https://github.com/qboticslabs/mastering_ros_demo_pkg.git

cd ..

catkin_make

Usage

After building the package you run the nodes using following command

Start roscore

roscore

Topics nodes

Starting topic publisher node

$ rosrun mastering_ros_demo_pkg demo_topic_publisher

Starting topic subscriber node

$ rosrun mastering_ros_demo_pkg demo_topic_subscriber

Custom message nodes

Starting custom message publisher

$ rosrun mastering_ros_demo_pkg demo_msg_publisher

Starting custom message subscriber

$ rosrun mastering_ros_demo_pkg demo_msg_subscriber

ROS Service nodes

Starting ROS service server node

$ rosrun mastering_ros_demo_pkg demo_service_server

Starting ROS service client node

$ rosrun mastering_ros_demo_pkg demo_service_client

ROS Actionlib nodes

Starting ROS action server node

$ rosrun mastering_ros_demo_pkg demo_action_server

Starting ROS action client node

$ rosrun mastering_ros_demo_pkg demo_action_client



2024-11-16 14:53