* Improved homing (parallel homing support, better repeatability, better geometric reference point) * Improved joint calibration procedure * Calibration data can now be stored persistently on the flash memory (no repeated calibration required) * Improved logging * added PythonAPI to control device easily New G-Code commands: * Enable/Disable motors command, including pose recovery from current position on motor enable * Dedicated joint calibration command with save to flash option * Set pose command to directly set a target pose for the servo loops, bypassing the motion controller (good for real-time control)
22 lines
780 B
C
22 lines
780 B
C
// --------------------------------------------------------------------------------------
|
|
// Project: MicroManipulatorStepper
|
|
// License: MIT (see LICENSE file for full description)
|
|
// All text in here must be included in any redistribution.
|
|
// Author: M. S. (diffraction limited)
|
|
// --------------------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "servo_controller.h"
|
|
#include "utilities/lookup_table.h"
|
|
|
|
//*** FUNCTIONS *************************************************************************
|
|
|
|
bool measure_calibration_data(
|
|
LookupTable& encoder_raw_to_motor_pos_lut,
|
|
LookupTable& motor_pos_to_field_angle_lut,
|
|
ServoController& servo_controller,
|
|
float field_angle_range,
|
|
float field_velocity,
|
|
size_t size);
|
|
|