Skip to content

90/180º heading rotation #4

@willitcode

Description

@willitcode

Bind D-Pad buttons to rotate the robot by 90 or 180 degrees.

In field-oriented drive mode, this should rotate the robot relative to the field (duh). Pressing the left d-pad button should rotate the robot so that it faces towards the left side of the field, forward should face opposite DS wall, etc.

In robot-oriented drive mode, up and down should both flip the robot 180 degrees, left should rotate the robot 90 degrees to the left, and right should rotate the robot 90 degrees to the right.

This may require some extra legwork because changing the keymap based off of the drive base mode is a new one for us.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions