Commit Graph

351 Commits

Author SHA1 Message Date
a823aa7af7 small misc changes 2024-07-21 22:52:25 -04:00
70cfd3be44 updated readmes for the drive pid changes and the OTOS localizer 2024-07-21 12:54:47 -04:00
09ae88b27e refactored the localizer files and added an OTOS localizer 2024-07-21 00:14:20 -04:00
7b8adf25bf work mostly done on kalman filter 2024-07-20 00:56:24 -04:00
67f56a9931 updated to the 9.2 FTC SDK and working on adding the kalman filter and filtered pidf to the drive pid 2024-07-18 22:34:39 -04:00
14b5f267fb Added new localizer that uses three tracking wheels, with the IMU for most heading tracking. Also fixed the math for the teleop centripetal force correction with help from @junkjunk123 on Discord 2024-07-13 23:09:55 -04:00
6ce588fc79 Merge pull request #990 from FIRST-Tech-Challenge/20240701-085519-release-candidate
FtcRobotController v9.2
2024-07-11 12:56:07 -07:00
48019d026b FtcRobotController v9.2 2024-07-11 12:31:10 -07:00
ce2009b8b4 Create static.yml 2024-06-08 02:52:42 -04:00
41c09e0103 localizer readme done 2024-05-18 16:36:17 -04:00
bfab6dc7d0 more fixes 2024-05-17 10:04:28 -04:00
252cc304ad minor fixes and todo removed 2024-05-14 09:33:53 -04:00
0f304e912d fixed gradle 2024-05-14 09:19:14 -04:00
52f3cb91ae disabled road runner localizer adapters to reduce number of gradle dependencies 2024-05-14 08:39:48 -04:00
168537cb28 added comments to all new files and increased FTC Dashboard field drawing functionality, will add a readme for the localization section 2024-05-13 23:15:20 -04:00
ccc74c8120 uncommented Road Runner adapter files 2024-05-09 23:12:32 -04:00
2468dbb58a Adapter for Road Runner added for easier transition to Pedro Pathing localizer, as well as adding previously omitted files 2024-05-09 23:00:12 -04:00
55b4b6b7f1 fixed centripetal force correction issues and added localizer stuff. an interface for the roadrunner localizer will come in the next commit 2024-05-09 21:40:36 -04:00
bdf183fe62 fixed path parameter issues 2024-05-05 20:32:06 -04:00
f8fd55da43 oops, should be good now 2024-04-29 21:24:29 -04:00
99b02f52e9 yay 2024-04-28 22:10:23 -04:00
3b92cb79b2 Merge pull request #1 from 21229QualityControl/master
Make the build successful
2024-04-28 20:32:30 -04:00
28c3ee97fe Make it successfully build 2024-04-28 17:24:54 -07:00
2ba5639bbc centripetal force correction fix 2024-03-30 22:47:57 -04:00
3af80e243b centripetal force correction fix 2024-03-29 16:58:38 -04:00
61615feacf minor change to tuning readme 2024-03-25 20:36:00 -04:00
f2c524b59f first commit 2024-03-24 23:37:27 -04:00
4bb3a5ad61 first commit 2024-03-24 23:30:39 -04:00
416ba0d1ad Bump RR 2024-03-16 08:58:51 -07:00
6b35895532 Use new params 2024-03-02 22:56:53 -08:00
03d95d791e Rename LazyImu drive members
Also makes sure the mecanum drive localizer fetches the IMU
on construction.
2024-02-20 22:07:37 -08:00
9d2cd48287 Stop reading localizer inputs on construction
This ensures that any motion between construction and first update
will be ignored (this is usually the period between init and start
of an op mode). If teams want to track pose during that period,
they can call `updatePoseEstimate()` explicitly. This matches the
behavior of the 0.5.x localizers (without the annoying reset on
every pose estimate set).

The localizers also now log much more data to help troubleshoot
localization issues in the future.
2024-02-19 14:23:43 -08:00
ecc49aa778 Merge SDK v9.1 2024-02-17 10:51:28 -08:00
1da45a36c6 Merge pull request #941 from FIRST-Tech-Challenge/20240215-115542-release-candidate
FtcRobotController v9.1
2024-02-16 14:13:01 -08:00
c303962469 FtcRobotController v9.1 2024-02-15 13:10:49 -08:00
8e84495f1a Add drawing class 2024-01-31 17:52:54 -08:00
01d55d76f4 Draw robot in LocalizationTest (fixes #360) 2024-01-30 22:10:27 -08:00
c6ef075c48 Update to lazy IMU (fixes #346) 2024-01-25 22:27:07 -08:00
5cf1596910 Set better default lateralInPerTick 2024-01-14 09:09:14 -08:00
7381cb6b23 Bump RR FTC 2023-12-24 14:40:51 -08:00
a01ac85ef7 Better spline test 2023-12-24 13:30:20 -08:00
a890105110 Add encoder reverse directions to dead wheel localizers
Direction doesn't matter for position regression, but it does matter
for `inPerTick`, `lateralInPerTick`. And everything makes more sense
if the directions are correct.
2023-12-23 13:23:43 -08:00
ce080b0b51 Always throw RuntimeException
The FTC SDK only catches `Exception` thrown by user code,
so switch all throwables to `RuntimeException`.
2023-12-20 18:10:52 -08:00
e4cff7367d Bump RR FTC 2023-12-17 12:45:19 -08:00
263100de3b Bump RR 2023-12-12 09:48:38 -08:00
02d8ea7615 Move drive encoder reversal before first get
Changing the direction of an encoder after reading it the first time
will create a potentially massive delta in the first odometry update.
2023-12-09 09:17:20 -08:00
01453c24d4 Add TODO comments 2023-12-05 23:18:58 -08:00
d586fc3e74 Bump RR FTC 2023-11-26 14:28:01 -08:00
416cab6f51 Log power commands 2023-11-26 13:54:10 -08:00
7ad781b8ac Replace log() with toDouble() 2023-11-26 11:46:46 -08:00