A camera capturing RGBA image
This sensor gets raw Z-Buffer from the camera perspective.
See also Generic Camera for generic informations about Morse cameras.
You can set these properties in your scripts with <component>.properties(<property1>=..., <property2>=...).
(no documentation available yet)
(no documentation available yet)
(no documentation available yet)
(no documentation available yet)
(no documentation available yet)
(no documentation available yet)
(no documentation available yet)
(no documentation available yet)
This sensor exports these datafields at each simulation step:
number of milliseconds in simulated time
Raw Z-Buffer captured by the camera, not converted. bgl.Buffer of float of size (cam_width * cam_height * sizeof(float)) bytes.
The intrinsic calibration matrix, stored as a 3x3 row major Matrix.
Interface support:
(attention, no interface support!)
Returns the properties of a component.
Return value
a dictionary of the current component’s properties
Returns the current data stored in the sensor.
Return value
a dictionary of the current sensor’s data
Capture n images
Returns the configurations of a component (parsed from the properties).
Return value
a dictionary of the current component’s configurations
The following examples show how to use this component in a Builder script:
from morse.builder import *
robot = ATRV()
# creates a new instance of the sensor
rawimage = RawImage()
# place your component at the correct location
rawimage.translate(<x>, <y>, <z>)
rawimage.rotate(<rx>, <ry>, <rz>)
robot.append(rawimage)
# define one or several communication interface, like 'socket'
rawimage.add_interface(<interface>)
env = Environment('empty')
(This page has been auto-generated from MORSE module morse.sensors.depth_camera.)