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
#!/bin/bash | |
stations="tbot_unit01 tbot_unit02 tbot_unit03 tbot_unit04 tbot_unit05" | |
excluds="distribute build msg_gen srv_gen log packs" | |
# Author Jasper Buesch | |
#################################################################################### | |
############# DO NOT CHANGE BELOW THIS ############################################# |
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
#!/bin/bash | |
RP_BASEDIR=~/Code/ros | |
export TURTLEBOT_BASE=kobuki | |
export TURTLEBOT_STACKS=hexagons | |
export TURTLEBOT_3D_SENSOR=kinect | |
# source /opt/ros/groovy/setup.bash | |
source /home/opt/ros-hydro-ws/install_isolated/setup.bash |
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
import math | |
from math import sin, cos, pi | |
from numpy import dot, matrix, array | |
from numpy.linalg import norm | |
#import numpy as np | |
# author Jasper Buesch | |
def rotate_vector(angle=0, vector=(0,0)): | |
rot_mat = matrix( ((cos(angle),-sin(angle)), (sin(angle), cos(angle))) ) |
NewerOlder