-
Notifications
You must be signed in to change notification settings - Fork 1
Acceleration Limiting #32
Copy link
Copy link
Open
Labels
Low PriorityIssues that would be nice to have resolved but are not necessaryIssues that would be nice to have resolved but are not necessarycore functionalityfeature requestnew features that should be added to alloynew features that should be added to alloygood first issue
Metadata
Metadata
Assignees
Labels
Low PriorityIssues that would be nice to have resolved but are not necessaryIssues that would be nice to have resolved but are not necessarycore functionalityfeature requestnew features that should be added to alloynew features that should be added to alloygood first issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Add an acceleration limiting step for inputs.
The acceleration limit should take in two differential objects that are able to keep track of the linear acceleration and rotational acceleration
There will be a total of 3 acceleration limiters
An example of the differential objects is as follows
Although it may be possible to completely bypass the step of creating differential objects to handle the calculation, due to build in functionality of the Accelerometer and Gyroscope APIs
The next challenge in this problem is converting acceleration to power in the motors.
This means that the best way to limit acceleration may be to apply a PID controller to keep the motors moving at a constant acceleration as defined from an Input
This could also be done more simply with a step like
Or something along those lines. I will implement and test various implementations for this. And update on this thread