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

Add an example #10

Open
chfritz opened this issue May 7, 2016 · 1 comment
Open

Add an example #10

chfritz opened this issue May 7, 2016 · 1 comment

Comments

@chfritz
Copy link

chfritz commented May 7, 2016

I was trying to run this to see more examples of what you expect as message handlers in rosjs (working on RethinkRobotics-opensource/rosnodejs#6). But I wasn't quite able to figure it out -- I'm still somewhat new to ros. I tried the script and also tried rosrun after catkin_makeing the package, but didn't get very far.

Could you show me an example invocation of this script? (and maybe add it to the readme?)

@chris-smith
Copy link
Collaborator

Documentation is certainly lacking in both packages right now... gennodejs should be run automatically when you invoke catkin_make in your workspace and any message packages should be passed to it. It's possible that you will need to pull down message_generation and add a dependency on gennodejs before this will work, though in our experience this hasn't been necessary. After its been run, you can find the generated code under devel/node_js/ros/<message_package>

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

3 participants