Skip to content

Instantly share code, notes, and snippets.


Martin Günther mintar

View GitHub Profile
View mir_simplified.urdf
<?xml version="1.0" ?>
<robot name="mir_100" xmlns:xacro="">
<link name="base_footprint"/>
<joint name="base_joint" type="fixed">
<parent link="base_footprint"/>
<child link="base_link"/>
<origin rpy="0 0 0" xyz="0 0 0"/>
mintar /
Last active Nov 1, 2019
Print language statistics for all ROS packages in the rosdistro
#!/usr/bin/env python
# Software License Agreement (BSD License)
# Copyright (c) 2018, DFKI GmbH
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
mintar / Vagrantfile
Created Feb 28, 2018
Tiago tutorials Vagrantfile
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config| = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
import rospy
import rosbag
# duration between the epoch and Oct 06 2012 17:15:38.30
TIME_OFFSET = rospy.Duration(1349536538.30)
with rosbag.Bag('output.bag', 'w') as outbag:
for topic, msg, t in rosbag.Bag('input.bag').read_messages():
import rosbag
import sys
inbag_name = sys.argv[1]
outbag_name = inbag_name.replace('.bag', '-fixed.bag')
with rosbag.Bag(outbag_name, 'w') as outbag:
for topic, msg, t in rosbag.Bag(inbag_name).read_messages():
if topic == "/camera/depth_registered/points_drop" and msg.header.frame_id:
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at

Keybase proof

I hereby claim:

  • I am mintar on github.
  • I am mintar ( on keybase.
  • I have a public key ASCEiAjTQ5_U9SZlrsuBzf_nE7wntzee6B6s414c2-WARQo

To claim this, I am signing this object:

View gist:992693371d7ca29b71b28a7209cef8d8
martin@scipia:/tmp/base-types/build (git)-[master]-$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/dev/install ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
# not tested:
import rospy
import actionlib
from move_base_msgs.msg import MoveBaseAction, MoveBaseGoal
from geometry_msgs.msg import PointStamped, PoseStamped
def call_move_base(self, pose):
move_base_goal = MoveBaseGoal()
# get target_pose
move_base_goal.target_pose.pose = pose
mintar / CMakeLists.txt
Last active Sep 17, 2017
Example to demonstrate use of PointCloud2 count field
View CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS