Skip to content

rst syntax in parameter description throws an error in python module #326

@christophfroehlich

Description

@christophfroehlich
$ ros2 run generate_parameter_module_example test_node
/workspaces/ros2_rolling_ws/build/generate_parameter_module_example/generate_parameter_module_example/admittance_parameters.py:959: SyntaxWarning: invalid escape sequence '\p'
  descriptor = ParameterDescriptor(description="For joints that wrap around (without end stop, ie. are continuous) where the shortest rotation to the target position is the desired motion. If true, the position error :math:`e = normalize(s_d - s)` is normalized between :math:`-\pi, \pi`. Otherwise  :math:`e = s_d - s` is used, with the desired position :math:`s_d` and the measured position :math:`s` from the state interface.", read_only = False)

Can this be fixed in the generated python code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions