Skip to content

Simulation environment for soccerbots

License

Notifications You must be signed in to change notification settings

kakshat1205/sbsim-19

 
 

Repository files navigation

Simulation of Soccerbots


Instructions to get it running:

Install ROS kinetic on Ubuntu 16.04 (Developed and tested)

Install pygame, numpy for python 2.7

Inside location_of_catkin_ws/src/ mkdir sbsim

Inside sbsim clone this repository

go to location_of_catkin_ws and catkin_make


Work done


3 controller implementation

Point to point control

Trajectory Tracking control

3 wheel independent control

Proposed Rules For the game:

* Robot's ball possession is legal only for x distance travelled. (x is tbd)
* If x is reached, bot must pass, shoot or kick ball and regain possession.
* Incase of collision, bot possesing the ball given freekick
* if ball goes out outside field of play, possesion is given to the opposition at the line.

physics, controller and stateserver

* Discrete time kinematics was used to model bot and ball.
* Used oblique collision model with suitable coefficient of restitution and inertias for collision physics
* Created a cascaded P controller for go to goal commands to bot
* added dribbler and kicker physics
* publishing goalmsgs to a particular bot triggers bot to go to goal
* publishes data as geometry_msgs/Pose

Took data from stateserver and was able display as a simulation of the soccebots

* Subscribes to geometry_msgs/Pose messages of ball pose, robot poses
* Used pygame to simulate the environment

About

Simulation environment for soccerbots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.9%
  • CMake 5.1%