WF Wolves – Humanoid KidSize System Description Paper for RoboCup 2024
Tom Lorenz, Torben Röhrs, Michael Pleger
Ostfalia University of Applied Sciences, Wolfenbüttel, Germany
Abstract In this system description paper, the currently used algorithms are described. Additionally, the fields of research, the developed software and future work are illustrated. Hereby WF Wolves apply for participation at the RoboCup 2024 for Team Competition in Eindhoven, Netherlands.
Introduction
RoboCup 2023 in Bordeaux, France, was our first competition after the COVID induced break. We introduced multiple changes in localization, image processing, motion planning, locomotion and hardware of our robots in the mean time. Unfortunately, we ignored concerns about reliability, which led to several failures during the competition.
For RoboCup 2024 we are focussing on increasing the reliability of our robots in software and hardware.
Software Description
Since 2016 the WF Wolves are using the Robot Operating System (ROS) based framework for our software architecture. In 2017, the framework was revised together with the Hamburg Bit-Bots to strengthen a team spreading cooperation. This modularity of the framework which enables code exchanges in an easier way among the teams is also one of the biggest advantages. ROS is used by more and more teams each year in RoboCup, which increases the ability to exchange software modules with other teams. Since parts of our software stack was heavily relying on legacy code we adapted our software closer to ROS standards and had the chance test and evaluate new algorithms.
Walking
Our current walking engine consists of a basic walking loop using inverse kinematics, supported by PID-controllers. It is quite unstable since the switch to artificial grass and unwieldy to change. This approach relies heavily on a random parameter pushing (RPP) tuning process as we would like to call it. The dark arts of RPP try to optimize multiple parameters based on experience without measurable data, which results in highly fluctuating outcomes. However, it provides flexibility to tune the robot for different surfaces.
For RoboCup 2023 we were working on a new walking engine based on Central Pattern Generators (CPGs). CPGs use a natural approach found in biology in essential neuronal cells. Further, these neurons create a pattern that is usually applied subconsciously and is used for motions, e.g. walking, flying, or swimming. Patterns are created via a Hopf Oscillator including ordinary differtial equations (ODE). Unfortunately, the new walker still needs a lot of fine-tuning and initial quirks made usage during competition no possible. Prioritization and time management regarding this new approach has to be evaluated.
While, a faulty control loop resulted in a bad walking result from our old walker we managed to fix partially. Further, multiple walking engines, like the ex-RoboCup team Ichiro's Aruku and Rhobans IKWalk are based on inverse kinematics. Currently, we are evaluating our walker against the prior due to similarities and try to at least improve the performance of our old walker, until a migration to our new approach is viable. Subsequently, our developed kick motion generator was ported to ROS, allowing the robots to kick in nearly every direction depending on the ball position. Utilizing vector calculus, the kick-engine calculates required movements in real time in every direction.
Vision
Classification is provided by a YOLOv7 model, which was tested in the competition at RoboCup 2023 for ball detection in an experimental state. The results showed a good improvement in comparison to our previous solution based on MobileNet regarding accuracy while maintaining a sufficient performance. Based on this results we plan to use YOLOv7 for the RoboCup 2024 as well, while already added custom classes for goal posts and robots. For Annotation, the Bit-Bots Imagetagger is used. The model is running on our built-in Jetson which improves ball classification and calculation time a lot, rendering classical computer visual approaches, as well as previously used cascade classifiers obsolete.
Localization
Since first approaches using a visual compass weren't as robust and were computationally intense, further difficulty increased by adding natural light scenarios in 2019. While trying to emphasize ROS capabilites we developed early prototypes using Monte Carlo based localization. This approach normally relies on odometry and laser scan data, we extended these approaches to fit with visual features feedback e.g. lines.
However, this approach generates a rather insufficient position, and vision processing is still done by a classical approach and requires manual color space adaptions during setup days to match field color and lighting. Additionally, we noticed it lacks in utilizing additional optical field features which we are currently integrating in our existing vision pipeline to increase accuracy and reducing the need of on premise parameter tuning.
Team Communication
The team communication is solved via the official Mixed Team Communication protocol (MiteCom). While we use it to transfer basic information and use it for simple error correction, not much tactical gameplay is embraced yet.
Behavior
Our robot behavior is based on a state machine using FlexBE. The role of the robot is configurable, therefore actions are dependent on the current role and situation. Current existing roles are striker and goalie, while defender behavior is still in development. FlexBE allows us to design complex robot workflows also used in DARPA and ARGOS challenges. Thus we are able to build, analyze and adapt our robot behavior more easily, while mainting ROS standards and lowering the entry barrier for new members of the team.
Contributions to the RoboCup community
Since our team mostly consists of students, publications mostly rely on theses. Early work included walking of robots including a dynamic kick engine allowing for a target direction to kick without having to rotate behind the ball and kicking forward. Further early localization utilizing the ROS Framework approaches were evaluated as well as the use and benefits of security enhanced ROS (SROS) and early ROS2 in. We further improved our Robot control in.
Besides student theses a close interaction with the Hamburg Bit-Bots exists. We helped designing a common ROS architecture for the Humanoid League resulting in a master thesis. Combined knowledge was used to test new hardware e.g. Jetson and implement CNNs for Ball Detections. Subsequently, due to the similarity in hardware, we participated as a joint team in RoboCup 2018 & 2019 to more easily evaluate different software approaches.
References
- Baltes, J.: Central Pattern Generators. https://jackybaltes.github.io/Central-Pattern-Generators/
- Bestmann, M.: Towards Using ROS in the RoboCup Humanoid Soccer League. . Introduction p. 38 (2017)
- Bestmann, M., Brandt, H., Engelke, T., Fiedler, N., Gabel, A., Guldenstein, J., Hagge, J., Hartfill, J., Heuer, T., Poppinga, M., Salamanca, I.D.R., Speck, D.: Hamburg Bit-Bots and WF Wolves Team Description for RoboCup 2019 – Humanoid TeenSize –p. 8 (2019)
- Bestmann, M., Fiedler, N., Gabel, A., Guldenstein, J., Hamann, N., Hartfill, J., Heuer, T., Jobski, J., Lorenz, T., Paetzel, M., Poppinga, M., Reher, D., Reichardt, B., Salamanca, I.D.R., Sengpiel, O., Speck, D., Stelter, S., Stiddien, F., Szczypien, N.: WF Wolves & Hamburg Bit-Bots Team Description for RoboCup 2018 – Humanoid TeenSize –p. 8 (2018)
- Fiedler, N., Bestmann, M., Hendrich, N.: ImageTagger: An Open Source Online Platform for Collaborative Image Labeling. In: Holz, D., Genter, K., Saad, M., von Stryk, O. (eds.) RoboCup 2018: Robot World Cup XXII, vol. 11374, pp. 162–169. Springer International Publishing, Cham (2019)
- Gabel, A., Heuer, T., Schiering, I., Gerndt, R.: Jetson, Where Is the Ball? Using Neural Networks for Ball Detection at RoboCup 2017. In: Holz, D., Genter, K., Saad, M., von Stryk, O. (eds.) RoboCup 2018: Robot World Cup XXII. pp. 181– 192. Lecture Notes in Computer Science, Springer International Publishing, Cham (2019)
- Howard, A.G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., Adam, H.: MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications (Apr 2017)
- Islam, S., Carter, K., Yim, J., Kyle, J., Bergbreiter, S., Johnson, A.M.: Scalable Minimally Actuated Leg Extension Bipedal Walker Based on 3D Passive Dynamics. In: 2022 International Conference on Robotics and Automation (ICRA). pp. 207– 213. IEEE, Philadelphia, PA, USA (May 2022)
- Krebs, O.: Closed-Loop Kinematic Scheme for Kicking Motion of Humanoid Soccer Robots. Bachelorthesis, Ostfalia-University of applied Sciences (2015)
- Lorenz, T.: Visuelle Lokalisierung eines humanoiden Fußballroboters anhand von Feldlinien. Bachelorthesis, Ostfalia-University of applied Sciences (2016)
- Lorenz, T.: Evaluation von Security und Privacy in ROS-basierten Robotern. Bachelorthesis, Ostfalia-University of applied Sciences (2018)
- Röhrs, T.: Bewegungskontrolleinheit eines humanoiden Roboters. Bachelorthesis, Ostfalia-University of applied Sciences (Aug 2022)
- Ruppert, F., Badri-Sprowitz, A.: Learning plastic matching of robot dynamics in closed-loop central pattern generators. Nature Machine Intelligence 4 (Jul 2022)
- Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., Chen, L.C.: MobileNetV2: Inverted Residuals and Linear Bottlenecks (Mar 2019)
- Wang, C.Y., Bochkovskiy, A., Liao, H.Y.M.: YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors (Jul 2022)