You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
Go though and make general improvements. add in a sinusoidal curve as well with the same features as the driveExp() method.
add default values for the driveExp() method. required parameters should be drive and turn speeds, whereas optional values can be modification of the X and Z exaggeration values, the deadzone, and the place value of speed to pass.
also clip the values passed into the motors rounded to the thousandths place for each drive function. consider a private function that is designed to handle clipping output values, applying the dead zone, and passing values to the motors.
If this feature is implemented, move the curves to their own function class and have the functions in the DriveTrain class refer to those curves with default values already implemented. This would allow the curves to be applied to any feature of the robot quickly and saving code.
The text was updated successfully, but these errors were encountered:
Go though and make general improvements. add in a sinusoidal curve as well with the same features as the driveExp() method.
add default values for the driveExp() method. required parameters should be drive and turn speeds, whereas optional values can be modification of the X and Z exaggeration values, the deadzone, and the place value of speed to pass.
also clip the values passed into the motors rounded to the thousandths place for each drive function. consider a private function that is designed to handle clipping output values, applying the dead zone, and passing values to the motors.
If this feature is implemented, move the curves to their own function class and have the functions in the DriveTrain class refer to those curves with default values already implemented. This would allow the curves to be applied to any feature of the robot quickly and saving code.
The text was updated successfully, but these errors were encountered: