Commit Graph

227 Commits

Author SHA1 Message Date
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
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
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
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
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
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
79d6297a46 Add more debug messages 2023-11-20 22:59:36 -08:00
0e66ff3715 Add missing imports 2023-11-20 20:32:35 -08:00
ddfb994c78 Localization test degrees heading 2023-11-20 20:31:08 -08:00
071e405f92 Require odometry wheel positions to run ManualFeedbackTuner (#292) 2023-11-12 21:55:25 -08:00
e291d590a6 Ensure 2 samples when drawing paths 2023-10-21 14:19:36 -07:00
a6b4dbebc4 Replace rear with back 2023-10-17 22:48:23 -07:00
42246e0296 Drive view use feedforward factory (fixes #258) 2023-10-15 09:10:55 -07:00
57db0dc66b Pipe feedforward into drive view factory 2023-10-10 14:49:06 -07:00
1b1197db0c Re-create feedforward objects 2023-10-09 22:07:21 -07:00
2584ce8d45 Add more dash tunables 2023-10-08 15:43:48 -07:00
fc9b93aab4 Fix feedback tuner start 2023-10-07 09:58:00 -07:00
4ff75136aa Remove outdated TODO 2023-10-07 09:39:27 -07:00
dd6d43d9c0 Change default par1YTicks
This avoids populating `NaN` in odometry-derived values.
2023-10-01 15:54:38 -07:00
7cce1c43a9 Apply heading velocity correction in localizer 2023-09-24 15:29:43 -07:00
5f2fcaf51f Dead wheel overflow encoders by default 2023-09-18 22:51:19 -07:00
2f2c6e6295 Rename dead wheel params 2023-09-15 18:45:36 -07:00
dc1b43e13f Remove mecanum forward kinematics rotation factors 2023-09-10 09:12:50 -07:00
b12b121447 Add more unit comments 2023-09-10 09:12:35 -07:00
5cd5bdd04e Finish tank params refactor 2023-09-10 09:12:20 -07:00
e002d64689 Use RR FTC module 2023-08-26 10:48:26 -07:00
9fa28159da Remove tuning web files 2023-08-26 10:09:43 -07:00
9db94c089d Move quickstart files to separate module 2023-08-19 19:29:18 -07:00