- guide-stepper:
- add queue to send commands to stepper-ctl task
- add function that tells stepper task to move to zero
- increase travel length full axis length 110
- control: move guide to zero at reset
- Cmake: enable colored output
16 lines
496 B
C++
16 lines
496 B
C++
#pragma once
|
|
|
|
//task that initializes and controls the stepper motor
|
|
//current functionality:
|
|
// - automatically auto-homes
|
|
// - moves left and right repeatedly
|
|
// - updates speed from potentiometer each cycle
|
|
void task_stepper_test(void *pvParameter);
|
|
|
|
//task that initializes and controls the stepper motor
|
|
// - moves stepper according to encoder movement
|
|
void task_stepper_ctl(void *pvParameter);
|
|
|
|
|
|
//tell stepper-control task to move cable guide to zero position
|
|
void guide_moveToZero(); |