Commit Graph

43 Commits

Author SHA1 Message Date
murata c054ca20cc logger: Add arm to shutdown 2023-01-18 07:47:36 +01:00
Daniel Agar 4d288512b5 add board architecture specific init defaults 2021-03-09 19:59:41 +01:00
Beat Küng 71dcf8d619 sitl: use lockstep components API
- avoids the need for ekf2_timestamp publications by q and lpe
- adds logger to the lockstep cycle and makes it poll on ekf2_timestamps
  or vehicle_attitude. This avoids dropped samples (required for replay).
2020-06-23 11:53:55 -04:00
BazookaJoe1900 02e861b16e enable silent compare of parameter (#12850)
Remove false errors after comparing parameters that doesn't exists.
as described in #12832
2019-10-07 09:50:11 +02:00
Beat Küng 5c715978e8 param compare/greater: do not print 'parameter not found' message
Reduces clutter in the boot output (now that we have it in the log).
On omnibus for example we see:
ERROR [param] Parameter SENS_EN_BATT not found
ERROR [param] Parameter SENS_EN_LL40LS not found
ERROR [param] Parameter SENS_EN_LL40LS not found
ERROR [param] Parameter SENS_EN_MB12XX not found
ERROR [param] Parameter SENS_EN_PGA460 not found
ERROR [param] Parameter SENS_EN_SF1XX not found
ERROR [param] Parameter SENS_EN_TRANGER not found
2019-06-06 09:16:49 -04:00
Beat Küng ed9d25a75a logger: add arming/disarming via AUX1 RC channel logging mode 2019-05-29 11:41:22 +02:00
Julian Oes 98857b4b94 ROMFS: don't check for UAVCAN_ENABLE param in SITL
This prevents a warning message being printed to SITL users because the
UAVCAN_ENABLE param does not exist.
2019-04-05 08:18:17 +02:00
mcsauder e6f1a2db12 Delete trailing whitespace, extra newlines, to quiet git hooks and add an extra = so that it does not appear to git as a merge conflict marker. 2019-04-02 15:31:37 -04:00
Beat Küng 14ef009aab logging: add SDLOG_MODE = -1 to disable logging completely 2019-03-21 08:15:48 +01:00
Julian Oes 3ebf030a02 ROMFS: change shebang from #!zsh to #!/bin/sh
This was required for shellsheck.
2018-12-19 07:36:43 +00:00
Daniel Agar a8b91c7ac9 move intel_aerofc-v1 init to rc.board 2018-12-01 10:03:19 -05:00
Daniel Agar 60ade5d82b move av_x1-v1 init to rc.board 2018-12-01 10:03:19 -05:00
Daniel Agar 25799c6e75 create board specific init script and use with fmu-v5 2018-12-01 10:03:19 -05:00
Daniel Agar abb3817d31 boards new split VENDOR_MODEL naming convention 2018-11-26 14:40:14 -08:00
Daniel Agar 8566b6b53e AV-X increase logger buffer 2018-11-21 09:13:40 +01:00
mcsauder ec16a4d063 Migrate LOGGER_BUF argument to rc.logging, group OUTPUT_MODE instances closer together by relocating UAVCAN logic block in rcS, and alphabetize hardware specific logic in rc.sensors. 2018-07-20 19:01:33 +02:00
mcsauder e2eb84042e Group hardware specific logic in rcS, deprecate the MODE parameter from rcS, and update comments. 2018-07-16 16:43:01 +02:00
Daniel Agar 8537863848 delete sdlog2 2018-07-13 09:02:59 +02:00
Daniel Agar 4aeb70fcfe rcS move logger startup to rc.logging and end of init
- fixes #8903
2018-02-17 18:09:50 +01:00
Lorenz Meier b2a223eaab Move logging to main rcS to save RAM 2016-05-14 17:21:46 +02:00
Mark Whitehorn 89294317a1 reduce log buffer to 24K 2016-05-14 11:27:07 +02:00
Daniel Agar dcdeefd5ea new logger 2016-05-14 11:27:07 +02:00
Mark Whitehorn 672042e051 not enough RAM for 32K buffer: reduce to 20K 2016-05-14 11:27:07 +02:00
Daniel Agar 4e0129275d new logger 2016-05-14 11:27:07 +02:00
Lorenz Meier 986145ac23 ROMFS: Free flash by being less verbose 2016-05-05 19:36:28 +02:00
tumbili f25702c29f increased default logging to 100Hz 2016-02-29 09:51:55 +01:00
tumbili d73e3a7318 start sdlog2 app with different arguments in replay mode 2016-02-27 11:51:05 +01:00
Lorenz Meier 7d2536f2dd ROMFS: Allocate only 12K buffer for sdlog, now that we do only log at 100 Hz 2015-06-06 09:46:09 +02:00
Lorenz Meier 8f8184560b sdlog2: Log at 100 Hz as default 2015-05-15 11:17:08 +02:00
Lorenz Meier cc0d78b606 sdlog2: Do not abort startup without microSD 2015-04-14 12:16:14 +02:00
Lorenz Meier dad2f754e9 Logging: Reduce logging on FMUv1 to free system resources 2015-01-21 09:54:31 +01:00
Lorenz Meier b3d6dcb2e5 Pre-emptively increase the log buffer - after the last cleanup we got again plenty of RAM 2014-05-23 13:14:02 +02:00
Lorenz Meier 842819a6d6 Use smaller logging buffer 2014-05-16 10:45:00 +02:00
Lorenz Meier 08a6e00cdd use a minimal sdlog2 buffer for FMUv1.x 2014-05-14 21:30:54 +02:00
ufoncz bd5a0cef1a ver command ready including hwcmp which replaces hw_ver, removed hw_ver
updated all scripts to use new ver hwcmp command
q
2014-04-27 17:42:45 +02:00
Julian Oes d5caffa845 startup: make sdlog2 working again on FMUv1 2014-02-04 16:52:47 +01:00
Anton Babushkin a3dbd817dc Merge branch 'master' into beta 2014-01-20 16:48:50 +01:00
Lorenz Meier f8c5a6cc50 Merged master into logging 2014-01-20 13:19:49 +01:00
Anton Babushkin 01975619c8 Merge branch 'sdlog2_timestamp' into beta 2014-01-19 23:26:21 +01:00
Anton Babushkin 5e3c365cd4 rc: use sdlog2 -t option
sdlog2: move all logs and conv.zip to "log" dir, messages cleanup
2014-01-19 22:56:24 +01:00
Anton Babushkin 255d91d8d4 hw_ver app added for hardware version checking 2014-01-07 21:56:35 +01:00
Anton Babushkin 557d3f22de Startup scripts major cleanup 2013-08-25 19:27:11 +02:00
px4dev 31c6440b64 Un-ignore the *.d directories in the ROMFS directory to avoid ignoring the init.d directory and friends. This is rinky, but the alternatives are all a mess. 2013-04-17 11:54:24 -07:00