Table of Contents
Kinect Set Camera Angle
Sets the elevation angle of the Kinect sensor.
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library/Multimedia')Description
The Kinect Set Camera Angle block sets the elevation angle of a Kinect sensor. The angle is in radians. The elevation angle is relative to the horizontal plane, where "horizontal" is determined with respect to gravity rather than any surface visible in the camera view.
A Kinect Initialize block must be present in the model to configure the Kinect sensor.
Limitations
QUARC Linux DuoVero Target
This block is not currently supported on the QUARC Linux DuoVero target due to failure of the USB subsystem to identify the motor component of the Kinect sensor.
Input Ports
ang
The desired camera elevation angle in radians. The angle is relative to the horizontal plane.
Output Ports
This block has no output ports.
Parameters and Dialog Box
Kinect name
The identity of the associated Kinect Initialize block. The Kinect Set Camera Angle block must be associated with a Kinect Initialize block.
Sample time
The sampling period (in seconds) of the Kinect Set Camera Angle block. A sample time of 0 indicates that the block will be treated as a continuous time block. A positive sample time indicates that the block is a discrete time block with the given sample time.
A sample time of -1 indicates that the block inherits its sample time. Since this is a source block, only inherent the sample time when it is placed in a conditionally executed subsystem, like a Triggered or Enabled Subsystem, or in a referenced model.
The default sample time is set to -1 so that the block inherits the sample time of the input signal.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
No |
No |
Not supported. |
|
Yes |
Yes |
||
No |
No |
Not supported. |
|
No |
No |
Not supported. |
|
Rapid Simulation (RSIM) Target |
Yes |
Yes |
Fully supported. |
S-Function Target |
No |
N/A |
Old technology. Use model referencing instead. |
Normal simulation |
Yes |
Yes |
Fully supported. |
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.