Skip to content

controlguy168/ROS_RR_turtle_trial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS and RobotRaconteur python turtle module example

Prerequisite:

  • Ubuntu 18.04 (Native or Virtual)
  • python2/python3
  • OpenCV (pip/pip3 install opencv-python)
  • git (sudo apt-get install git)
  • RobotRaconteur (Follow instruction to download)
  • ROS Melodic (Follow instruction to download)

Clone this repo before continuing the trial:

cd ~
git clone https://github.com/hehonglu123/ROS_RR_turtle_trial.git

Basic Examples:

Inside Example/ folder, there're three basic example scripts, showing how to read keyboard inputs, drive a turtle with python turtle module and detect red object.

detection.py:

Takes in an image with red circle, outputs a red filtered image.

keyboard.py

Print command based on arrow key pressed.

turtlebot.py

Initialize screen display, spawn a turtle and drive the turtle.

Trial Instruction:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 55.3%
  • Python 44.7%