Package: yohsin3d
Yohsin3d: Python Framework for RoboCup 3D Soccer AgentsYohsin3d 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 LeagueTheRoboCup 3D Simulation Leagueis 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 simulationTo 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 DownloadFor Windows, download JavahereFor macOS, download JavahereDockerMake sure you configure docker on your machine. See more details fromhere.Clone the RepositoryClone the repository using the following command:$gitclonehttps://github.com/Habib-Shahzad/Roboviz-And-Rcsserver3d.gitStarting the Server and MonitorOn macOS:Start the server by runningserver.shStart the monitor by runningclient.shOn Windows:Start the server by runningserver.batStart the monitor by runningclient.batYohsin3d OverviewYohsin3d 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.$pipinstallyohsin3d
$pythonexamples/main.pyThe 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.ContributingWe welcome contributions to improve Yohsin3d and make it more accessible to newcomers. Please feel free to submit issues or pull requests on ourGitHub repository.AcknowledgementsWe would like to extend our special thanks and appreciation toKarachi Koalasa 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.