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

Update vision-related config files regarding latest RGBD improvements #16

Closed
PeterBowman opened this issue Nov 2, 2018 · 3 comments
Closed
Assignees

Comments

@PeterBowman
Copy link
Member

PeterBowman commented Nov 2, 2018

We no longer open a OpenNI2 device since roboticslab-uc3m/vision#83. teoBase.xml and teoTools.xml need to be updated accordingly:

<module>
<name>yarpdev</name>
<parameters>--device OpenNI2DeviceServer --depthVideoMode 4 --colorVideoMode 9 --noRGBMirror --noDepthMirror</parameters>
<node>/head</node>
</module>

<!-- VISION -->
<module>
<name>yarpview</name>
<parameters>--name /yarpview/OpenNI2/imageFrame:i</parameters>
<node>localhost</node>
</module>
<connection>
<from>/OpenNI2/imageFrame:o</from>
<to>/yarpview/OpenNI2/imageFrame:i</to>
</connection>
<module>
<name>yarpview</name>
<parameters>--name /yarpview/OpenNI2/depthFrame:i</parameters>
<node>localhost</node>
</module>
<connection>
<from>/OpenNI2/depthFrame:o</from>
<to>/yarpview/OpenNI2/depthFrame:i</to>
</connection>

Concerning teoBase.xml, more effort will be required in conjunction with roboticslab-uc3m/vision#89 (actually generate a .ini file that resembles the old behavior, upload it to the vision repo and load it from these XMLs in here).

@PeterBowman PeterBowman changed the title Update vision-related .ini files Update vision-related config files regarding latest RGBD improvements Nov 2, 2018
@PeterBowman PeterBowman self-assigned this Apr 24, 2019
@PeterBowman
Copy link
Member Author

PeterBowman commented Apr 24, 2019

Traceback at robotology-legacy/yarp-deprecated-devices:

  • passing YARP parameters to the OpenNI2 interface: ref

  • parsing OpenNI2 initialization parameters: ref

Parameters (value [default]):

  • userTracking - [false]
  • colorON - [true]
  • rgbMirrorON - false [true]
  • depthMirrorON - false [true]
  • oniPlayback - [false]
  • oniRecord - [false]
  • loop - [false]
  • frameSync - [false]
  • imageRegistration - [false]
  • printMode - [false]
  • minConfidence - [0.6]
  • depthVideoMode - 4 [0]
  • colorVideoMode - 9 [0]

New parameters: depthCameraDriver.

@PeterBowman
Copy link
Member Author

Done, see referenced commits. The xtion.ini configuration file has been uploaded to the vision repo, which must be installed in order to load these new parameters. New .ini files regarding other camera sensors (e.g. kinect.ini, kinect2.ini, rs2.ini and so on) should land in vision/share/sensors. They are meant to be instantiated via yarpdev --context sensors --from <sensor>.ini.

@PeterBowman
Copy link
Member Author

YARP 3.2.0 (not released yet) will force us to do a follow-up on roboticslab-uc3m/vision#94.

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

2 participants