ArmSettings class

Settings relating to the arm.

Constructors

ArmSettings({required double shoulder, required double elbow, required double swivel, required double pinch, required double lift, required double rotate, required double ikIncrement, required bool useIK})
A const constructor.
const
ArmSettings.fromJson(Json? json)
Parses arm settings from a JSON map.

Properties

elbow → double
How many radians to move the elbow joint each frame.
final
hashCode → int
The hash code for this object.
no setterinherited
ikIncrement → double
How many mm to move every 10 ms in IK mode.
final
lift → double
How many radians to lift the gripper each frame.
final
pinch → double
How many radians to pinch each frame.
final
rotate → double
How many radians to rotate the gripper each frame.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shoulder → double
How many radians to move the shoulder joint each frame.
final
swivel → double
How many radians to move the swivel joint each frame.
final
useIK → bool
Whether the arm is in manual or IK mode.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Json
Serializes these settings to a JSON map.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited