Skip to content

Pranav-99/sbsim-19

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.2%
  • CMake 9.8%