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
# -*- coding: utf-8 -*- | |
""" | |
pos to calibed pos | |
Created on Wed Oct 3 23:03:48 2018 | |
@author: akira | |
""" | |
#To serve the data run python -m http.server 8000 | |
import numpy as np |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Nov 8 21:50:03 2018 | |
@author: akira | |
""" | |
import cv2 | |
import numpy as np | |
CV_CAP_PROP_POS_FRAMES = 1 |
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
#!/bin/sh | |
ID="お名前.comのID" | |
PW="パスワード" | |
IP=`curl -s 'https://api.ipify.org?format=txt'` | |
( | |
sleep 1 ; | |
echo "LOGIN"; |
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
/* | |
© Siemens AG, 2017-2018 | |
Author: Dr. Martin Bischoff (martin.bischoff@siemens.com) | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
<http://www.apache.org/licenses/LICENSE-2.0>. | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, |
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
#include <WiFi.h> | |
#include <WebServer.h> // https://github.com/zhouhan0126/WebServer-esp32 | |
#include <DNSServer.h> | |
#include <WiFiManager.h> // https://github.com/zhouhan0126/WIFIMANAGER-ESP3 | |
#include <FastLED.h> //https://github.com/FastLED/FastLED | |
#include <WiFiUdp.h> | |
#include <ArduinoOSC.h> //https://github.com/hideakitai/ArduinoOSC | |
//#define DEBUG_UDP | |
void serialSetup(){ |
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
base_frame="map" | |
unity_frame="Unity" | |
tf_prefix="T" | |
pose_to_tf=["/U/Cam"] | |
pose_prefix="/RU/" | |
tf_to_pose=["roomba_1/base_link","roomba_1/odom","roomba_1/scan","map"] | |
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
#!/usr/bin/python | |
base_frame="map" | |
unity_frame="Unity" | |
tf_prefix="T" | |
pose_to_tf=["/U/Cam"] | |
pose_prefix="/RU/" | |
tf_to_pose=["roomba_1/base_link","roomba_1/scan","map","the_odom"] #the_odom |
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
#!/usr/bin/python | |
# | |
#Original source is | |
#https://github.com/fygrave/honeyntp/blob/master/ntpserver.py | |
# | |
#This is ros version. | |
#put this file to catkin_ws/src/[Some_project/Script/ntpserver.py | |
#and rosrun [Some_project] ntpserver | |
import datetime |
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
//This code is for ROS# message header timestamp | |
//You also need GuerrillaNtp.dll in plugin directory (https://www.nuget.org/packages/GuerrillaNtp/ ) | |
// | |
//Usage: just attach some gameobject. | |
// and configure the NTP server host/port on unity editor. (!!NEVER!! Point out Public NTP server) | |
// This will override timestamp header (in StandardHeaderExtensions.cs) | |
// | |
// Here is sample code of NTP server which run as ros node. | |
// https://gist.github.com/akirayou/6488e2834bc26226d511d4bee4fbcb61 | |
// |
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
/* | |
* Digital HanaHotaru | |
* | |
* Author: akira noda | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
#include <avr/sleep.h> |