Skip to content

Ball collision with robot chassis is not being handled #154

@FelipeMartins96

Description

@FelipeMartins96

Describe the bug
Ball collision with robot chassis is not being handled

To Reproduce
Steps to reproduce the behavior:

  1. Start grSim
  2. Move ball in robot direction, between wheels
  3. Observe the ball getting inside the robot

Expected behavior
Ball should not get inside the robot

Screenshots
image

Additional context
The code creating a surface between the ball and robot chassis is currently commented on the code.

//p->createSurface(robots[k]->chassis,ball);

I tested uncommenting this line, the ball stopped getting inside the robot, but it stopped contacting properly with the kicker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions