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

Drivetrain Subsystem/Commands #2

Open
isaacpatton72 opened this issue Dec 1, 2024 · 0 comments
Open

Drivetrain Subsystem/Commands #2

isaacpatton72 opened this issue Dec 1, 2024 · 0 comments
Assignees
Labels
controls related to controls engineering development working on a new feature Hero Working on Hero Sentry Working on Sentry Standard Working on Standard

Comments

@isaacpatton72
Copy link
Member

isaacpatton72 commented Dec 1, 2024

Develop the control logic for the robot’s drivetrain, which can either use omni-wheels or mecanum wheels. For both cases you will need to define a robot relative control method where you can rotate what the robot thinks is forward by some angle say theta. This angle may at one point come from the offset from what the robot thinks is forward vs where the turret of the robot is pointed at. These classes should likely be more generic where constants such as wheelbase length and width can be passed in at construction allowing you to use the same classes for the Hero, Sentry, and Standard. Hard coding is not the end of the world and may actually be better in the circumstance that something needs to be specific to one of the robots though as far as I can see a generic class shouldn't introduce too much additional complexity to the code. You're always able to talk to a team lead or respond in this thread about decisions so if you disagree feel free to.

Also don't forget that you will be required to write the methods in the control operator interface that will be used to fetch information like desired velocity and rotational velocity which will need to be calculated from WASD values along with things like the shift key for sprinting. Also, be sure to utilize the slew rate limiter so to scale up the desired speeds rather than going from 0 to max speed.

@isaacpatton72 isaacpatton72 added controls related to controls engineering development working on a new feature Hero Working on Hero Sentry Working on Sentry Standard Working on Standard labels Dec 1, 2024
@isaacpatton72 isaacpatton72 changed the title Complete Drivetrain Subsystem/Commads Drivetrain Subsystem/Commads Dec 1, 2024
@BNM232 BNM232 changed the title Drivetrain Subsystem/Commads Drivetrain Subsystem/Commands Dec 3, 2024
@AllenRobotMasters AllenRobotMasters self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controls related to controls engineering development working on a new feature Hero Working on Hero Sentry Working on Sentry Standard Working on Standard
Projects
Status: No status
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants