[![CodeFactor](https://www.codefactor.io/repository/github/fc-yohsin/yohsin3d/badge)](https://www.codefactor.io/repository/github/fc-yohsin/yohsin3d)
# Yohsin3d: Python Framework for RoboCup 3D Soccer Agents
Yohsin3d is an open-source Python framework that simplifies the development of RoboCup 3D soccer agents. It handles low-level details like server communication, basic locomotion, and localization, allowing you to focus on adding functionality to the agents. With extensive machine learning support and a thriving community, Python is an excellent choice for building intelligent and adaptive soccer agents.
## RoboCup 3D Simulation League
The [RoboCup 3D Simulation League](https://ssim.robocup.org/3d-simulation/) is a platform that enables software agents to control humanoid robots, running on a realistic physics engine to simulate soccer matches. It serves as a challenging and exciting way for researchers to explore robotics and AI.
To make it easier for newcomers to get started, Yohsin3d provides a user-friendly framework for building RoboCup 3D soccer agents. With Yohsin3d, anyone can dive into the field of robotics and AI without facing the typical programming difficulties associated with physical robots.
## Starting the simulation
To begin the simulation, you'll need to take a few steps to configure your machine and set up the server. We recommend starting by downloading the appropriate version of Java, which you can find by following the link we've provided. Once you have Java installed, you can then proceed to set up the server on your machine.
To make this process as easy as possible, we've created a separate repository that utilizes a Docker container. With this container, you can quickly and easily start the server without having to worry about any complex configuration. Simply follow the instructions provided in the repository to get started.
### Java Download
- For Windows, download Java [here](https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_windows_hotspot_8u345b01.msi)
- For macOS, download Java [here](https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_mac_hotspot_8u345b01.tar.gz)
### Docker
Make sure you configure docker on your machine. See more details from [here](https://docs.docker.com/get-docker/).
### Clone the Repository
Clone the repository using the following command:
```bash
$ git clone https://github.com/Habib-Shahzad/Roboviz-And-Rcsserver3d.git
```
### Starting the Server and Monitor
- On macOS:
- Start the server by running `server.sh`
- Start the monitor by running `client.sh`
- On Windows:
- Start the server by running `server.bat`
- Start the monitor by running `client.bat`
## Yohsin3d Overview
Yohsin3d is a highly capable framework that provides an ideal level of abstraction for developing RoboCup 3D soccer agent teams. By following solid design principles, it enables you to establish a strong foundation for your development efforts.
One of the most significant benefits of Yohsin3d is that it handles many low-level details for you, allowing you to focus on the most important aspect of your work: building the "brain" of your robot agent. This approach makes it easy to create powerful, adaptable, and intelligent soccer agents, while minimizing the onboarding friction that is often associated with RoboCup 3D soccer development.
Overall, Yohsin3d is an excellent choice for developers who want to maximize their productivity while creating top-tier RoboCup 3D soccer agents. By leveraging its robust capabilities and intuitive design, you can quickly and easily build sophisticated agents that excel on the field.
We reccomend using python 3.11 for this framework.
After starting the simulation, run these commands to get started.
```bash
$ pip install yohsin3d
$ python examples/main.py
```
The example file shows how to customize the behavior of an agent provided by yohsin3d. It does so by defining a new class, DerivedBehavior, which inherits from the BaseBehavior class provided by yohsin3d. The DerivedBehavior class overrides some functionalities, allowing users to add their own custom logic to the agent's behavior.
Next, the code initializes an instance of DerivedBehavior with starting coordinates and passes it as an argument to an instance of the Agent class. The Agent instance is then started, which connects the agent to the server based on the parameters provided and spawns it onto the soccer field.
Overall, this example file serves as a starting point for developing custom agent behaviors in yohsin3d.
## Contributing
We welcome contributions to improve Yohsin3d and make it more accessible to newcomers. Please feel free to submit issues or pull requests on our [GitHub repository](https://github.com/FC-Yohsin/yohsin3d).
## Acknowledgements
We would like to extend our special thanks and appreciation to [Karachi Koalas](https://twitter.com/karachikoalas) a joint team between IBA in Karachi, Pakistan and UTS in Sydney, Australia for their support in the development PFS locomotion engine of the yohsin3d library. Furthermore, Karachi Koalas' invaluable input and support throughout the development process have greatly influenced the overall functionality and performance of the Yohsin3D library. Their expertise and collaboration have been vital in driving the project's success.
Raw data
{
"_id": null,
"home_page": "https://github.com/FC-Yohsin/yohsin3d",
"name": "yohsin3d",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "robocup,soccer,3d,simulation,agents,robotics,machine learning,python,artificial intelligence,locomotion,localization",
"author": "Habib Shahzad, Abuzar Rasool, Faaz Abidi",
"author_email": "habibshehzad55@gmail.com, availabuzar@gmail.com, hasanfaaz10@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dd/93/268b7194ddc6897775151970fe4d5b00773919a69d13ee71d68b658ac9d6/yohsin3d-0.4.5.tar.gz",
"platform": null,
"description": "[![CodeFactor](https://www.codefactor.io/repository/github/fc-yohsin/yohsin3d/badge)](https://www.codefactor.io/repository/github/fc-yohsin/yohsin3d)\n\n# Yohsin3d: Python Framework for RoboCup 3D Soccer Agents\n\nYohsin3d is an open-source Python framework that simplifies the development of RoboCup 3D soccer agents. It handles low-level details like server communication, basic locomotion, and localization, allowing you to focus on adding functionality to the agents. With extensive machine learning support and a thriving community, Python is an excellent choice for building intelligent and adaptive soccer agents.\n\n## RoboCup 3D Simulation League\n\nThe [RoboCup 3D Simulation League](https://ssim.robocup.org/3d-simulation/) is a platform that enables software agents to control humanoid robots, running on a realistic physics engine to simulate soccer matches. It serves as a challenging and exciting way for researchers to explore robotics and AI.\n\nTo make it easier for newcomers to get started, Yohsin3d provides a user-friendly framework for building RoboCup 3D soccer agents. With Yohsin3d, anyone can dive into the field of robotics and AI without facing the typical programming difficulties associated with physical robots.\n\n## Starting the simulation\n\nTo begin the simulation, you'll need to take a few steps to configure your machine and set up the server. We recommend starting by downloading the appropriate version of Java, which you can find by following the link we've provided. Once you have Java installed, you can then proceed to set up the server on your machine.\n\nTo make this process as easy as possible, we've created a separate repository that utilizes a Docker container. With this container, you can quickly and easily start the server without having to worry about any complex configuration. Simply follow the instructions provided in the repository to get started.\n\n### Java Download\n\n- For Windows, download Java [here](https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_windows_hotspot_8u345b01.msi)\n- For macOS, download Java [here](https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_mac_hotspot_8u345b01.tar.gz)\n\n### Docker\nMake sure you configure docker on your machine. See more details from [here](https://docs.docker.com/get-docker/).\n\n### Clone the Repository\n\nClone the repository using the following command:\n\n```bash\n$ git clone https://github.com/Habib-Shahzad/Roboviz-And-Rcsserver3d.git\n```\n\n\n### Starting the Server and Monitor\n\n- On macOS:\n - Start the server by running `server.sh`\n - Start the monitor by running `client.sh`\n- On Windows:\n - Start the server by running `server.bat`\n - Start the monitor by running `client.bat`\n\n## Yohsin3d Overview\n\nYohsin3d is a highly capable framework that provides an ideal level of abstraction for developing RoboCup 3D soccer agent teams. By following solid design principles, it enables you to establish a strong foundation for your development efforts.\n\nOne of the most significant benefits of Yohsin3d is that it handles many low-level details for you, allowing you to focus on the most important aspect of your work: building the \"brain\" of your robot agent. This approach makes it easy to create powerful, adaptable, and intelligent soccer agents, while minimizing the onboarding friction that is often associated with RoboCup 3D soccer development.\n\nOverall, Yohsin3d is an excellent choice for developers who want to maximize their productivity while creating top-tier RoboCup 3D soccer agents. By leveraging its robust capabilities and intuitive design, you can quickly and easily build sophisticated agents that excel on the field.\n\nWe reccomend using python 3.11 for this framework.\nAfter starting the simulation, run these commands to get started.\n\n```bash\n$ pip install yohsin3d\n$ python examples/main.py\n```\n\nThe example file shows how to customize the behavior of an agent provided by yohsin3d. It does so by defining a new class, DerivedBehavior, which inherits from the BaseBehavior class provided by yohsin3d. The DerivedBehavior class overrides some functionalities, allowing users to add their own custom logic to the agent's behavior.\n\nNext, the code initializes an instance of DerivedBehavior with starting coordinates and passes it as an argument to an instance of the Agent class. The Agent instance is then started, which connects the agent to the server based on the parameters provided and spawns it onto the soccer field.\n\nOverall, this example file serves as a starting point for developing custom agent behaviors in yohsin3d.\n\n\n## Contributing\n\nWe welcome contributions to improve Yohsin3d and make it more accessible to newcomers. Please feel free to submit issues or pull requests on our [GitHub repository](https://github.com/FC-Yohsin/yohsin3d).\n\n\n## Acknowledgements\n\nWe would like to extend our special thanks and appreciation to [Karachi Koalas](https://twitter.com/karachikoalas) a joint team between IBA in Karachi, Pakistan and UTS in Sydney, Australia for their support in the development PFS locomotion engine of the yohsin3d library. Furthermore, Karachi Koalas' invaluable input and support throughout the development process have greatly influenced the overall functionality and performance of the Yohsin3D library. Their expertise and collaboration have been vital in driving the project's success.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Program your own RoboCup 3D soccer playing agents in python",
"version": "0.4.5",
"project_urls": {
"Homepage": "https://github.com/FC-Yohsin/yohsin3d"
},
"split_keywords": [
"robocup",
"soccer",
"3d",
"simulation",
"agents",
"robotics",
"machine learning",
"python",
"artificial intelligence",
"locomotion",
"localization"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "de697d2d3ed811c851898311ca4be6a62501d04a968dd45c44125c011492195a",
"md5": "ab27d968262816cfb2e1b716b39a05f6",
"sha256": "aebd606b6a12ed50da8ce5114133bf5863d19b638097adc54a94b41c5e13c800"
},
"downloads": -1,
"filename": "yohsin3d-0.4.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ab27d968262816cfb2e1b716b39a05f6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 38254,
"upload_time": "2023-05-17T06:16:11",
"upload_time_iso_8601": "2023-05-17T06:16:11.887442Z",
"url": "https://files.pythonhosted.org/packages/de/69/7d2d3ed811c851898311ca4be6a62501d04a968dd45c44125c011492195a/yohsin3d-0.4.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd93268b7194ddc6897775151970fe4d5b00773919a69d13ee71d68b658ac9d6",
"md5": "b31059a7432eaeddcac0b4d781e69f06",
"sha256": "94268344ac7048587fee21a3e4ec1496a19cf31b8699458833a17ba6b8cb67d8"
},
"downloads": -1,
"filename": "yohsin3d-0.4.5.tar.gz",
"has_sig": false,
"md5_digest": "b31059a7432eaeddcac0b4d781e69f06",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 31672,
"upload_time": "2023-05-17T06:16:13",
"upload_time_iso_8601": "2023-05-17T06:16:13.959155Z",
"url": "https://files.pythonhosted.org/packages/dd/93/268b7194ddc6897775151970fe4d5b00773919a69d13ee71d68b658ac9d6/yohsin3d-0.4.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-17 06:16:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "FC-Yohsin",
"github_project": "yohsin3d",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "yohsin3d"
}