Skip to content

Path color not saved in config file #1087

Closed

Description

@theonteg

As described in the topic of the issue, rviz does not save Path lines color to the config file.

As a result every time i load a config, path lines are the same pink default color.

Is this a bug?

Activity

  1. wjwwood commented on Mar 21, 2017

    @wjwwood
    Member

    It sounds like a bug. Unfortunately I don't have time to verify it and/or look into a fix for it.

    You might start by looking at the config's section for the path display and see if there is a field like that in there. If not, then you might need to modify the display plugin for path's to store and use it. Otherwise it might just be a bug in the path display plugin. Either way, you can see the code for it here:

  2. added this to the milestone on Mar 21, 2017
  3. hiddewie commented on Mar 23, 2017

    @hiddewie
    Contributor

    I've just today also run into this bug.

    I looked into the code, and it seems related to the fact that in PathDisplay two properties are defined with the name Color. See https://github.com/ros-visualization/rviz/blob/kinetic-devel/src/rviz/default_plugin/path_display.cpp#L99 and https://github.com/ros-visualization/rviz/blob/kinetic-devel/src/rviz/default_plugin/path_display.cpp#L71.

    A solution would probably be renaming the pose color as this property should have a different name.

    It would be nice to test this when adding properties to a certain display type to check if a property already exists with that name.

  4. romainreignier commented on Mar 23, 2017

    @romainreignier

    @hiddewie Thanks for taking the time to fix this issue.
    I have faced that issue for several weeks but did not take the time to track the issue and find a fix.
    👍

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions