Skip to content

Create Ferrying Commands #85

Description

@brhecker

Create commands for ferrying fuel. One for ferrying to driver oriented left, and one for right.
The commands should

  • Get the appropriate Pose3d depending on the current alliance, and stash it in a variable
  • Have a member Transform2d that starts at the default 0
  • Adjust the transform based on the operator left stick input
  • Have a method that returns the Pose3d represented by adding the transform to the original pose
  • Create have a 'ShootToPose' command in the constructor that is passed that method as its Pose supplier
  • Call schedule() on that 'ShootToPose' in initialize, and cancel() in end

Map these commands to operator Left Trigger and Right Trigger appropriately

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions