SteeringControllerStatus.fromJson constructor

SteeringControllerStatus.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SteeringControllerStatus.fromJson(Map<String, Object?> json) =>
    SteeringControllerStatus(
      header: Field.asMessage(json['header'], ros2.Header.fromJson),
      tractionWheelsPosition:
          Field.asFloat64List(json['traction_wheels_position']),
      tractionWheelsVelocity:
          Field.asFloat64List(json['traction_wheels_velocity']),
      steerPositions: Field.asFloat64List(json['steer_positions']),
      linearVelocityCommand:
          Field.asFloat64List(json['linear_velocity_command']),
      steeringAngleCommand:
          Field.asFloat64List(json['steering_angle_command']),
    );