Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.
/ sbsim Public archive
forked from srike27/sbsim

A simulation of soccerbots made using pygame for rapid algorithm development

License

Notifications You must be signed in to change notification settings

RMI-NITT/sbsim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Alt

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

A simulation of soccerbots made using pygame for rapid algorithm development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.5%
  • CMake 12.5%