Repository navigation
Features: set captured image resolution, set camera target, set camera position - #109
Conversation
|
|
||
| class SetCamTarget: | ||
| __slots__ = ["value"] | ||
| def __init__(self, value): |
There was a problem hiding this comment.
value is pretty vague as a variable name. What are the expected contents, and what do they do?
There was a problem hiding this comment.
It's supposed to be the camera's target position, in 3D. I made this more explicit the commit I pushed just now.
Codecov ReportBase: 73.39% // Head: 72.29% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #109 +/- ##
==========================================
- Coverage 73.39% 72.29% -1.10%
==========================================
Files 11 11
Lines 1075 1101 +26
==========================================
+ Hits 789 796 +7
- Misses 286 305 +19
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
4f540af to
f704c1b
Compare
|
Just rebased on master. |
f704c1b to
e038e46
Compare
9437d1f to
17d996f
Compare
|
Did a clean rebase on master and updated Codecov still doesn't seem to like the commit however, maybe it doesn't look at the Jupyter notebook? |
|
Hi @rdeits, sorry to be a bother, but do you think this PR is ready to be merged? Should I work on the code coverage or is that OK? Thanks ! |
1ec6a41 to
b4550a0
Compare
* update meshcat submodule w/ new features * expose setting the camera target * expose get_image() resolution option
* takes argument in (x,y,z) format
eab0fa6 to
a15b340
Compare
* update docstring of set_cam_target * fix set_cam_pos behavior * update demo.ipynb with example on changing cam focus & position
a15b340 to
41b5370
Compare
03be33d to
6b2b9f2
Compare
|
I'm embarrassed that it took me so long to get back to this, but I do really appreciate the contribution. I've verified that this works well locally, so let's do it! |
This follows the PR meshcat-dev/meshcat#111. I expose the following new features from that PR:
get_image()resolutionAlso: