Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2
import rospy
import math
from nav_msgs.msg import Odometry
from geometry_msgs.msg import PoseStamped
from geometry_msgs.msg import Twist
from tf.transformations import euler_from_quaternion
class Lab2:
<!--
lab 2 woop woop
-->
<launch>
<!-- lab2_node -->
<!--
<group ns="/">
<param name="rosversion" command="rosversion roslaunch" />
@zseker
zseker / cableBox.groovy
Last active August 8, 2019 21:31
Adding new file from BowlerStudio
//Your code here
double baseHeight = 5
double height = 60
CSG base = new Cube(190,// X dimention
80,// Y dimention
baseHeight// Z dimention
).toCSG().toXMin().toZMin().toYMin()
CSG firstSideWall = new Cube(190,// X dimention
4,// Y dimention
@zseker
zseker / RBE 200x Foam.groovy
Last active August 13, 2019 13:44
Adding new file from BowlerStudio
double z =70;
CSG breadboard = new Cube(85,// X dimention
55,// Y dimention
z// Z dimention
).toCSG().toXMin().toYMin().toZMin().movex(270).movey(20)
CSG cableBox = new Cube(190,// X dimention
@zseker
zseker / csgDatabase.json
Created May 9, 2019 16:49 — forked from madhephaestus/.gitignore
JavaCadExample
{}
@zseker
zseker / first trial.groovy
Last active May 9, 2019 02:59
bowler studio-1st trial
//Move and rotate opperations
double size =40;
CSG cube = new Cube(size,// X dimention
size,// Y dimention
size// Z dimention
).toCSG()
//cubeIntersectSphere = cubeIntersectSphere.move(x,y,z);// vector notation
CSG movedCube = cube
.movex(10)
@zseker
zseker / servoVitamin.groovy
Created March 6, 2019 18:18 — forked from madhephaestus/servoVitamin.groovy
Adding new file from BowlerStudio
import com.neuronrobotics.bowlerstudio.vitamins.Vitamins;
CSG vitaminFromScript = Vitamins.get("vexMotor","393")
.roty(90)
return vitaminFromScript