added license block
This commit is contained in:
parent
f17ca0c820
commit
fa8882f9da
28 changed files with 187 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// This code is a modified version of the MT6835 Driver from the SimpleFOC project
|
||||||
|
// being distributed under the MIT liscence as well. Thank you SimpleFOC !
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
#include "MT6835_encoder.h"
|
#include "MT6835_encoder.h"
|
||||||
#include "hardware/spi.h"
|
#include "hardware/spi.h"
|
||||||
#include "hardware/gpio.h"
|
#include "hardware/gpio.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// This code is a modified version of the MT6835 Driver from the SimpleFOC project
|
||||||
|
// being distributed under the MIT liscence as well. Thank you SimpleFOC !
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "TB6612_motor_driver.h"
|
#include "TB6612_motor_driver.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1 +1,8 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "kinematic_model_base.h"
|
#include "kinematic_model_base.h"
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
//*** CLASS *****************************************************************************
|
//*** CLASS *****************************************************************************
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
//*** INCLUDE ***************************************************************************
|
//*** INCLUDE ***************************************************************************
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
//*** INCLUDE ***************************************************************************
|
//*** INCLUDE ***************************************************************************
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
#include "hardware/clocks.h"
|
#include "hardware/clocks.h"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
//*** INCLUDE ***************************************************************************
|
//*** INCLUDE ***************************************************************************
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
//*** INCLUDE ***************************************************************************
|
//*** INCLUDE ***************************************************************************
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "hardware/sync.h"
|
#include "hardware/sync.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
//*** INCLUDE ***************************************************************************
|
//*** INCLUDE ***************************************************************************
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "path_segment.h"
|
#include "path_segment.h"
|
||||||
#include "utilities/logging.h"
|
#include "utilities/logging.h"
|
||||||
#include "kinemtaic_models/kinematic_model_base.h"
|
#include "kinemtaic_models/kinematic_model_base.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
//*** INCLUDE ***************************************************************************
|
//*** INCLUDE ***************************************************************************
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "robot.h"
|
#include "robot.h"
|
||||||
#include "hw_config.h"
|
#include "hw_config.h"
|
||||||
#include "utilities/logging.h"
|
#include "utilities/logging.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include "utilities/logging.h"
|
#include "utilities/logging.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "encoder_lut.h"
|
#include "encoder_lut.h"
|
||||||
#include "pico/stdlib.h"
|
#include "pico/stdlib.h"
|
||||||
#include "utilities/logging.h"
|
#include "utilities/logging.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "hardware/timer.h"
|
#include "hardware/timer.h"
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include "hardware/MT6835_encoder.h"
|
#include "hardware/MT6835_encoder.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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
|
#pragma once
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// 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)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
||||||
template<typename T, int N>
|
template<typename T, int N>
|
||||||
class RingBuffer {
|
class RingBuffer {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue