1 of 10

TECHIN 517 - ROBOTICS LAB II

ROS BASICS

WEEK 2 | WEDNESDAY | APR 6, 2022

2 of 10

BASICS

3 of 10

4 of 10

NODES

5 of 10

NODES

Robot wheel

controller

Kinect driver

GUI

INPUT

OUTPUT

INPUT &

OUTPUT

6 of 10

NODES

Robot wheel

controller

Navigation

algorithm

Kinect driver

Person

detection

algorithm

Object

detection

algorithm

GUI

7 of 10

NODES

Robot wheel

controller

Navigation

algorithm

Kinect driver

Person

detection

algorithm

Object

detection

algorithm

GUI

8 of 10

Kinect driver

Person

detection

algorithm

Object

detection

algorithm

Messages

SERVER

CLIENT

CLIENT

  • “servers publish messages onto topics”
  • “clients subscribe to topics”
  • “messages have msg types”

rgbd_image

9 of 10

SERVER

CLIENT

  • “client requests a service”
  • “server responds to the request”
  • “services have srv types”
  • “servers advertise available services”

Services

get_nearest_person(..)

Navigation

algorithm

Person

detection

algorithm

person_distance

10 of 10

Robot wheel

controller

Navigation

algorithm

SERVER

CLIENT

Actions

  • “client requests an action”
  • “server performs action and responds”
  • “servers advertise available actions”
  • temporally extended callback, can send feedback during action

move_forward(2.0, 0.5)

reached_target