Skip to content

Absolute actuators not correctly ignored in position save file #122

Open
@JosephBowkett

Description

As discovered by Arthur B, starting and stopping a casah/ros2/fcat node with only absolute platinum actuators causes a bug where a fastcat_saved_positions.yaml file will be created, but nothing placed inside it (because there are no relative encoder actuators) and then the node fails on the next startup because the file does not contain the actuators: field.

The fix is likely to correctly check for (*device)->GetState()->something_something->absolute_encoders == false here: https://github.com/nasa-jpl/fastcat/blob/v0.12.13/src/manager.cc#L945 (paraphrased)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions