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

Implemented 'features', and the 'look' feature, for the cameras. #126

Merged
merged 4 commits into from
Dec 6, 2012

Conversation

etoccalino
Copy link

world.models.Camera instances which haven't got the "look" feature will not be displayed in the select widget of all cameras.

Elvio Toccalino added 3 commits December 5, 2012 16:32
The current implementation generates a secondary list of camera objects, from the 'cameras' field, to expose. This results in in the client receiving two arrays:
  -- cameras: all camera instances related to the robot, and
  -- look_cameras: all cameras accessible to the 'look' feature of the app (a subset of 'cameras').
Note: the discrimination could also be done in the client, iterating over the 'cameras' array and the checking for the appropriate feature.
@baalexander
Copy link
Contributor

We needed a JS coding style for Robot Web Tools as well, so I just created a ROS JavaScript Coding Style Guide. There's already a ROS Python coding style.

@etoccalino
Copy link
Author

Oh, and thank you Brandon for the guides. I really needed something to use as quick reference.

@tlau
Copy link
Member

tlau commented Dec 6, 2012

Thanks @etoccalino, this looks good!

tlau added a commit that referenced this pull request Dec 6, 2012
Implemented 'features', and the 'look' feature, for the cameras.
@tlau tlau merged commit fa217b6 into willowgarage:master Dec 6, 2012
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

Successfully merging this pull request may close these issues.

3 participants