Skip to content

Commit 05b6892

Browse files
committed
fix Blackbox logging rate over 8kHz #415
1 parent a87c60c commit 05b6892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/tabs/onboard_logging.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ TABS.onboard_logging.initialize = function (callback) {
180180

181181
// Offer a reasonable choice of logging rates (if people want weird steps they can use CLI)
182182
var loggingRates = [];
183-
var pidRate = 8000 / PID_ADVANCED_CONFIG.gyro_sync_denom / PID_ADVANCED_CONFIG.pid_process_denom;
183+
var pidRate = 32000 / PID_ADVANCED_CONFIG.gyro_sync_denom / PID_ADVANCED_CONFIG.pid_process_denom;
184184

185185
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
186186
loggingRates = [

0 commit comments

Comments
 (0)