Skip to content

Instantly share code, notes, and snippets.

View harmishhk's full-sized avatar

Harmish Khambhaita harmishhk

View GitHub Profile
@harmishhk
harmishhk / navigation-setup.md
Last active December 5, 2017 11:10
scripts for installing human-aware robot navigation

This repository contains script for installing packages related to human-aware navigation.

Requirements

Ubuntu 14.04 with ROS Indigo.

Usage

git clone https://gist.github.com/harmishhk/2e6baec83d696b5f5c212110d1d04dcc $HOME/ros/navigation_setup
cd ~/ros/navigation_setup && ./setup.sh
#include <iostream>
#include <string>
#include <vector>
#include <random>
#include <chrono>
#include <ctime>
int main()
{
int start_c = 10000, end_c = 20000;
@harmishhk
harmishhk / pr2_calibration_ws.sh
Created November 14, 2016 09:59
pr2_calibration
git clone -b indigo-devel https://github.com/PR2/pr2_calibration.git src/pr2_calibration
git clone -b indigo-devel https://github.com/PR2/pr2_common.git src/pr2_common
git clone -b indigo-devel https://github.com/PR2/pr2_controllers.git src/pr2_controllers
git clone -b indigo-devel https://github.com/PR2/pr2_mechanism src/pr2_mechanism
git clone -b indigo-devel https://github.com/PR2/pr2_robot src/pr2_robot
git clone -b indigo-devel https://github.com/ros/convex_decomposition src/non_pr2_pkgs/convex_decomposition
git clone -b indigo-devel https://github.com/ros-drivers/audio_common src/audio_common
touch src/audio_common/audio_capture CATKIN_IGNORE
touch src/audio_common/audio_play CATKIN_IGNORE
git clone -b indigo-devel https://github.com/harmishhk/pr2_battery_alert.git src/pr2_battery_alert
git clone -b indigo-devel https://github.com/harmishhk/pr2_common_actions.git src/pr2_common_actions
git clone -b indigo-devel https://github.com/PR2/pr2_robot src/pr2_robot
sed -i 's/timeout: 0.2/timeout: 0.5/g' src/pr2_robot/pr2_controller_configuration/pr2_base_controller2.yaml
@harmishhk
harmishhk / iri-lab
Last active February 1, 2017 18:58
Dockerfile with some IRI packages
Dockerfile with some IRI packages
@harmishhk
harmishhk / README.md
Created March 25, 2017 11:51
Configure docker user-namespacing with LDAP

For Ubuntu 14.04.x Add --userns-remap={username}:{groupname} somewhere in DOCKER_OPTS in /etc/default/docker file. Add a new line with {username}:{userid}:65536 in /etc/subuid file. Add a new line with {groupname}:{groupid}:65536 in /etc/subuid file.

@harmishhk
harmishhk / km-0409.ini
Created April 15, 2017 15:25
parital solution for us intl keyboard with xrdp
[noshift]
Key8=0:0
Key9=65307:27
Key10=49:49
Key11=50:50
Key12=51:51
Key13=52:52
Key14=53:53
Key15=54:54
Key16=55:55
#!/bin/sh
exec socat UNIX-LISTEN:/var/run/docker.sock,fork,group=docker,umask=007 EXEC:"npiperelay.exe -ep -s //./pipe/docker_engine",nofork