Edit /etc/ssh/sshd_config
:
AllowTcpForwarding yes
GatewayPorts yes
Restart or reboot.
CuraEngine requires libArcus which requires protobuf. Let's build them in turn.
Make sure python3
is Python 3.4 or higher.
Install utilities used by the build process:
Use Python to:
""" Raspberry Pi + GPS Car Camera | |
Achieved with four threads: | |
1. Main thread - | |
Continuously capture and display on a pygame screen. | |
Let user see what the camera is seeing. | |
Check for QUIT event. Allow user to press [X] to exit. | |
2. Video-recording thread - | |
Record indefinitely. |
I use Ubuntu Mate instead of the usual Raspbian Jessie mainly because of the gcc version. ORB-SLAM2 requires C++11 support. Raspbian comes with gcc 4.9, which does not handle C++11 by default. That means you have to play around with some compiler flags in ORB-SLAM2's CMakeLists.txt to make it work. In contrast, Ubuntu Mate's gcc 5.4 handles C++11 naturally.
""" Raspberry Pi + GPS Car Camera | |
Achieved with three threads: | |
1. Main thread - | |
Start preview and recording. | |
2. GPS thread - | |
Read GPS location. | |
3. Annotate thread - |
""" Raspberry Pi + GPS Car Camera | |
Achieved with three threads: | |
1. Main thread - | |
Start preview and recording. | |
2. GPS thread - | |
Read GPS location. | |
3. Annotate thread - |