Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nubot authored Sep 5, 2016
1 parent ec0eb25 commit 800e18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ to control the movement of the robot.
For the detailed infomation and usage of the NubotGazebo class, please refer to the [doc/](https://github.com/nubot-nudt/single_nubot_gazebo/tree/master/doc) folder.
## Part V. How you could use it to do more stuff
The main purpose of the simulation system is to test multi-robot collaboration algorithm. So to achieve this purpose, you need to know how to control the movement of each robot in the simulation. As you have experienced in turotial Part III to control a robot by keyboard, you could read its source code and make use of the topic publishing and service calling. In a word, if you want to control the movement of the robots, publish velocity commands on the topic "/nubotcontrol/velcmd". If you want the robot the dribble the ball, after it is close enough to the ball, call the ROS service named "/BallHandle" and kick the ball by calling the service named"/Shoot" . The types and definitions of theses topics and services are presented in Part I.
The main purpose of the simulation system is to test multi-robot collaboration algorithm. So to achieve this purpose, you need to know how to control the movement of each robot in the simulation. As you have experienced in turotial Part III to control a robot by keyboard, you could read its [source code](https://github.com/nubot-nudt/single_nubot_gazebo/blob/master/src/nubot_simulation/nubot_gazebo/plugins/nubot_teleop_keyboard.cc) and make use of the topic publishing and service calling. In a word, if you want to control the movement of the robots, publish velocity commands on the topic "/nubotcontrol/velcmd". If you want the robot to dribble the ball, after it is close enough to the ball, call the ROS service named "/BallHandle" and kick the ball by calling the service named"/Shoot" . The types and definitions of theses topics and services are presented in Part I.
## Part VI. Appendix
1. To launch an empty soccer field:
Expand Down

0 comments on commit 800e18b

Please sign in to comment.