View AWerror
[ 10%] Building CXX object computing/perception/localization/packages/orb_localizer/CMakeFiles/orb_slam2.dir/src/KeyFrame.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
computing/perception/localization/packages/orb_localizer/CMakeFiles/orb_slam2.dir/build.make:278: recipe for target 'computing/perception/localization/packages/orb_localizer/CMakeFiles/orb_slam2.dir/src/KeyFrame.cc.o' failed
make[2]: *** [computing/perception/localization/packages/orb_localizer/CMakeFiles/orb_slam2.dir/src/KeyFrame.cc.o] Error 4
CMakeFiles/Makefile2:17374: recipe for target 'computing/perception/localization/packages/orb_localizer/CMakeFiles/orb_slam2.dir/all' failed
make[1]: *** [computing/perception/localization/packages/orb_localizer/CMakeFiles/orb_slam2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
View ftdi.sh
#!/bin/sh
# Prepare to build the FTDI module the NVIDIA Jetson TX2
if [ $(id -u) != 0 ]; then
echo "This script requires root permissions"
echo "$ sudo "$0""
exit
fi
# Go to the kernel sources
cd /usr/src/linux-headers-$(uname -r)
# Get the kernel configuration file
View test_thread1.py
import threading
import time
import signal, sys
def signal_handler(signal, frame):
exitFlag = 1
print(' You pressed Ctrl+C!')
# sys.exit(0)
View i2c_test.c
EEPROM_read(0, &rdBuffer[0], address, rdSize, pCallback);
EEPROM_write(0, wrBuffer, address, 2, wCallback);
View line_count.c
#define BIT_LEN 7
float line_value(int line) {
int i;
int value = 0, count = 0;
for(i=0; i < BIT_LEN; ++i) {
int mask = (1 << (i));
if((line & (mask)) == (mask)) {
value += i:
count++;