This sensor emulates the kinect output, ie both a depth image and an rgba image.
No configurable parameter.
This sensor exports these datafields at each simulation step:
See doc:depth camera documentation <../sensors/depth_camera> for field image
See video camera documentation for field image
Interface support:
Returns the current data stored in the sensor.
Return value
a dictionary of the current sensor’s data
The following example shows how to use this component in a Builder script:
from morse.builder import *
robot = ATRV()
# creates a new instance of the sensor
kinect = Kinect()
# place your component at the correct location
kinect.translate(<x>, <y>, <z>)
kinect.rotate(<rx>, <ry>, <rz>)
robot.append(kinect)
# define one or several communication interface, like 'socket'
kinect.add_interface(<interface>)
env = Environment('empty')
(This page has been auto-generated from MORSE module morse.sensors.kinect.)