fix: update step ratio values
This commit is contained in:
parent
10b2bd7cf6
commit
9385024914
6
config.h
6
config.h
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef CONFIG_H
|
#ifndef CONFIG_H
|
||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
|
#include "math.h"
|
||||||
|
|
||||||
#define BAUDRATE (9600)
|
#define BAUDRATE (9600)
|
||||||
|
|
||||||
// Pins
|
// Pins
|
||||||
|
|
@ -27,8 +29,8 @@
|
||||||
#define PIN_LASER (PIN_PD2)
|
#define PIN_LASER (PIN_PD2)
|
||||||
|
|
||||||
// Magic numbers
|
// Magic numbers
|
||||||
#define STEP_RATIO_X (7020)
|
#define STEP_RATIO_X (6432 / M_PI)
|
||||||
#define STEP_RATIO_Y (7020)
|
#define STEP_RATIO_Y (6432 / M_PI)
|
||||||
|
|
||||||
// Offset [cm]
|
// Offset [cm]
|
||||||
#define OFFSET_X (0)
|
#define OFFSET_X (0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue