Skip to content

Replace the use of distances in the motion classes with conditional movement #3

@jamestmartin

Description

@jamestmartin

The preset distances are not accurate (uselessly so) with mechanam wheels, and untested with normal wheels. We can consider adding position tracking later, but as-is it's not practical, so we should rip it out., notably in IWheels and MechanamMotors.

Use the @deprecated annotation so the compiler can help you find out what needs to be replaced throughout the codebase, without ripping out the code entirely. Do not comment out code: you can check the Git history if you need to reference old code.

The new interface should have

  • move forward until condition
  • turn until condition

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions