Skip to content

vincentberenz/playful_turtlesim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behavior design of a turtlesim using Playful

Turtlesim is a cute 2d simulated turtle famous for being used in ROS tutorials.

Playful is a software for robotic bevahior design.

This repo shows the control of a turtlesim via Playful, for educational purposes.

How to

pre-requisits

ROS and turtlesim must be installed. Any version.

Playful

pip install funcsigs 
pip install playful

Running the demo

  • start ROS core
roscore
  • in another terminal, start turtlesim
rosrun turtlesim turtlesim_node
  • in another terminal, clone this repository
git clone https://github.com/vincentberenz/playful_turtlesim.git
  • start playful
cd playful_turtlesim
playful execute

(press 'q' to exit)

You should see your turtle chasing any other turtles going close to its home (a virtual point a the bottom of the simulated area).

Check the code

  • The playful script that is playful_turtlesim/play/program.py
  • This script orchestrate the python code that is in playful_turtlesim/py/turtlesim_play.py

Support

playful-support .a.t. tuebingen.mpg.de

Author

Vincent Berenz, Max Planck Institute for Intelligent Systems

About

example of interfacing playful with ROS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages