Commit 1473b79a moved the deprecate mesage generation to the
PrinterConfig() class, but failed to use the proper variable name for
'section'.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Generate intermediate updates if a set_pwm() call schedules an update
far in the future.
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Allow the "tap_threshold" to be overriden during PROBE type commands.
This makes it easier to calibrate an initial tap_threshold.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Describe the METHOD= parameter in the probe_eddy_current chapter.
Use similar layout for both the load_cell_probe and probe_eddy_current
sections.
Avoid duplicating the METHOD= parmeter for other commands.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Verify no gaps at start and end of requested capture range.
Raise an error if a gap is detected.
Raise an error if not enough data collected during "tap".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Register an event handler to make sure measurements are stopped if a
gcode error occurs while using EddyScanningProbe. EddyTap and
EddyDescend use ProbeSessionHelper which already provides this
handling, but EddyScanningProbe doesn't use that wrapper so it must be
implemented manually.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Subscribing to all sensors can cause a burden on the MCU communication
channels. Add a new '-s' command line option to data_logger.py that
allows a user to request the subscriptions that they wish to capture.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Increase ADC report time from every 15ms to every 10ms and batch every
5 reports into a single message. This should improve the
responsiveness and reduce the communication overhead when using ADC
buttons.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Change the get_last_value() method to return time first then value
(instead of value, then time). This makes get_last_value() match the
order of parameters that is used in the adc update callback.
This also fixes ads1x1x to return the "print_time" instead of a system
time.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Allow the user to deselect CONFIG_WANT_TRIGGER_ANALOG even if one of
the sensors could utilize the support.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Replace the integer values of STOP_ON_ENDSTOP with string values and
deprecate the older format. The newer string values should make the
commands easier to understand and allow for more homing options in the
future.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This adds host and firmware support for the Bosch BMI160 IMU. It includes support for both SPI and I2C communication protocols.
The firmware implementation includes a specific SPI wake-up sequence (dummy read) required to switch the sensor interface mode reliably. Validated on Linux MCU (SPI) and RP2040 (I2C) with stable 1600Hz ODR.
Signed-off-by: FranciscoStephens <francisco.stephens.g@gmail.com>
Commit 2a1027ce changed the "probe:update_results" event to take a
list, but failed to update the callers to utilize that modified list
in its results.
Change axis_twist_compensation to update all members in the list and
change the callers to use the resulting list.
Reported by @ritzi26.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
If the bus is write only, with new i2c_transfer code
it is possible to at least provide some feedback on error
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
PROBE_CALIBRATE will try to adjust z_offset
Which will produce a confusing outcome and
will not do what it is supposed to do
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>