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/env python | |
import roslib | |
roslib.load_manifest("sensor_msgs") | |
roslib.load_manifest("message_filters") | |
roslib.load_manifest("rxtools") | |
import rospy | |
import rxtools | |
import rxtools.rosplot | |
import sys |
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
wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1 | |
# --no-check-cerftificate was necessary for me to have wget not puke about https | |
curl -LJO https://github.com/joyent/node/tarball/v0.7.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
#include <ros/ros.h> | |
#include <nav_msgs/OccupancyGrid.h> | |
#include <geometry_msgs/PoseStamped.h> | |
#include <tf/tf.h> | |
#include <tf/transform_listener.h> | |
#include <iterator> | |
#include <vector> | |
// some definitions of functions | |
#define MAP_INDEX(map, i, j) ((i) + (j) * map.size_x) |
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/env python | |
from __future__ import print_function | |
import rospy | |
from tf.transformations import quaternion_from_euler | |
from std_msgs.msg import String | |
from nav_msgs.msg import Odometry, Path | |
from geometry_msgs.msg import PoseWithCovarianceStamped, PoseStamped | |
from sensor_msgs.msg import Joy | |
import sys | |
import json |
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
var scene = new THREE.Scene(); | |
scene.background = new THREE.Color( 0xcccccc ); | |
var camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 1000); | |
camera.position.z = 5; | |
camera.position.y = 5; | |
camera.position.x = 5; | |
camera.lookAt(new THREE.Vector3(0,0,0)); // Make the camera look at the point of origin | |
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 xml.etree.ElementTree as ET | |
import json | |
import zlib | |
import base64 | |
import urllib.parse | |
import os | |
import uuid |
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/python3 | |
import rclpy | |
from rclpy.node import Node | |
from geometry_msgs.msg import PoseStamped | |
from nav_msgs.msg import Path | |
from math import sin, cos, pi | |
from squaternion import Quaternion | |
class PathPublisher(Node): |