This file contains hidden or 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
#ifndef __KD_TREE_HEADER_H | |
#define __KD_TREE_HEADER_H | |
#include <set> | |
#include <list> | |
#include <tuple> | |
#include <queue> | |
#include <vector> | |
#include <algorithm> |
This file contains hidden or 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
/*cppimport | |
<% | |
setup_pybind11(cfg) | |
%> | |
*/ | |
#include <pybind11/numpy.h> | |
#include <pybind11/pybind11.h> | |
namespace py = pybind11; | |
#include <cmath> |
This file contains hidden or 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
"""Euler-angle to matrix and matrix to Euler-angle utility routines | |
This module provides utility routines to convert between 4x4 homogeneous | |
transformation matrices and Euler angles (and vice versa). It supports | |
all six rotation orders ('xyz','xzy','yxz','yzx','zxy','zyx') for rotations | |
around body axes. | |
Two primary functions are provided: | |
- rotation( theta, order='xyz' ): given input rotation angles in radians |
This file contains hidden or 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
#include <ArduinoJson.h> | |
#include <ESP8266WiFi.h> //ESP8266 Core WiFi Library (you most likely already have this in your sketch) | |
#include <DNSServer.h> //Local DNS Server used for redirecting all requests to the configuration portal | |
#include <ESP8266WebServer.h> //Local WebServer used to serve the configuration portal | |
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager WiFi Configuration Magic | |
// change the IP address in the following line, should return "hello world" wrapped in JSON-RPC boilerplate | |
// curl -d '{"jsonrpc": "2.0", "method": "concatenate", "params": ["hello", "world"], "id": 5}' -H "Content-Type: application/json" -X POST http://192.168.0.24/api | |
ESP8266WebServer http_server(80); |
NewerOlder