Vision sensor for non-OpenHRP objects?

7 views
Skip to first unread message

Naoya Arakawa

unread,
Jan 10, 2014, 1:22:19 AM1/10/14
to sigvers...@googlegroups.com
Hello,

Can anyone tell how to fix a vision sensor to a non-OpenHRP object?

While examples in the tutorials fix a (virtual) camera to an OpenHRP
segment or link, there is no segment in non-OpenHRP objects.

I'd like to give vision to an object that controls its attitude.
Meanwhile, it turned out that the getRotation function did not work
for OpenHRP objects.

Best,
-- 
Naoya A.

Naoya Arakawa

unread,
Jan 12, 2014, 8:52:18 AM1/12/14
to sigvers...@googlegroups.com
Again, I received an answer from the developer.
Basically, you can place a code such as
    <camera id="1"  
            aspectRatio="1.77"
            direction="0 -0.7 1"  
            position="0.0 0.0 0.0"/>  
in the <instanciate> element within the world file
to give a camera to the object.

Attached are sample files from Yoshinobu Hagiwara
@ NII (Thanks!).

Camera.zip
Reply all
Reply to author
Forward
0 new messages