Skip to content

修复省赛无边界时球门与边界墙穿模的bug - #2

Open
lkhcode wants to merge 3 commits into
Robocup-ssl-China:masterfrom
lkhcode:master
Open

修复省赛无边界时球门与边界墙穿模的bug#2
lkhcode wants to merge 3 commits into
Robocup-ssl-China:masterfrom
lkhcode:master

Conversation

@lkhcode

@lkhcode lkhcode commented May 25, 2026

Copy link
Copy Markdown
  1. 修复省赛无边界时球门与边界墙穿模的bug
  2. 修复grSim在Ubuntu24.04平台下使用GCC13编译后,运行出现段错误的bug
  3. 修复grSim黄蓝方回包不区分队伍,导致回包串了的bug

Copilot AI review requested due to automatic review settings May 25, 2026 06:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts SSLWorld wall geometry to avoid boundary-wall/goal clipping when field margins are removed or reduced, and fixes a missing return value in camera positioning.

Changes:

  • Splits each vertical boundary wall into upper/lower segments around the goal area.
  • Increases WALL_COUNT from 10 to 12 and renumbers goal wall entries.
  • Adds return true to SSLWorld::getCamPos().

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/sslworld.cpp Updates wall construction geometry and fixes getCamPos() return behavior.
include/sslworld.h Updates wall array count to match the expanded wall set.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/sslworld.cpp
walls[2] = new PFixedBox(pos_x, -thick/2, pos_z,
thick, siz_y, siz_z,
const double gthick = cfg->Goal_Thickness();
const double gpos_y = (cfg->Goal_Width() + gthick) / 2.0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants