- 🌏 The official ISO C++ Get Started! page
- 🎥 Herb Sutter: (Not Your Father’s) C++
- 🎥 Beginning with C++ by Jens Weller
| #include <ros/callback_queue.h> | |
| #include <ros/ros.h> | |
| #include <boost/thread.hpp> | |
| /* | |
| * @brief A spinner thread to force ros to spinOnce() and therefore ros services/callbacks to | |
| * get invoked etc. | |
| */ | |
| class Spinner { | |
| public: |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom:
| #!/usr/bin/env python | |
| import sys | |
| import roslib; | |
| import rospy | |
| import rosbag | |
| from rospy import rostime | |
| import argparse | |
| import os | |
| # Original: |
| # /etc/udev/rules.d/99-usb-serial.rules | |
| # udevadm info --attribute-walk -n /dev/ttyUSB0 |grep serial (can be used to get serial number) | |
| # udevadm control --reload-rules (reload rules) | |
| # udevadm trigger (re-add all devices) | |
| # see https://wiki.archlinux.org/index.php/Bus_pirate | |
| # for some reason, ATTRS{bInterfaceNumber}=="00" is not working, hence the use of ENV{} | |
| # single USB/serial adapters | |
| SUBSYSTEM=="tty", ATTRS{serial}=="A900TUKZ", SYMLINK+="ttyUSB_bub_1" | |
| SUBSYSTEM=="tty", ATTRS{serial}=="A700fdWb", SYMLINK+="ttyUSB_bub_2" |
| #!/bin/bash | |
| sudo add-apt-repository -y ppa:git-core/ppa | |
| sudo apt-get update | |
| sudo apt-get install git -y |
| // A simple quickref for Eigen. Add anything that's missing. | |
| // Main author: Keir Mierle | |
| #include <Eigen/Dense> | |
| Matrix<double, 3, 3> A; // Fixed rows and cols. Same as Matrix3d. | |
| Matrix<double, 3, Dynamic> B; // Fixed rows, dynamic cols. | |
| Matrix<double, Dynamic, Dynamic> C; // Full dynamic. Same as MatrixXd. | |
| Matrix<double, 3, 3, RowMajor> E; // Row major; default is column-major. | |
| Matrix3f P, Q, R; // 3x3 float matrix. |
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo "waiting for the following arguments: username + max-page-number" | |
| exit 1 | |
| else | |
| name=$1 | |
| fi | |
| if [ -z "$2" ]; then |