Skip to content

Instantly share code, notes, and snippets.

View felixvd's full-sized avatar

Felix von Drigalski felixvd

  • Mujin Inc.
  • Tokyo, Japan
View GitHub Profile
@felixvd
felixvd / gist:9b79be2bd10cc615e980f389bab2096d
Created September 11, 2018 03:32
Testing stubs for named frames in MoveIt planning scene
bool moveToCartPose(geometry_msgs::PoseStamped pose, std::string robot_name, bool wait, std::string end_effector_link, double velocity_scaling_factor)
{
moveit::planning_interface::MoveGroupInterface::Plan myplan;
moveit::planning_interface::MoveItErrorCode
success_plan = moveit_msgs::MoveItErrorCodes::FAILURE,
motion_done = moveit_msgs::MoveItErrorCodes::FAILURE;
moveit::planning_interface::MoveGroupInterface* group_pointer;
group_pointer = robotNameToMoveGroup(robot_name);
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "iiwa_msgs/JointPosition.h"
#include "iiwa_msgs/JointQuantity.h"
#include "conversions.h"
#include "iiwa_ros.h"
/**
* This is copied from the tutorial
*/
@felixvd
felixvd / SeriesVONA_translationcheck.py
Last active February 3, 2016 11:52
Excel checker
import pandas as pd
import re
indf = pd.read_excel("inputfile.xlsx")
# Build a data frame with source and target segments
df = pd.concat([indf.Japanese, indf.German], axis = 1)
df.columns = ["Source", "Target"]
# Check if model numbers in source are also in target and vice versa
@felixvd
felixvd / matecat_hotkey.js
Last active November 10, 2020 13:33 — forked from hsperr/matecat_hotkey.js
Greasemonkey/Tampermonkey script to add hotkeys to the Review mode of Matecat.
//Author: Henning Sperr <henning.sperr@gmail.com>
// License: BSD 3 clause
// ==UserScript==
// @name Matecat Review Hotkeys
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author Henning Sperr