Skip to content

v1.2.0

Choose a tag to compare

@janapavlasek janapavlasek released this 20 Nov 16:46
· 8 commits to main since this release
a05b04c

What's Changed

This release updates the OLED service to fix some crashes, display the battery voltage, and add a warning message when the battery is low. The following is the new behaviour:

  • The battery voltage is displayed during regular operation.
  • A "LOW BATTERY" message flashes if the battery drops below 9V.
  • If the MBot Control Board is not powered, a corresponding message is displayed instead of the voltage
  • If an MBot is using a 6V jumper (for motors requiring 6V), the motor voltage is displayed instead, and the battery monitoring features are disabled.

Warning: All batteries and boards are slightly different, and these features may fail for some hardware configurations. You may need to recharge your battery before the warning appears.

Relevant PRs: #15 , #17 , #19

Full Changelog: v1.1.0...v1.2.0

Dependencies

  • mbot_lcm_base @ v1.1.0: The battery information requires the analog channel message, mbot_analog_t.lcm, which requires MBot LCM Base v1.1.0.
  • mbot_firmware @ v1.2.0: The latest firmware version v1.2.0 is required to read the battery voltage. If a previous version without the voltage reading is used, the OLED service will display ?? in place of the battery voltage.

Upgrading

To upgrade from a previously installed version, you can simply upgrade MBot LCM Base to v1.1.0 using the install script then install only the services in this package:

cd services
./install_mbot_services.sh