]> git.leonardobizzoni.com Git - pioneer-stm32/commit
New communication system (#49)
authorfdila <32036043+fdila@users.noreply.github.com>
Tue, 10 Aug 2021 16:10:01 +0000 (18:10 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Aug 2021 16:10:01 +0000 (18:10 +0200)
commitb15e5ef6ea04b7a5484c8c5cb88c6c195850bb22
tree6ff85e1a3a6a9d78e571fa0ab53df6cc5f8a0d06
parent3aa58a3da15e57c3e8998ef7244dea2eea77a917
New communication system (#49)

* synchronous communication, remove protobuf

* accumulate ticks to send

* receive config parameters at startup, close #13

* file cleanup

* README.md

* fix ticks type
173 files changed:
README.md
otto_controller/.cproject
otto_controller/.mxproject
otto_controller/.project
otto_controller/.settings/language.settings.xml
otto_controller/.settings/org.eclipse.cdt.codan.core.prefs
otto_controller/.settings/org.eclipse.cdt.core.prefs [new file with mode: 0644]
otto_controller/.settings/stm32cubeide.project.prefs [new file with mode: 0644]
otto_controller/Core/Inc/communication/otto_messages.h [new file with mode: 0644]
otto_controller/Core/Inc/control/pid.h
otto_controller/Core/Inc/crc.h [new file with mode: 0644]
otto_controller/Core/Inc/dma.h
otto_controller/Core/Inc/gpio.h
otto_controller/Core/Inc/protobuf/otto_communication.pb.h [deleted file]
otto_controller/Core/Inc/protobuf/pb.h [deleted file]
otto_controller/Core/Inc/protobuf/pb_common.h [deleted file]
otto_controller/Core/Inc/protobuf/pb_decode.h [deleted file]
otto_controller/Core/Inc/protobuf/pb_encode.h [deleted file]
otto_controller/Core/Inc/stm32f7xx_hal_conf.h
otto_controller/Core/Inc/stm32f7xx_it.h
otto_controller/Core/Inc/tim.h
otto_controller/Core/Inc/usart.h
otto_controller/Core/Src/crc.c [new file with mode: 0644]
otto_controller/Core/Src/dma.c
otto_controller/Core/Src/gpio.c
otto_controller/Core/Src/main.cpp
otto_controller/Core/Src/protobuf/otto_communication.pb.c [deleted file]
otto_controller/Core/Src/protobuf/pb_common.c [deleted file]
otto_controller/Core/Src/protobuf/pb_decode.c [deleted file]
otto_controller/Core/Src/protobuf/pb_encode.c [deleted file]
otto_controller/Core/Src/stm32f7xx_it.c
otto_controller/Core/Src/tim.c
otto_controller/Core/Src/usart.c
otto_controller/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f767xx.h
otto_controller/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_crc.h [new file with mode: 0644]
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_crc_ex.h [new file with mode: 0644]
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_def.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_exti.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_flash_ex.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_gpio.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_i2c.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_i2c_ex.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_pwr_ex.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_rcc.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_tim.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_tim_ex.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_uart.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_uart_ex.h
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc.c [new file with mode: 0644]
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_crc_ex.c [new file with mode: 0644]
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_exti.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c_ex.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart.c
otto_controller/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart_ex.c
otto_controller/otto_controller.ioc
utils/README.md [deleted file]
utils/catkin_ws/.catkin_workspace [deleted file]
utils/catkin_ws/README.md [deleted file]
utils/catkin_ws/launch/dario.launch [deleted file]
utils/catkin_ws/launch/joypad.launch [deleted file]
utils/catkin_ws/launch/serial_control.launch [deleted file]
utils/catkin_ws/src/CMakeLists.txt [deleted symlink]
utils/catkin_ws/src/joypad_bridge/CMakeLists.txt [deleted file]
utils/catkin_ws/src/joypad_bridge/package.xml [deleted file]
utils/catkin_ws/src/joypad_bridge/scripts/joy_to_cmd_vel.py [deleted file]
utils/catkin_ws/src/serial_bridge/CMakeLists.txt [deleted file]
utils/catkin_ws/src/serial_bridge/package.xml [deleted file]
utils/catkin_ws/src/serial_bridge/scripts/otto_communication_pb2.py [deleted file]
utils/catkin_ws/src/serial_bridge/scripts/serial_control.py [deleted file]
utils/pid_tuning/README.md [deleted file]
utils/pid_tuning/otto_pid_tuning/.cproject [deleted file]
utils/pid_tuning/otto_pid_tuning/.mxproject [deleted file]
utils/pid_tuning/otto_pid_tuning/.project [deleted file]
utils/pid_tuning/otto_pid_tuning/.settings/com.st.stm32cube.ide.mcu.sfrview.prefs [deleted file]
utils/pid_tuning/otto_pid_tuning/.settings/language.settings.xml [deleted file]
utils/pid_tuning/otto_pid_tuning/.settings/org.eclipse.cdt.codan.core.prefs [deleted file]
utils/pid_tuning/otto_pid_tuning/.settings/org.eclipse.cdt.ui.prefs [deleted file]
utils/pid_tuning/otto_pid_tuning/.settings/org.eclipse.core.runtime.prefs [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/communication_utils.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/encoder.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/main.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/motor_controller.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/odometry.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/pid.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/stm32f7xx_hal_conf.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Inc/stm32f7xx_it.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Src/main.cpp [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Src/stm32f7xx_hal_msp.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Src/stm32f7xx_it.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Src/syscalls.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Src/sysmem.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Src/system_stm32f7xx.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Core/Startup/startup_stm32f767zitx.s [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f767xx.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Device/ST/STM32F7xx/Include/system_stm32f7xx.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/cmsis_armcc.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/cmsis_armclang.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/cmsis_compiler.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/cmsis_gcc.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/cmsis_iccarm.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/cmsis_version.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_armv8mbl.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_armv8mml.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm0.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm0plus.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm1.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm23.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm3.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm33.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm4.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_cm7.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_sc000.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/core_sc300.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/mpu_armv7.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/mpu_armv8.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/CMSIS/Include/tz_context.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_cortex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_def.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_dma_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_exti.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_flash.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_flash_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_gpio.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_gpio_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_i2c.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_i2c_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_pwr.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_pwr_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_rcc.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_rcc_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_tim.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_tim_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_uart.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_uart_ex.h [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_dma_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_exti.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_flash_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_gpio.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_i2c_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_pwr_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_tim_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart.c [deleted file]
utils/pid_tuning/otto_pid_tuning/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_uart_ex.c [deleted file]
utils/pid_tuning/otto_pid_tuning/STM32F767ZITX_FLASH.ld [deleted file]
utils/pid_tuning/otto_pid_tuning/STM32F767ZITX_RAM.ld [deleted file]
utils/pid_tuning/otto_pid_tuning/otto_pid_tuning Debug.launch [deleted file]
utils/pid_tuning/otto_pid_tuning/otto_pid_tuning.ioc [deleted file]
utils/pid_tuning/pid_tuning.py [deleted file]
utils/protobuf_messages/otto_communication.proto [deleted file]