This file contains hidden or 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
Extract .tar.gz with progress: | |
pigz -dc mysql-binary-backup.tar.gz | pv | tar -xf - |
This file contains hidden or 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
/home/juraj/Downloads/clion-172.1572.3/bin/cmake/bin/cmake --build /home/juraj/cartographer_superbuild/cartographer/cmake-build-relwithdebinfo --target all -- -j 8 | |
Scanning dependencies of target gtest | |
Scanning dependencies of target build_doc | |
Scanning dependencies of target cartographer_detect_changes | |
Scanning dependencies of target gmock | |
Scanning dependencies of target gmock_main | |
[ 0%] Building documentation. | |
[ 1%] Running C++ protocol buffer compiler on /home/juraj/cartographer_superbuild/cartographer/cartographer/transform/proto/transform.proto | |
[ 2%] Running C++ protocol buffer compiler on /home/juraj/cartographer_superbuild/cartographer/cartographer/kalman_filter/proto/pose_tracker_options.proto | |
[ 2%] Running C++ protocol buffer compiler on /home/juraj/cartographer_superbuild/cartographer/cartographer/common/proto/ceres_solver_options.proto |
This file contains hidden or 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
ROS_DISTRO=lunar | |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 | |
sudo add-apt-repository universe | |
sudo apt update | |
sudo apt install git ros-$ROS_DISTRO-ros-base ninja-build -y | |
mkdir -p catkin_ws/src && cd catkin_ws/src | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
git clone https://github.com/googlecartographer/cartographer.git | |
git clone https://ceres-solver.googlesource.com/ceres-solver |
This file contains hidden or 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
cmake_minimum_required(VERSION 2.8.3) | |
project(amacal_mapping_evaluation) | |
find_package(catkin REQUIRED) | |
catkin_package() | |
# robot names for various robot types | |
set(pioneer_ROBOT_NAMES alpha pioneer) |
This file contains hidden or 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
-- Copyright 2016 The Cartographer Authors | |
-- | |
-- Licensed under the Apache License, Version 2.0 (the "License"); | |
-- you may not use this file except in compliance with the License. | |
-- You may obtain a copy of the License at | |
-- | |
-- http://www.apache.org/licenses/LICENSE-2.0 | |
-- | |
-- Unless required by applicable law or agreed to in writing, software | |
-- distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or 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.000000, 0.000000, 0.000000, 0.000000], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], | |
[1.000000, 0.000000, 0.000000, 0.000138], |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import curses | |
import time | |
mypad_contents = [] | |
def main(scr): | |
# Create curses screen | |
scr.keypad(True) |
This file contains hidden or 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
#!/usr/bin/env python | |
import roslib | |
import rospy | |
import math | |
import tf2_ros | |
import PyKDL | |
import geometry_msgs.msg | |
from math import pi | |
This file contains hidden or 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
#!/bin/bash | |
comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) |
This file contains hidden or 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
#!/bin/bash | |
# Check if we are executing as root | |
if [ $UID != 0 ]; then | |
sudo ./prepare_audio.sh; exit | |
fi | |
# The nvidia driver cannot be loaded while we are configuring the GPU. | |
# Check whether the nvidia kernel is loaded: |