Skip to content

Instantly share code, notes, and snippets.

#include <ros.h>
#include <std_msgs/String.h>
#include <std_srvs/Empty.h>
ros::NodeHandle nh;
bool messageCb(std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) {
digitalWrite(LED_BUILTIN, HIGH-digitalRead(LED_BUILTIN)); // blink the led
nh.loginfo("LED is ON");
ivy_base_msgs:
ubuntu: [ros-noetic-ivy-base-msgs]
ivy_base_pid:
ubuntu: [ros-noetic-ivy-base-pid]
ivy_base_odometry:
ubuntu: [ros-noetic-ivy-base-odometry]
ivy_base_teleop:
ubuntu: [ros-noetic-ivy-base-teleop]
ivy_leaf_nav:
ubuntu: [ros-noetic-ivy-leaf-nav]
scp -r rpi:~/.config/tmuxinator/* .
scp -r . lgtm:~/.config/tmuxinator
## old
/dev/sdb1: UUID="623C76353C7603F7" TYPE="ntfs" PARTUUID="348b9b11-01"
/dev/sdb2: UUID="65bc17f7-5c2c-4fab-8382-eb5c459da3be" TYPE="ext4" PARTUUID="348b9b11-02"
/dev/sdb3: UUID="ea03b3e8-eb11-46e8-9143-6e4e84b77bb3" TYPE="ext4" PARTUUID="348b9b11-03"
/dev/sdb5: UUID="6df44fbe-af34-4af4-a26b-81cb1ee6406f" TYPE="ext4" PARTUUID="348b9b11-05"
/dev/sdb6: UUID="6fa60236-4737-4aa5-ae6e-c80165718cdc" TYPE="swap" PARTUUID="348b9b11-06"
## new
https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://10.42.0.1:37181/
SUMMARY
========
PARAMETERS
@umhan35
umhan35 / ros clion setup on Ubuntu.md
Last active April 4, 2019 16:19
ros clion setup

install clion via snap

snap will auto update the app

snap install clion

in config/options/project.default.xml

@umhan35
umhan35 / ros.md
Created March 27, 2019 19:48
ros

export ROSCONSOLE_FORMAT='[${severity}] [${time}] [${function}]: ${message}'

change to debug

cp /opt/ros/melodic/share/ros/config/rosconsole.config ~/rosconsole.config

export ROSCONSOLE_CONFIG_FILE=~/rosconsole.config

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.