From 7b7cdaacd880a3707c967e9ec9bbaebd65e6e767 Mon Sep 17 00:00:00 2001 From: Giovanni Bruno Date: Tue, 19 Mar 2024 14:46:20 +0100 Subject: [PATCH] 1.0.0 - first release --- library.properties | 2 +- src/definitions/robot_definitions.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library.properties b/library.properties index f2e7363..50525ed 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Arduino_AlvikCarrier -version=0.4.1 +version=1.0.0 author=Arduino, Giovanni di Dio Bruno, Lucio Rossi maintainer=Arduino sentence=Library and firmware for Arduino Alvik Carrier board diff --git a/src/definitions/robot_definitions.h b/src/definitions/robot_definitions.h index 96415c6..3ac824f 100644 --- a/src/definitions/robot_definitions.h +++ b/src/definitions/robot_definitions.h @@ -45,14 +45,14 @@ const float MOTOR_RATIO = MOTOR_CPR*MOTOR_GEAR_RATIO; #define ROTATE_KI_DEFAULT 0.01 #define ROTATE_KD_DEFAULT 0.001 #define ROTATE_CONTROL_PERIOD 0.02 -#define ROTATE_MAX_SPEED 45.0 +#define ROTATE_MAX_SPEED 170.0 //45 #define ROTATE_THRESHOLD 1 #define MOVE_KP_DEFAULT 4.0 #define MOVE_KI_DEFAULT 0.01 #define MOVE_KD_DEFAULT 0.001 #define MOVE_CONTROL_PERIOD 0.02 -#define MOVE_MAX_SPEED 45.0 +#define MOVE_MAX_SPEED 130.0 //45 #define MOVE_THRESHOLD 3 #define MOVEMENT_DISABLED 0 @@ -86,9 +86,9 @@ const float MOTION_FX_PERIOD = (1000U / MOTION_FX_FREQ); // Library version -#define VERSION_BYTE_HIGH 0 -#define VERSION_BYTE_MID 4 -#define VERSION_BYTE_LOW 1 +#define VERSION_BYTE_HIGH 1 +#define VERSION_BYTE_MID 0 +#define VERSION_BYTE_LOW 0