Skip to content

[ROS2] Remove overridden parameters that are set to the default value #147

Open
@amalnanavati

Description

@amalnanavati

As of #146, even if overridden parameters are set to the default value, they stay in ada_feeding/config/ada_feeding_action_servers_currentl.yaml. Instead, in create_action_servers.py, we should add a check for whether their value is the same as the default value, and if so, remove them from self.overridden_parameters. Within self.save_overridden_parameters(), if len(self.overridden_parameters) == 0, save the file with just an empty string within overridden_parameters, same as the current file in the git repo.

Metadata

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