sudo apt install ccache -y
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc
ccache: error: Failed to create temporary file for /home/alex/.ccache/tmp/tmp.cpp_stderr: Permission denied
* * * * * eval "export $(egrep -z DBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAME gnome-session)/environ)"; /usr/bin/notify-send "Foo" | |
source: https://askubuntu.com/a/346580 |
sudo apt-get update sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential
sudo apt-get install qt5-default pyqt5-dev pyqt5-dev-tools
sudo rosdep init rosdep update
sudo apt-get install printer-driver-dymo
sudo apt-get install glabels
https://www.linux-magazin.de/ausgaben/2015/12/perl-snapshot/2/ https://www.tuxlog.de/gentoolinuxadmin/2014/etikettendruck-mit-dem-brother-ql570-unter-ubuntu-linux/
rostopic pub /op_mode prbt_hardware_support/OperationModes "{time_stamp: now, value: 1}" -s -r 100 |
before_install: | |
- sudo apt-get install -y moreutils | |
install: install: | |
- git clone --depth=1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci - git clone --depth=1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci | |
script: script: | |
- .industrial_ci/travis.sh - .industrial_ci/travis.sh | ts '[%Y-%m-%d %H:%M:%S]' |
# Requireds: "sudo apt-get install python-pymodbus" | |
from pymodbus.client.sync import ModbusTcpClient | |
client = ModbusTcpClient('192.168.0.10') | |
result = client.read_holding_registers(975,1) # Reads 1 register starting at 975 | |
print(result.registers) |
# Create image/commit | |
rosrun industrial_ci run_travis 1 -- DOCKER_COMMIT=foo | |
# Use image/commit | |
rosrun industrial_ci run_travis 1 -- DOCKER_PULL=false DOCKER_IMAGE=foo |
#Troubleshooting | |
sudo apt-get install libclang-dev |