-
Notifications
You must be signed in to change notification settings - Fork 45
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
[FEATURE] Gain Scheduling #46
Comments
This is planned for the next major version (v0.5.0). Unfortunately this will sit in the backlog for a bit as there are some huge pull requests needing to be merged |
Additionally, this feature does complicate the PID class quite a bit. An important goal of the library is to remain simple, so I'll have to think of a clean way to do this. Let me know if you have any ideas |
Fair enough, I understand that simplicity is an important concern, so could you specify what you're trying to avoid other than just general design issues, I'd be willing to help out I just want to know if there is a certain pattern to how you want the PID class structured. Thanks, also we could move this conversation to Discord if that's easier. |
Discord would be easier, as convo is about designing the solution, something GitHub issues aren't super great at |
Implement gain scheduling, and a way to easily modify interpolation behavior by taking a user-specified function.
commit 8d2955a Merge: c024e94 aa249a1 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Jan 1 15:47:28 2024 -0800 Merge pull request LemLib#115 from Raptorly1/patch-2 Add turnCurveGain for Differential commit c024e94 Merge: 7bdd271 65fbf75 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Thu Dec 21 20:33:56 2023 -0800 Merge pull request LemLib#123 from Miniongolf/patch-1 Update CONTRIBUTING.md with instructions for creating new files in `lemlib` commit 65fbf75 Author: N Cheng <74994367+Miniongolf@users.noreply.github.com> Date: Thu Dec 21 15:01:56 2023 -0500 Update CONTRIBUTING.md Add colon for consistency commit 978df55 Author: N Cheng <74994367+Miniongolf@users.noreply.github.com> Date: Thu Dec 21 14:57:19 2023 -0500 Update CONTRIBUTING.md Add instructions to run `make clean quick -j` when creating a new file in the lemlib folder. commit aa249a1 Merge: 6fe763e 7bdd271 Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Mon Dec 4 20:01:14 2023 -0800 Merge branch 'refactor' into patch-2 commit 7bdd271 Author: Liam Teale <liamteale6@gmail.com> Date: Mon Dec 4 13:12:00 2023 -0800 update readme image commit 520cc4a Author: Liam Teale <liamteale6@gmail.com> Date: Mon Dec 4 13:01:12 2023 -0800 bump version commit 6fe763e Merge: 7f8151b bae54ec Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Dec 4 12:55:26 2023 -0800 Merge branch 'refactor' into patch-2 commit bae54ec Author: Liam Teale <liamteale6@gmail.com> Date: Mon Dec 4 12:53:55 2023 -0800 fix formatting commit dda1877 Merge: 1d4941a 46e024c Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Dec 4 12:51:39 2023 -0800 Merge branch 'master' into refactor commit 1d4941a Merge: be03e36 6fb6081 Author: Liam Teale <liamteale6@gmail.com> Date: Sun Dec 3 21:21:34 2023 -0800 Merge branch 'master' into refactor commit 7f8151b Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Sun Dec 3 16:36:08 2023 -0800 Update differential.cpp commit df7daf7 Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Sun Dec 3 16:29:11 2023 -0800 Update differential.hpp commit 34f8dcd Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Sun Dec 3 16:27:17 2023 -0800 Update differential.hpp commit 17885c5 Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Sun Dec 3 16:24:08 2023 -0800 added tunCurve functin parameter to differential.hpp commit c2a3416 Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Sun Dec 3 16:22:05 2023 -0800 added turnCurve function parameter for differential commit f06bc43 Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Wed Nov 29 11:31:59 2023 -0800 Update differential.cpp commit be03e36 Merge: 6013a55 d0d0a39 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Nov 29 09:19:59 2023 -0800 Merge pull request LemLib#113 from Rocky14683/refactor [STRUCTURE] Always use `this->` pointer commit d0d0a39 Author: Liam Teale <liamteale6@gmail.com> Date: Wed Nov 29 09:10:45 2023 -0800 fix build errors commit 52d5c48 Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Wed Nov 29 09:01:17 2023 -0800 add turnCurveGain in differential.cpp commit d5a7ced Author: Raptorly1 <95979895+Raptorly1@users.noreply.github.com> Date: Wed Nov 29 08:59:01 2023 -0800 add turnCurveGain in differential.hpp commit ec46c82 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Nov 27 20:11:16 2023 +0000 change - to -> in pid.cpp commit 83ab2af Merge: 0ac9f37 6013a55 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Nov 26 21:07:39 2023 -0800 Merge branch 'refactor' into refactor commit 0ac9f37 Merge: 4b2e331 36cd8d8 Author: Rocky14683 <rocky10208@gmail.com> Date: Sun Nov 26 20:51:38 2023 -0500 Merge remote-tracking branch 'origin/refactor' into refactor commit 4b2e331 Author: Rocky14683 <rocky10208@gmail.com> Date: Sun Nov 26 20:44:45 2023 -0500 Format the code commit 36cd8d8 Author: Rocky14683 <rocky10208@gmail.com> Date: Sun Nov 26 20:44:45 2023 -0500 Format the code commit b493d43 Author: Rocky14683 <rocky10208@gmail.com> Date: Sun Nov 26 20:40:33 2023 -0500 Add this-> pointers to everything commit 6013a55 Merge: 839cbac 65892ff Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Nov 26 16:50:33 2023 -0800 Merge pull request LemLib#109 from Rocky14683/refactor Refactor commit 839cbac Merge: fc643e7 e09eedf Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Nov 26 16:31:11 2023 -0800 Merge pull request LemLib#110 from 5150VEX/refactor-gainschedule ✨ Implement gain scheduling commit e09eedf Author: sufferiing <austinjs1213@gmail.com> Date: Sun Nov 26 13:45:49 2023 -0500 Use initializer list commit 262c98e Author: sufferiing <austinjs1213@gmail.com> Date: Sat Nov 25 15:47:51 2023 -0500 Clang format commit b104bb0 Author: sufferiing <austinjs1213@gmail.com> Date: Sat Nov 25 01:48:32 2023 -0500 Fix overlapping test names commit 26619c8 Author: sufferiing <austinjs1213@gmail.com> Date: Sat Nov 25 01:46:20 2023 -0500 Add tests commit 0a9d1ca Author: sufferiing <austinjs1213@gmail.com> Date: Sat Nov 25 01:19:53 2023 -0500 :sparkles: Implement gain scheduling (LemLib#46) Implement gain scheduling, and a way to easily modify interpolation behavior by taking a user-specified function. commit 65892ff Author: Rocky14683 <rocky10208@gmail.com> Date: Sat Nov 25 00:40:49 2023 -0500 Format the CODE commit b982d01 Author: Rocky14683 <rocky10208@gmail.com> Date: Sat Nov 25 00:33:11 2023 -0500 Make changes to differential class 1. Added this-> pointer for every class instance 2. Update class instance linearSettings, angularSettings, drivetrain to a shared_ptr 3. Make tank, arcade, and curvature function take const reference as its parameter 4. Make the Drivetrain constructor taking the const reference of shared_ptr as parameters(because you wouldn't want to pass the ownership) 5. Make the code of makeMotorGroup function cleaner and make it taking const reference as parameters commit 6e45d47 Author: Rocky14683 <rocky10208@gmail.com> Date: Fri Nov 24 16:52:41 2023 -0500 Make getPose as a const function commit b2f06ff Author: Rocky14683 <rocky10208@gmail.com> Date: Fri Nov 24 16:46:12 2023 -0500 Make IMU constructor take const reference commit fc643e7 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Fri Nov 24 09:02:55 2023 -0800 Add codecov token to unit test workflow commit 89e0870 Merge: 64918c4 e65784a Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Fri Nov 24 08:44:17 2023 -0800 Merge pull request LemLib#99 from BattleCh1cken/feature-unit-testing-refactor-v2 ✅ Add a unit testing system commit e65784a Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Thu Nov 23 09:02:01 2023 -0500 Update the license to include RaidZeroLib's copyright notice commit fea5135 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Mon Nov 20 22:27:48 2023 -0500 Add tests for utils commit 0fa0af5 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Tue Nov 21 14:02:44 2023 -0500 Add a unit testing section to the contributing guide. commit 8714d97 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Mon Nov 20 15:35:22 2023 -0500 Fix failing build commit c04da9f Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Sun Nov 19 20:53:02 2023 +0000 Use EXPECT_FLOAT_EQ() (cherry picked from commit 7b044ed) commit 7c6e884 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Sun Nov 19 12:41:13 2023 -0500 Update workflow with missing dependency commit 759714d Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Sun Nov 19 12:39:37 2023 -0500 Update workflow to list coverage commit cc2c542 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Sun Nov 19 12:30:16 2023 -0500 Update workflow commit b4568e5 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Sun Nov 19 12:28:16 2023 -0500 Update workflow commit 64d5a8b Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Sun Nov 19 12:24:44 2023 -0500 Add a workflow for the unit tests commit bdb3258 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Thu Nov 16 21:30:38 2023 -0500 Fix formatting commit 767fe52 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Thu Nov 16 21:18:01 2023 -0500 Add utils to testing commit ab4d268 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Thu Nov 16 21:10:21 2023 -0500 Fix namespace commit 2a8e510 Author: BattleCh1cken <BattleCh1cken@larkov.de> Date: Thu Nov 16 21:03:29 2023 -0500 Remove file stopping lemlib from compiling commit 8a495ec Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Fri Nov 17 01:11:31 2023 +0000 Add tests for complex Pose methods commit bf3200f Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Thu Nov 16 23:59:47 2023 +0000 Add ==, !=, and << operators commit 6f7a3bb Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Wed Nov 15 19:12:11 2023 +0000 Get gtest working commit fc1ef76 Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Thu Nov 16 21:09:36 2023 +0000 Pose operator test commit 890da22 Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Thu Nov 16 20:37:00 2023 +0000 Basic test working commit 64918c4 Merge: f30ce21 9cfd2b5 Author: Liam Teale <liamteale6@gmail.com> Date: Mon Nov 20 09:23:02 2023 -0800 Merge branch 'refactor' of https://github.com/LemLib/LemLib into refactor commit f30ce21 Author: Liam Teale <liamteale6@gmail.com> Date: Mon Nov 20 09:23:00 2023 -0800 Make motion parameters consistent commit 9cfd2b5 Merge: cd3e736 79607ce Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Nov 20 08:36:55 2023 -0800 Merge pull request LemLib#90 from Exortions/refactor Fix data abort exception on imu calibration fail commit cd3e736 Merge: 475d619 93e4ab8 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Nov 20 08:34:52 2023 -0800 Merge pull request LemLib#93 from meisZWFLZ/refactor Make Pose methods const commit 475d619 Author: Liam Teale <liamteale6@gmail.com> Date: Sun Nov 19 15:46:47 2023 -0800 add support for generic gyros for differential commit f74b927 Author: Liam Teale <liamteale6@gmail.com> Date: Sun Nov 19 15:30:17 2023 -0800 fix build errors commit 32a4f02 Merge: eb3e37b d87047e Author: Liam Teale <liamteale6@gmail.com> Date: Sun Nov 19 15:24:10 2023 -0800 Merge branch 'master' into refactor commit 93e4ab8 Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Sun Nov 19 21:50:46 2023 +0000 How did that get there commit 9ae1734 Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Sun Nov 19 21:20:42 2023 +0000 Fix formatting commit dfbd688 Author: Andrew Curtis <80860310+meisZWFLZ@users.noreply.github.com> Date: Sun Nov 19 21:10:27 2023 +0000 Make appropriate pose methods const commit 79607ce Author: Exortions <75327059+Exortions@users.noreply.github.com> Date: Sun Nov 19 12:04:59 2023 -0800 remove breaking .erase calls commit a7b8f59 Author: Exortions <75327059+Exortions@users.noreply.github.com> Date: Sun Nov 19 11:56:26 2023 -0800 fix formatting commit 0fa9c5c Author: Exortions <75327059+Exortions@users.noreply.github.com> Date: Sun Nov 19 11:55:08 2023 -0800 remove unused logger arguments commit b1a85e1 Author: Exortions <75327059+Exortions@users.noreply.github.com> Date: Sun Nov 19 11:54:36 2023 -0800 add same fix to tracking wheels & drivetrain commit a5aeb3c Author: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu Nov 16 21:48:55 2023 -0800 fix data abort exception on imu calibration fail commit eb3e37b Author: Liam Teale <liamteale6@gmail.com> Date: Sat Nov 4 12:21:21 2023 -0700 remove unnecessary Movement ctor commit 56390b5 Author: Liam Teale <liamteale6@gmail.com> Date: Wed Nov 1 10:00:53 2023 -0700 Fix build errors commit b751253 Merge: b28285f 2432ee4 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Nov 1 09:23:41 2023 -0700 Merge branch 'master' into refactor commit b28285f Author: Liam Teale <liamteale6@gmail.com> Date: Wed Nov 1 09:11:31 2023 -0700 correctly handle motor encoders in DifferentialArc odom commit f312d9b Author: Liam Teale <liamteale6@gmail.com> Date: Wed Nov 1 08:35:53 2023 -0700 Rename arcOdom.cpp to differentialArc.cpp commit bd8e149 Author: Liam Teale <liamteale6@gmail.com> Date: Wed Nov 1 08:17:31 2023 -0700 Rename ArcOdom to DifferentialArc commit 66b8727 Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 31 20:47:05 2023 -0700 fix format commit 7d98df9 Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 31 20:44:25 2023 -0700 fix odom axis swap commit 4a78895 Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 31 19:04:26 2023 -0700 Fix IMU getRotationDelta, fix Pose ctor commit 170c6ec Author: Liam Teale <liamteale6@gmail.com> Date: Mon Oct 30 12:17:36 2023 -0700 Abstract chassis class commit 2de6969 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Oct 29 22:09:07 2023 -0700 Start work on abstract chassis commit c6869de Author: Liam Teale <liamteale6@gmail.com> Date: Sat Oct 28 14:23:35 2023 -0700 improve main.cpp documentation commit 6dbbcff Author: Liam Teale <liamteale6@gmail.com> Date: Fri Oct 27 11:06:37 2023 -0700 add pid comments in main.cpp example commit 1656b14 Author: Liam Teale <liamteale6@gmail.com> Date: Fri Oct 27 08:44:34 2023 -0700 Remove old odom files commit caef7db Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 25 21:58:13 2023 -0700 consistent namespace in source commit ac44984 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 25 21:28:30 2023 -0700 Revert "start work on chassis struct cleanup" This reverts commit fad08da. commit c7025d8 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 25 21:28:03 2023 -0700 Include new directories in makefile commit fad08da Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 25 20:58:18 2023 -0700 start work on chassis struct cleanup commit 4cd6f01 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Oct 22 18:04:01 2023 -0700 move deltaTheta calculation to its own function commit 7d9ffe4 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Oct 22 14:15:48 2023 -0700 Implement arc odom commit 77d76c1 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Thu Oct 19 08:06:29 2023 -0700 Start work on arc odom implementation commit be4cc02 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 18 18:36:36 2023 -0700 Remove compiling test in motor.cpp commit a281527 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 18 18:35:09 2023 -0700 create encoder.cpp commit a8fadd9 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 18 18:32:40 2023 -0700 Added getAngleDelta() function encoder commit ec8a6f5 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 18 17:32:25 2023 -0700 Add error messages in odom calibration commit 0a2ebea Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Tue Oct 17 22:17:09 2023 -0700 Update .gitignore commit d8c8b10 Merge: d54dac0 1fef6c0 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Tue Oct 17 22:15:29 2023 -0700 Merge branch 'master' into refactor commit d54dac0 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Tue Oct 17 21:54:13 2023 -0700 Mark some gyro functions const commit 66205b6 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Tue Oct 17 21:13:04 2023 -0700 Fix pros 4.0.6 build errors commit 5c7f82c Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 17 16:56:52 2023 -0700 Upgrade to pros 4.0.6 commit 691c8c6 Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 17 16:46:37 2023 -0700 switch back to shared_ptr commit fd8903f Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 17 12:47:53 2023 -0700 clean up encoders and tracking wheel commit 7b144ea Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 17 12:01:24 2023 -0700 Fix main.cpp compile errors commit 67b8e4d Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 17 11:48:57 2023 -0700 Implement Imu commit eb29c36 Author: Liam Teale <liamteale6@gmail.com> Date: Mon Oct 16 09:43:06 2023 -0700 Port to Pros 4.0.5 commit 5542438 Author: Liam Teale <liamteale6@gmail.com> Date: Mon Oct 16 09:26:02 2023 -0700 Switch to pros 4.0.5 commit 6970f3e Author: Liam Teale <liamteale6@gmail.com> Date: Mon Oct 16 09:21:16 2023 -0700 Start work on Gyro implementation commit 11613b4 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sat Oct 14 22:45:06 2023 -0700 Start work on gyro abstraction commit 07f869e Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sat Oct 14 21:54:21 2023 -0700 Move some files commit 76fc8be Author: Liam Teale <liamteale6@gmail.com> Date: Sat Oct 14 21:16:27 2023 -0700 Implement odom calibration commit a26200f Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 10:54:31 2023 -0700 Calibrate sensors in abstract odom class commit 52d7beb Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 10:48:24 2023 -0700 Start work on odom abstraction (again) commit 7b954ec Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 09:50:20 2023 -0700 Fix format commit 9fda81f Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 09:46:46 2023 -0700 Fix build issues commit 4481fcf Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 09:34:43 2023 -0700 Revert revert on master-refactor merge :sob: commit c97145a Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 08:38:21 2023 -0700 Revert odom abstraction (2) commit 6c9b02c Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 08:37:47 2023 -0700 Revert odom abstraction commit a8d3444 Author: Liam Teale <liamteale6@gmail.com> Date: Thu Oct 12 08:34:55 2023 -0700 Revert master into refactor merge commit 9e71566 Merge: 66f787c 3effad7 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 11 21:28:37 2023 -0700 Merge remote-tracking branch 'origin/master' into refactor commit 66f787c Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 11 19:06:08 2023 -0700 Continue work on odom abstraction commit 300dc30 Author: Liam Teale <liamteale6@gmail.com> Date: Wed Oct 11 17:42:17 2023 -0700 Start work on odom abstraction commit 629907c Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 10 21:34:01 2023 -0700 Move tracking wheel files to devices directory commit 2ab1602 Author: Liam Teale <liamteale6@gmail.com> Date: Tue Oct 10 21:13:21 2023 -0700 Add support for custom encoders commit fac73f8 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Oct 9 19:34:05 2023 -0700 add support for custom motion algs commit 00523c2 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Oct 9 18:21:50 2023 -0700 Use smart pointers in chassis class commit 26c21b9 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Mon Oct 9 17:25:10 2023 -0700 Abstract tracking wheel encoders commit 3eae479 Author: Liam Teale <liamteale6@gmail.com> Date: Fri Oct 6 14:24:45 2023 -0700 Implement abstract encoders commit f18ad0e Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 4 20:06:54 2023 -0700 Update config for new prog bot commit 8418a7d Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Oct 4 18:42:17 2023 -0700 Fix odom calibration commit 2621a4d Author: Liam Teale <liamteale6@gmail.com> Date: Sun Oct 1 15:04:47 2023 -0700 Fix formatting errors commit 192cdca Merge: a1afeb7 cff7f33 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Sun Oct 1 15:02:33 2023 -0700 Merge branch 'master' into refactor commit a1afeb7 Author: Liam Teale <liamteale6@gmail.com> Date: Sun Oct 1 14:58:33 2023 -0700 Add option to skip IMU calibration commit 885032b Author: Liam Teale <liamteale6@gmail.com> Date: Sun Oct 1 14:12:10 2023 -0700 Slight changes to async movement commit e14f3b5 Author: Liam Teale <liamteale6@gmail.com> Date: Sun Oct 1 12:57:58 2023 -0700 Fix build errors commit 9968582 Author: Liam Teale <liamteale6@gmail.com> Date: Sun Oct 1 10:31:57 2023 -0700 Finished Pure Pursuit refactor commit 857460b Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sat Sep 30 22:18:02 2023 -0700 Work on pure pursuit commit 60a7e17 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Sat Sep 23 21:47:59 2023 -0700 Refactor Boomerang commit 3b69978 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Fri Sep 22 18:11:27 2023 -0700 split movement up into 4 different headers commit b060f32 Author: Liam Teale <liamteale6@gmail.com> Date: Wed Sep 20 12:46:19 2023 -0700 Started work on Movement classes commit 63b4ea8 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Fri Sep 15 16:39:05 2023 +0000 Finalize Odom refactor commit 3ee14f7 Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Thu Sep 14 16:29:37 2023 +0000 Fix build errors commit 833f6df Author: Liam Teale <111480281+SizzinSeal@users.noreply.github.com> Date: Wed Sep 13 20:27:25 2023 +0000 Work on Odometry class. TODO: fix header BS commit ef00cb0 Author: SizzlinSeal <111480281+SizzinSeal@users.noreply.github.com> Date: Tue Sep 12 07:44:40 2023 -0700 Started work on odom refactor
Implement gain scheduling, and a way to easily modify interpolation behavior by taking a user-specified function.
Requested Feature
The ability to put in control cases for PID constant(s) (I.e. kP = 2, kD = 3 at 90 degrees and kP = 2, kD = 4 at 160 degrees) and interpolate between the constant(s).Current Implementation
There currently is no implementation.Motivation
Due to the non-linear nature of the robot's movement, one set of PID constants is not as effective in one case to the other, so it would be nice to have a way of automatically making adjustments to the constants to increase consistent performance.(Optional) Possible Implementations and Alternatives
Having an alternative constructor for FAPID, where you can insert control cases as list of lists or other method (I.e. {kF = 1, kA = 0, kP = 3, kI = 1, kD = 4, case = 90}) and from lowest case to highest case, interpolate linearly or with a spline the constantsThe text was updated successfully, but these errors were encountered: