Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New layer to draw obstacles on the field widget #3367

Open
2 tasks
itsarune opened this issue Oct 18, 2024 · 0 comments · May be fixed by #3406
Open
2 tasks

New layer to draw obstacles on the field widget #3367

itsarune opened this issue Oct 18, 2024 · 0 comments · May be fixed by #3406
Assignees
Labels
Difficulty - 13 Require a good understanding of relevant systems and tools, and may require some pathfinding Motion Planning Testing Field testing, test infrastructure, robot tuning

Comments

@itsarune
Copy link
Contributor

Description of the task

When field testing, it would be nice to draw obstacles on the field and have the robots respect those obstacles when path planning. This is nice when testing motion planning on the field.

Possible approach:

  1. Add a new layer that allows us to draw obstacles on the field. For now, the layer should allow us to draw and erase rectangles on the field.
  2. When we draw an object on the layer, the implementation should send a proto
  3. Add a new listener for it in the UnixSimulatorBackend and Backend
  4. Create a new overrideObstacles functionality in AI that gets called whenever a new Obstacle proto is received
  5. Pass in the new obstacles into the generatePrimitiveProtoMessage function. You may need to introduce a new parameter

Acceptance criteria

  • Create a new field widget that interactively lets you draw and erase obstacles
  • Test full functionality with robots. Draw an obstacle, make the robot move and observe that the robots avoid the drawn "obstacle"

Blocked By

@itsarune itsarune added Difficulty - 13 Require a good understanding of relevant systems and tools, and may require some pathfinding Motion Planning Testing Field testing, test infrastructure, robot tuning labels Oct 18, 2024
@Lmh-java Lmh-java assigned Lmh-java and Mr-Anyone and unassigned Lmh-java Nov 9, 2024
@Mr-Anyone Mr-Anyone linked a pull request Nov 12, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty - 13 Require a good understanding of relevant systems and tools, and may require some pathfinding Motion Planning Testing Field testing, test infrastructure, robot tuning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants