marcel@ubuntu:~/Documents/libtorch-cross-RTOS-test/build$ source ~/qnx700/qnxsdp-env.sh
QNX_HOST=/home/marcel/qnx700/host/linux/x86_64
QNX_TARGET=/home/marcel/qnx700/target/qnx7
MAKEFLAGS=-I/home/marcel/qnx700/target/qnx7/usr/include
marcel@ubuntu:~/Documents/libtorch-cross-RTOS-test/build$ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/qnx_7.0.0_linux_x86_64.cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /home/marcel/qnx700/host/linux/x86_64/usr/bin/ntox86_64-gcc
-- Check for working C compiler: /home/marcel/qnx700/host/linux/x86_64/usr/bin/ntox86_64-gcc -- works
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The target system is: QNX - - x86_64 | |
The host system is: Linux - 5.3.0-51-generic - x86_64 | |
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. | |
Compiler: /home/marcel/qnx700/host/linux/x86_64/usr/bin/ntox86_64-gcc | |
Build flags: | |
Id flags: | |
The output was: | |
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marcel@ubuntu:~/Documents/libtorch_cross_test/build$ make | |
Scanning dependencies of target example-app | |
[ 50%] Building CXX object CMakeFiles/example-app.dir/main.cpp.o | |
In file included from /home/marcel/qnx700/target/qnx7/usr/include/c++/v1/algorithm:628:0, | |
from /home/marcel/qnx700/target/qnx7/usr/include/c++/v1/string:439, | |
from /home/marcel/qnx700/target/qnx7/usr/include/c++/v1/__locale:15, | |
from /home/marcel/qnx700/target/qnx7/usr/include/c++/v1/ios:216, | |
from /home/marcel/qnx700/target/qnx7/usr/include/c++/v1/iostream:38, | |
from /home/marcel/Documents/libtorch_cross_test/main.cpp:1: | |
/home/marcel/qnx700/target/qnx7/usr/include/c++/v1/memory: In instantiation of 'struct std::__1::allocator_traits<std::__1::allocator_traits<std::__1::allocator<std::__1::pair<c10::IValue, c10::IValue> > >::rebind_alloc<ska_ordered::detailv3::sherwood_v3_entry<std::__1::pair<c10::IValue, c10::IValue> > > >': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marcel@ubuntu:~/Documents/libtorch_cross_test/build$ source ~/qnx700/qnxsdp-env.sh | |
QNX_HOST=/home/marcel/qnx700/host/linux/x86_64 | |
QNX_TARGET=/home/marcel/qnx700/target/qnx7 | |
MAKEFLAGS=-I/home/marcel/qnx700/target/qnx7/usr/include | |
marcel@ubuntu:~/Documents/libtorch_cross_test/build$ make | |
[ 50%] Building CXX object CMakeFiles/example-app.dir/main.cpp.o | |
In file included from /home/marcel/Documents/libs/libtorch/include/c10/core/Allocator.h:4:0, | |
from /home/marcel/Documents/libs/libtorch/include/ATen/ATen.h:3, | |
from /home/marcel/Documents/libs/libtorch/include/torch/csrc/api/include/torch/types.h:3, | |
from /home/marcel/Documents/libs/libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marcel@ubuntu:~/Documents/libtorch_cross_test/build$ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/qnx_7.0.0_linux_x86_64.cmake .. | |
-- The C compiler identification is GNU 5.4.0 | |
-- The CXX compiler identification is GNU 5.4.0 | |
-- Check for working C compiler: /home/marcel/qnx700/host/linux/x86_64/usr/bin/ntox86_64-gcc | |
-- Check for working C compiler: /home/marcel/qnx700/host/linux/x86_64/usr/bin/ntox86_64-gcc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /home/marcel/qnx700/host/linux/x86_64/usr/bin/ntox86_64-c++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A simple quickref for Eigen. Add anything that's missing. | |
// Main author: Keir Mierle | |
#include <Eigen/Dense> | |
Matrix<double, 3, 3> A; // Fixed rows and cols. Same as Matrix3d. | |
Matrix<double, 3, Dynamic> B; // Fixed rows, dynamic cols. | |
Matrix<double, Dynamic, Dynamic> C; // Full dynamic. Same as MatrixXd. | |
Matrix<double, 3, 3, RowMajor> E; // Row major; default is column-major. | |
Matrix3f P, Q, R; // 3x3 float matrix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: pixelclock_spotify | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: media_player.spotify_vistagamer | |
condition: [] | |
action: | |
- choose: | |
- conditions: | |
- condition: state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
WebSerialLite Demo AP | |
------ | |
This example code works for both ESP8266 & ESP32 Microcontrollers | |
WebSerial is accessible at 192.168.4.1/webserial URL. | |
Author: HomeboyC | |
*/ | |
#include <Arduino.h> | |
#if defined(ESP8266) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dash | |
from dash import dcc, html | |
from dash.dependencies import Input, Output, State | |
from dash.exceptions import PreventUpdate | |
import dash_bootstrap_components as dash_bs | |
import plotly.graph_objs as go | |
# import pandas as pd | |
import datetime | |
from time import sleep | |
from collections import deque |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.