.NET SDK Documentation

    Show / Hide Table of Contents

    Class RobotStateEventArgs

    Gets robot state event args

    Inheritance
    Object
    EventArgs
    RobotEventArgs
    RobotStateEventArgs
    Inherited Members
    RobotEventArgs.EventType
    EventArgs.Empty
    Namespace: Anki.Vector.Events
    Assembly: Anki.Vector.dll
    Syntax
    public class RobotStateEventArgs : RobotEventArgs

    Properties

    | Improve this Doc View Source

    Acceleration

    Gets the current accelerometer reading

    public Acceleration Acceleration { get; }
    Property Type
    Acceleration
    | Improve this Doc View Source

    CarryingObjectId

    Gets the ID of the object currently being carried (-1 if none)

    public int CarryingObjectId { get; }
    Property Type
    Int32
    | Improve this Doc View Source

    Gyro

    Gets the current gyroscope reading (x, y, z)

    public AngularVelocity Gyro { get; }
    Property Type
    AngularVelocity
    | Improve this Doc View Source

    HeadAngleRad

    Gets Vector's head angle (up/down) in radians

    public float HeadAngleRad { get; }
    Property Type
    Single
    | Improve this Doc View Source

    HeadTrackingObjectId

    Gets the ID of the object the head is tracking to (-1 if none)

    public int HeadTrackingObjectId { get; }
    Property Type
    Int32
    | Improve this Doc View Source

    LastImageTimestamp

    Gets the robot's timestamp for the last image seen.

    public uint LastImageTimestamp { get; }
    Property Type
    UInt32
    | Improve this Doc View Source

    LeftWheelSpeedMmps

    Gets Vector’s left wheel speed in mm/sec

    public float LeftWheelSpeedMmps { get; }
    Property Type
    Single
    | Improve this Doc View Source

    LiftHeightMm

    Gets the height of Vector’s lift from the ground.

    public float LiftHeightMm { get; }
    Property Type
    Single
    | Improve this Doc View Source

    LocalizedToObjectId

    Gets the ID of the object that the robot is localized to (-1 if none)

    public int LocalizedToObjectId { get; }
    Property Type
    Int32
    | Improve this Doc View Source

    Pose

    Gets the current pose (position and orientation) of Vector.

    public Pose Pose { get; }
    Property Type
    Pose
    | Improve this Doc View Source

    PoseAngleRad

    Gets Vector's pose angle (heading in X-Y plane) in radians

    public float PoseAngleRad { get; }
    Property Type
    Single
    | Improve this Doc View Source

    PosePitchRad

    Gets Vector’s pose pitch (angle up/down) in radians

    public float PosePitchRad { get; }
    Property Type
    Single
    | Improve this Doc View Source

    Proximity

    Gets the proximity sensor data.

    public ProximitySensorData Proximity { get; }
    Property Type
    ProximitySensorData
    | Improve this Doc View Source

    RightWheelSpeedMmps

    Gets Vector's right wheel speed in mm/sec

    public float RightWheelSpeedMmps { get; }
    Property Type
    Single
    | Improve this Doc View Source

    Status

    Gets the various status properties of the robot.

    public RobotStatus Status { get; }
    Property Type
    RobotStatus
    | Improve this Doc View Source

    Touch

    Gets the object touch detection values.

    public TouchSensorData Touch { get; }
    Property Type
    TouchSensorData

    See Also

    EventArgs
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2019 by Wayne Venables