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

PhaROS bridge: users may confuse the use of created subs & pubs #157

Open
mcamp opened this issue Jan 9, 2017 · 0 comments
Open

PhaROS bridge: users may confuse the use of created subs & pubs #157

mcamp opened this issue Jan 9, 2017 · 0 comments

Comments

@mcamp
Copy link
Collaborator

mcamp commented Jan 9, 2017

When users create a sub or pub, the system allows them to use that name in any way. It is necessary to give some signal to the user that, a pub variable, can not be as a sub.
For example:

{pub -> 'some_topic'}
(machine bar
(state foo
(onentry [robot pub]) ;; this is an error, pub does not exist as a getter, only as a 'setter'
)
)

We should mark this kind of errors

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

No branches or pull requests

1 participant