Skip to content

apojomovsky/draw_something

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

draw_something

Draw shapes using the trace left by turtlesim

Synopsis

The draw_something library let you use the trace left by turtlesim for drawing figures. It is based ont the draw_square node from the turtlesim package but with supercharged capabilities. The figures depend on the input files or recipes, where are specified the distances and angles in such an order that allows generating the desired figure.

Code Example

In the "recipes" folder, are included some examples of ready-to-use recipes for testing purposes.

Motivation

This project was made as a "school project", to learn the principles of using ROS and the publisher-subscriber communication paradigm.

Dependencies

Install

Get the code:

git clone https://github.com/apojomovsky/draw_something.git

Build the workplace where you placed the repository:

catkin_make

Update the setup.bash script:

<workspace>/source devel/setup.bash

Running the code

Excecute roscore:

~/roscore

In another terminal run a new instance of turtlesim:

~/rosrun turtlesim turtlesim_node

In another terminal run the draw_something program with the recipe file address as parameter:

~/rosrun draw_something draw_something <filename>

Have fun!

About

draw shapes using the trace left by turtlesim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published