gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains 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
require 'qtcore' | |
require 'qtgui' | |
require 'os' | |
app = QApplication(select('#',...) + 1, {'lua', ...}) | |
dp = rtt.getTC():getPeer('deployer') | |
dp:loadComponent('name','OCL::LuaComponent') | |
name = dp:getPeer('name') | |
name:exec_str('function updateHook() print(rtt.getTime()) end') |
This file contains 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
./i386-softmmu/qemu-system-i386 -s -kernel /home/gan/project/xenomai_prj/buildroot-2012.08/output/build/linux-2.6.38.8/arch/x86/boot/bzImage -hda /home/gan/project/xenomai_prj/buildroot-2012.08/output/images/rootfs.ext2 -append "console=ttyS0 root=/dev/sda rw xeno_hal.clockfreq=1600000000 xeno_hal.cpufreq=1600000000" -nographic | |
./i386-softmmu/qemu-system-i386 -kernel ~/project/xenomai_prj/linux-2.6.38.8/build/arch/i386/boot/bzImage -hda ~/project/xenomai_prj/busybox-1.20.2/rootfs.img -append "console=ttyS0 root=/dev/sda xeno_hal.clockfreq=1600000000 xeno_hal.cpufreq=1600000000" -nographic |
This file contains 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
ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start |
This file contains 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 sh | |
echo 'Upgrades' | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
#sudo apt-get -y dist-upgrade | |
echo 'Git' | |
sudo apt-get install -y git | |
echo 'OpenSSH' |
This file contains 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 | |
### BEGIN INIT INFO | |
# Provides: rtnet_kuka | |
# Required-Start: $local_fs | |
# Required-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: false | |
# Short-Description: Starts RTNet components for the Kuka LWR | |
# Description: Start/stop RTNet components for the Kuka LWR 4+ at ISIR |
This file contains 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86_64 3.16.0 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" | |
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" |
This file contains 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
sudo apt-get remove gazebo-current libsdformat-dev libsdformat1 ros-hydro-gazebo-msgs-current ros-hydro-gazebo-plugins-current ros-hydro-gazebo-ros-current ros-hydro-gazebo-ros-pkgs-current | |
sudo apt-get install gazebo ros-hydro-desktop-full ros-hydro-gazebo-msgs ros-hydro-gazebo-plugins ros-hydro-gazebo-ros ros-hydro-gazebo-ros-control ros-hydro-gazebo-ros-pkgs ros-hydro-simulators sdformat |
This file contains 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 | |
if (( $# < 1 )) | |
then | |
echo "Usage: ... lwr_create_pkg {NAME} {ADDITIONAL-DEPS}" | |
exit 1 | |
fi | |
catkin_create_pkg "$@" rtt rtt_ros rtt_roscomm rtt_rosparam rtt_rosclock kuka_lwr_fri rtt_lwr_gazebo rtt_lwr_sim std_msgs diagnostic_msgs geometry_msgs message_generation orocos_kdl kdl_conversions kdl_typekit eigen_typekit |
This file contains 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
//* The Ros object, wrapping a web socket connection to rosbridge. | |
var ros = new ROSLIB.Ros({ | |
url: 'ws://localhost:9090' // url to your rosbridge server | |
}); | |
//* A topic for messaging. | |
var exampleTopic = new ROSLIB.Topic({ | |
ros: ros, | |
name: '/com/endpoint/example', // use a sensible namespace | |
messageType: 'std_msgs/String' |
OlderNewer