Skip to content

WMD Track: MoveIt Config Utils #1292

Closed

Description

@JafarAbdi
No description provided.

Activity

  1. AndyZe commented on May 31, 2022

    @AndyZe
    Member

    Here's an issue:

    moveit_configs_utils/moveit_configs_utils/moveit_configs_builder.py

        if not possible_names:
                logging.warn(
                    "trajectory_execution: `Parameter file_path is undefined "
                    f"and no matches for {config_folder}/*_controllers.yaml"
    

    I think this is a bad idea because it will catch ros2_controllers.yaml as well as moveit_controllers.yaml

  2. DLu commented on May 31, 2022

    @DLu
    Contributor
  3. DLu commented on May 31, 2022

    @DLu
    Contributor
  4. JafarAbdi commented on Jun 1, 2022

    @JafarAbdi
    MemberAuthor

    Refactor MoveItConfigs to be decorated with dataclass

    from dataclasses import dataclass
    
    @dataclass(slots=True)
    class MoveItConfigs:
        something: Type = DefaultValue
        ...

    This would save us from having the following for each parameter

    __slots__ = [
        "__something",
        ...
    ]
    
    @property
    def something(self):
        return self.__something
    
    @something.setter
    def something(self, value):
        self.__something = value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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