The project is the software, used in Robotec LiDAR. It is dedicated to control a sensor and a motor, communicate with a master device using different protocols (RS485, UART, SPI, I2C).
TODO
TODO
TODO
TODO
The guide will help you build and use the project in your Robotec LiDAR device.
To build the project and get the SW for the STM32F1XX run the following :
$ make
All the built files will be inside of the build
folder.
To install the SW use the file build/robotec_lidar_firmware.bin
and the following tools:
.
├── include
│ ├── commands.h
│ ├── lidar.h
│ ├── main.h
│ ├── motor.h
│ ├── responses.h
│ ├── stm32f1xx_hal_conf.h
│ ├── stm32f1xx_it.h
│ └── tfmini.h
├── lib
├── src
│ ├── lidar.c
│ ├── main.c
│ ├── motor.c
│ ├── startup_stm32f103xb.s
│ ├── stm32f1xx_hal_msp.c
│ ├── stm32f1xx_it.c
│ ├── system_stm32f1xx.c
│ └── tfmini.c
├── tools
│ └── STM32F103C8Tx_FLASH.ld
├── Makefile
└── README.md
include
: project headerslib
: STM32F1XX headerssrc
: source code
commands.h
: set of Robotec LiDAR predefined commandsresponses.h
: set of Robotec LiDAR predefined responseslidar.*
: device-specific functionsmain.*
: the main block of the SWmotor.*
: contol the motor using PWMtfmini.*
: communication with the ToF sensorstm32f1xx*
: STM32-specific codeSTM32F103C8Tx_FLASH.ld
: linker script for the STM32F1XX