rossystem parser fails for parameters
Closed this issue · 1 comments
hsd-dev commented
For the manipulation capability rossystem example, the parser fails for RosParameter
. The parser expects the grammar to have value
keyword.
ipa-nhg commented
Thanks for pointing this issue, there were actually 2 issues with this model:
RosSystem { Name 'cob4-25_manipulation_capability'
RosComponents (
ComponentInterface { name 'manipulation'
RosPublishers {
RosPublisher '/tf' {RefPublisher '...'}}
RosSubscribers {
RosSubscriber '/arm_right/joint_trajectory_controller/command' {RefSubscriber '...'},
RosSubscriber '/arm_left/joint_trajectory_controller/command' {RefSubscriber '...'}}
RosParameters {
RosParameter 'robot_description' { RefParameter "cob4.parameters_node.parameters_node./robot_description"}
}}
)}
First, as you pointed, the parser expected the definition of a value for the RosParameter while for the Xtext grammar this is an optional attribute, the second issue I found is the use of double quotes for the reference (i.e. RefParameter " cob4.parameters_node.parameters_node./robot_description ") this was also not allowed for the parser.
Both issues were fixed for the latest version of the parser: fa2a670