A set of useful camera algorithms for TRIK robots
- Install required build tools:
- TI proccesor SDK for RTOS (tested on 06.03.00.106)
- TI C6000 compiler (tested on 8.3.2) (included in RTOS package)
- Also, TI library IMGlib is used (directory
dsp/lib), but it's included in the repository to avoid some of the headache with building.
- You need the IPC libraries, which are already available in the
ipc-libsdirectory, or you can build them yourself by following the instructions in theREADME.mdlocated in the corresponding directory. - In the directory
ipc_3_50_04_08/packages/ti/ipc/remoteproc, you need to replace the filersc_table_omapl138.h. The modified version of this file with the required changes can be found inipc-libs/specific-trik-include. The address and size values were modified according to the memory regions allocated in Linux for the DSP to ensure proper data exchange and that the resource table metadata is located at the expected addresses. - Run
make TI_DEPOT=/path/to/texas-tools \
TI_C6000=/path/to/texas-tools/ti-cgt-c6000_8.3.2 \
KERNEL_INSTALL=/path/to/trik-kernel-installation \
TRIK_SDK=/path/to/trik-sdkExample if using our trik-distro (yocto) KERNEL_INSTALL=/path/to/trik-distro/tmp-glibc/work-shared/trikboard/kernel-build-artifacts
It'll build ARM and DSP part of the software both for debug and release in ./arm/bin and ./dsp/bin directories.