Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to convert a string #12

Open
AntonioEspadas opened this issue Jul 12, 2023 · 0 comments
Open

Error trying to convert a string #12

AntonioEspadas opened this issue Jul 12, 2023 · 0 comments

Comments

@AntonioEspadas
Copy link

  • I'm submitting a ...
    [ x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    Hi, thank you for your great work!

I'm having some problems trying to convert a message from Universal_Robots_ROS_Driver, not sure if they should change their syntax or there is new use case you may need to consider.

ProgramState.msg

string STOPPED=STOPPED
string PLAYING=PLAYING
string PAUSED=PAUSED

string state

https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/blob/master/ur_dashboard_msgs/msg/ProgramState.msg

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
Error: Syntax error at line 1 col 16:

  string STOPPED=STOPPED
                 ^
Unexpected fieldOrType token: "STOPPED". Instead, I was expecting to see one of the following:

A space token based on:
    _$subexpression$1 →  ● %space
    _ →  ● _$subexpression$1
    main → _ stringType __ constantField _ assignment ● _ stringConstantValue _ main$ebnf$11
A doubleQuotedString token based on:
    doubleQuotedString →  ● %doubleQuotedString
    stringConstantValue$subexpression$1 →  ● doubleQuotedString
    stringConstantValue →  ● stringConstantValue$subexpression$1
    main → _ stringType __ constantField _ assignment _ ● stringConstantValue _ main$ebnf$11
A singleQuotedString token based on:
    singleQuotedString →  ● %singleQuotedString
    stringConstantValue$subexpression$1 →  ● singleQuotedString
    stringConstantValue →  ● stringConstantValue$subexpression$1
    main → _ stringType __ constantField _ assignment _ ● stringConstantValue _ main$ebnf$11

ERROR: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant