Camera class abstract Components
Camera represents any physical hardware that can capture frames.
For more information, see Camera component.
- Inheritance
- Implementers
Constructors
- Camera()
Properties
Methods
-
doCommand(
Map< String, dynamic> command) → Future<Map< String, dynamic> > -
Send/Receive arbitrary commands to the Resource
inherited
-
image(
{MimeType? mimeType, Map< String, dynamic> ? extra}) → Future<ViamImage> - Get the next image from the camera.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pointCloud(
{Map< String, dynamic> ? extra}) → Future<ViamImage> - Get the next point cloud from the camera.
-
properties(
) → Future< CameraProperties> - Get the camera's intrinsic parameters and the camera's distortion parameters.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromRobot(
RobotClient robot, String name) → Camera -
Get the Camera named
name
from the provided robot. -
getResourceName(
String name) → ResourceName -
Get the ResourceName for this Camera with the given
name