static volatile uint8_t g_ss_number;
static volatile spi_mode_t g_spi_mode;
static volatile uint8_t g_slave_selected;
-static volatile uint8_t g_spi_order;
+/*static*/ volatile uint8_t g_spi_order;
static volatile spi_format_t g_spi_format;
static volatile spi_mode_t g_spi_mode;
static volatile spi_clk_rate_t g_spi_clk_rate;
# List C source files here. (C dependencies are automatically generated.)
ifeq ($(HOST),avr)
-SRC = stack_space.c int_show.c stackdump.c
+SRC = stack_space.c int_show.c
else
-SRC = diag_host.c stackdump.c
+SRC = diag_host.c
endif
include $(AVERSIVE_DIR)/mk/aversive_module.mk
UPDATE_A | UPDATE_D | RESET_D | RESET_A);
}
-#include <stackdump.h>
+//#include <stackdump.h>
/** set relative angle and distance consign to 0, and break any
* deceleration ramp in quadramp filter */
#include "main.h"
#include "actuator.h"
-#define COBROLLER_SPEED 600
+#define COBROLLER_SPEED 1200
+//#define COBROLLER_SPEED 600
//#define COBROLLER_SPEED 400
#define SERVO_DOOR_OPEN 300
#define SERVO_DOOR_BLOCK 530
#define SERVO_CARRY_L_OPEN 295
-#define SERVO_CARRY_L_CLOSED 400 // 510
+#define SERVO_CARRY_L_CLOSED 440//400 // 510
#define SERVO_CARRY_R_OPEN 455
-#define SERVO_CARRY_R_CLOSED 350 // 250
+#define SERVO_CARRY_R_CLOSED 310//350 // 250
void actuator_init(void);
#
-# Automatically generated by make menuconfig: don't edit
+# Automatically generated make config: don't edit
#
#
#
# Base modules
#
+
+#
+# Enable math library in generation options to see all modules
+#
CONFIG_MODULE_CIRBUF=y
# CONFIG_MODULE_CIRBUF_LARGE is not set
CONFIG_MODULE_FIXED_POINT=y
#
# Communication modules
#
+
+#
+# uart needs circular buffer, mf2 client may need scheduler
+#
CONFIG_MODULE_UART=y
# CONFIG_MODULE_UART_9BITS is not set
CONFIG_MODULE_UART_CREATE_CONFIG=y
# Control system modules
#
CONFIG_MODULE_CONTROL_SYSTEM_MANAGER=y
+
+#
+# Filters
+#
CONFIG_MODULE_PID=y
# CONFIG_MODULE_PID_CREATE_CONFIG is not set
# CONFIG_MODULE_RAMP is not set
#
# Radio devices
#
+
+#
+# Some radio devices require SPI to be activated
+#
# CONFIG_MODULE_CC2420 is not set
# CONFIG_MODULE_CC2420_CREATE_CONFIG is not set
#
# Crypto modules
#
+
+#
+# Crypto modules depend on utils module
+#
# CONFIG_MODULE_AES is not set
# CONFIG_MODULE_AES_CTR is not set
# CONFIG_MODULE_MD5 is not set
#
# Encodings modules
#
+
+#
+# Encoding modules depend on utils module
+#
# CONFIG_MODULE_BASE64 is not set
# CONFIG_MODULE_HAMMING is not set
#
# Debug modules
#
+
+#
+# Debug modules depend on utils module
+#
CONFIG_MODULE_DIAGNOSTIC=y
CONFIG_MODULE_DIAGNOSTIC_CREATE_CONFIG=y
CONFIG_MODULE_ERROR=y
void support_balls_deploy(void)
{
#ifndef HOST_VERSION
- pwm_ng_set(SUPPORT_BALLS_R_SERVO, 560);
- pwm_ng_set(SUPPORT_BALLS_L_SERVO, 155);
+ pwm_ng_set(SUPPORT_BALLS_R_SERVO, 550);
+ pwm_ng_set(SUPPORT_BALLS_L_SERVO, 165);
#endif
}
#
-# Automatically generated make config: don't edit
+# Automatically generated by make menuconfig: don't edit
#
#
#
# Base modules
#
-
-#
-# Enable math library in generation options to see all modules
-#
CONFIG_MODULE_CIRBUF=y
# CONFIG_MODULE_CIRBUF_LARGE is not set
# CONFIG_MODULE_FIXED_POINT is not set
#
# Communication modules
#
-
-#
-# uart needs circular buffer, mf2 client may need scheduler
-#
CONFIG_MODULE_UART=y
# CONFIG_MODULE_UART_9BITS is not set
CONFIG_MODULE_UART_CREATE_CONFIG=y
# Control system modules
#
# CONFIG_MODULE_CONTROL_SYSTEM_MANAGER is not set
-
-#
-# Filters
-#
# CONFIG_MODULE_PID is not set
# CONFIG_MODULE_PID_CREATE_CONFIG is not set
# CONFIG_MODULE_RAMP is not set
#
# Radio devices
#
-
-#
-# Some radio devices require SPI to be activated
-#
# CONFIG_MODULE_CC2420 is not set
# CONFIG_MODULE_CC2420_CREATE_CONFIG is not set
#
# Crypto modules
#
-
-#
-# Crypto modules depend on utils module
-#
# CONFIG_MODULE_AES is not set
# CONFIG_MODULE_AES_CTR is not set
# CONFIG_MODULE_MD5 is not set
#
# Encodings modules
#
-
-#
-# Encoding modules depend on utils module
-#
# CONFIG_MODULE_BASE64 is not set
# CONFIG_MODULE_HAMMING is not set
#
# Debug modules
#
-
-#
-# Debug modules depend on utils module
-#
# CONFIG_MODULE_DIAGNOSTIC is not set
# CONFIG_MODULE_DIAGNOSTIC_CREATE_CONFIG is not set
# CONFIG_MODULE_ERROR is not set