Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise alarm if calib data can't be loaded on multi-group systems with TF enabled #169

Merged
merged 6 commits into from
Mar 1, 2024

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    b14dab6 View commit details
    Browse the repository at this point in the history
  2. Add 'missing calibration warning' cfg item

    Allow user to disable raising an alarm in case a multi-group system has
    not been calibrated, but TF broadcast is still enabled (in which case
    group origins will be wrong).
    gavanderhoorn committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    321c81a View commit details
    Browse the repository at this point in the history
  3. Raise alarm in case none of the calib files loaded

    Note: as mentioned in the comments, it's perfectly OK for multi-group
    systems to not have been calibrated. Whether or not calibration
    succeeded to load is therefore not taken into account when determining
    whether controller initialisation was successful or not (`bInitOk`).
    
    But, in case TF broadcasts are enabled, uncalibrated groups
    (specifically: robots) will have their origins coincident, which will
    (most likely) not be representative of their physical configuration (ie:
    in case those groups are different manipulators, those will not occupy
    the same physical space).
    
    In those cases an alarm is raised to notify the user of this potential
    misconfiguration.
    
    But only if the alarm hasn't been disabled by user configuration.
    gavanderhoorn committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    e7fa32f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13dd95a View commit details
    Browse the repository at this point in the history
  5. Add tests for ShouldWarnNoCalibDataLoaded(..)

    Initial set to encode assumptions.
    gavanderhoorn committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    42a31cb View commit details
    Browse the repository at this point in the history
  6. Disable ctrlr-crashing tests (for now)

    Need to diagnose the crashes.
    gavanderhoorn committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    0368ad8 View commit details
    Browse the repository at this point in the history