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
1 19:58:42,545 POSE: {476608.34, 4671214.4, 172.35, Q[0.0,0.0,0.0]} @ 17North | |
17 19:58:42,561 VEL: Twist[0.0, 0.0, 0.0, 0.0, 0.0, 0.0] | |
197 19:58:42,741 POSE: {476608.34, 4671214.4, 172.35, Q[0.0,0.0,0.0]} @ 17North | |
220 19:58:42,764 VEL: Twist[0.0, 0.0, 0.0, 0.0, 0.0, 0.0] | |
272 19:58:42,816 THRUST: [t, 0.000000] | |
399 19:58:42,943 POSE: {476608.34, 4671214.4, 172.35, Q[0.0,0.0,0.0]} @ 17North | |
410 19:58:42,954 VEL: Twist[0.0, 0.0, 0.0, 0.0, 0.0, 0.0] | |
479 19:58:43,23 COMPASS: 1.626297871551391 | |
500 19:58:43,44 COMPASS: 1.6170635142148462 | |
559 19:58:43,103 COMPASS: 1.6073652456363123 |
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
actions: | |
- name : chairtaken | |
start : 0.0 | |
duration : 2.0 | |
say : Excuse me. Is this chair taken? | |
- name : wait2 | |
start : 2.0 | |
duration : 2.0 | |
- name : thistaken | |
start : 4.0 |
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 my_module = require('./build/Release/my_module'); | |
console.log(my_module.my_function); // Prints "[Function]", as expected | |
my_module.my_function(); // Prints "Ran my function." | |
// Create a dummy object | |
var foo = {} | |
// Let's hook up an observer to my object | |
Object.observe(foo, my_module.my_function); | |
foo.bar = true; // change object |
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
+============== | |
+ 2 | |
+ =========== | |
+ ========= | |
+ \ | |
========= \ | |
\\ \ | |
=========// / | |
2 / | |
=============/ |
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
# Compute the base to gripper offset for the robot. | |
T0_e = robot.GetLink('grasp_frame').GetTransform() | |
T0_b = robot.GetTransform() | |
Te_b = numpy.dot(numpy.linalg.inv(T0_e), T0_b) | |
# Turn off everything except things named 'gripper'! | |
# Autoscale the window by initially centering the gripper. | |
for link in robot.GetLinks(): | |
if 'gripper' not in link.GetName(): | |
link.SetVisible(False) |
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
#Inventor V2.0 ascii | |
Separator { | |
Info { | |
string "empty.iv generated by IVCON." | |
string "Original data in file NO_IN_NAME." | |
} | |
Separator { | |
LightModel { | |
model PHONG |
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
package com.platypus; | |
import com.platypus.crw.FunctionObserver; | |
import com.platypus.crw.udp.UdpVehicleServer; | |
import com.platypus.crw.udp.UdpVehicleService; | |
import com.platypus.crw.udp.VehicleRegistryService; | |
import java.net.InetSocketAddress; | |
import java.net.Socket; | |
import java.net.SocketAddress; |
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
package com.platypus; | |
import com.platypus.crw.FunctionObserver; | |
import com.platypus.crw.udp.UdpVehicleServer; | |
import com.platypus.crw.udp.UdpVehicleService; | |
import com.platypus.crw.udp.VehicleRegistryService; | |
import java.net.InetSocketAddress; | |
import java.net.Socket; | |
import java.net.SocketAddress; |
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
package com.platypus.com.platypus.crw.udp; | |
import com.platypus.crw.udp.UdpConstants; | |
import com.platypus.crw.udp.UdpServer; | |
import com.platypus.crw.udp.UdpServer.Request; | |
import java.io.IOException; | |
import java.net.*; | |
import java.util.Collection; | |
import java.util.HashMap; |
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
def base64url_decode(s): | |
""" Decode base64 encoded strings with stripped trailing '=' """ | |
import base64 | |
return base64.urlsafe_b64decode(s + '=' * (-len(s) % 4)) | |
def unpack_jwt_token(token): | |
""" Splits and decodes a JWT into a header, payload and signature. """ | |
import json | |
encoded_header, encoded_payload, encoded_signature = token.split('.') | |
OlderNewer