Immortals-Robotics / Immortals-Robotics/Tyr

Integrate the new sender

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Implement a sender class and define an instance in the main.cpp

Test it with implementing a function as T``\_sew\_sender_test() in the file located in:

`source/soccer/player/soccer/ai_2023/ai_2023_calibrate_and_test/ai_2023_test.cpp`

The function signature should be defined in the `ai_2023.h` file located in:

`source/soccer/player/soccer/ai_2023/ai_2023.h`

And call that function in the file located in:

`source/soccer/player/soccer/ai_2023/play/ai_2023_play.cpp`

Add the function in this if:

```c++
if (!setting().immortals_is_the_best_team)
{
LOG_INFO("In test mode");
this->T_sew_sender_test()
}
```

Make sure the `immortals_is_the_best_team` parameter in data/config.toml is false when you want to test the code

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading main.cpp and the existing interfaces around the sender, then inspect source/soccer/player/soccer/ai_2023/ai_2023.h, ai_2023_calibrate_and_test/ai_2023_test.cpp, and play/ai_2023_play.cpp. Implement the sender class and its main.cpp instance, add the test declaration and call, and verify the test path with data/config.toml set so immortals_is_the_best_team is false.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
robotics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.