Skip to content

Airine/ROS-turtlebot-python

Repository files navigation

IR Project

Usage

git clone https://github.com/Airine/ROS-turtlebot-python.git
or
wget https://github.com/Airine/ROS-turtlebot-python/archive/master.zip

1. Run ROS

roslaunch turtlebot_bringup minimal.launch

Do not run other movement controller (like keyborad)

2. Run talker

python talker.py

This talker.py register a ros node "chatter", and it would set msgs to those ros nodes who subscribes it (like main.py).

And if you type keys below, the chatter would set corresponding msg below.

commands = {
    'q': 'circle',
    'w': 'dou',
    'e': 'tri',
    'r': 'rotate'
}

3. Run main.py

python main.py

About

python scripts for IR final project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages