ServoMotor
Object Hierarchy:
Description:
public class ServoMotor :
Device
Represents a hobby type servo motor.
Content:
Properties:
- public string[]? commands { owned get; }
Get a list of supported commands.
- public string? driver_name { owned get; }
Gets the name of the driver that loaded this device.
- public int max_pulse_sp { set; get; }
Gets and sets the calibration value for the maximum value.
- public int mid_pulse_sp { set; get; }
Gets and sets the calibration value for the center value.
- public int min_pulse_sp { set; get; }
Gets and sets the calibration value for the minimum value.
- public MotorPolarity polarity { set; get; }
Gets and sets the polarity of the motor.
- public int position_sp { set; get; }
Gets and sets the current position setpoint.
- public string? port_name { owned get; }
Gets the name of the port this device is connected to.
- public int rate_sp { set; get; }
Gets and sets the current rate for the servo.
- public MotorStateFlags state { get; }
Gets the state of the servo.
Methods:
Inherited Members:
All known members inherited from class EV3devKit.Devices.Device
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count