Skip to content

Instantly share code, notes, and snippets.

View smits's full-sized avatar

Ruben Smits smits

  • Herent, Belgium
View GitHub Profile
@smits
smits / lqt-test.lua
Created March 30, 2012 08:46
rttlua GUI example
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')
@smits
smits / bootstrap-cpf.lua
Created October 26, 2012 08:51
Small rttlua script that bootstraps a property file given a component (only for properties which are natively part of the component)
#!/usr/bin/env rttlua
if #arg~=3 or arg[1]=="--help" or arg[1] == "-h" then
print [[Usage:
bootstrap-cpf.lua package type output.cpf
with:
package: the package to import which contains the component
type: the type of the component
output.cpf: name of the property file
]]
@smits
smits / extended_orocos_toolchain.rosinstall
Last active August 29, 2015 13:58
extended_orocos_toolchain.rosinstall
- git: {local-name: orocos_toolchain, uri: 'https://github.com/orocos-toolchain/orocos_toolchain.git', version: toolchain-2.8}
- git: {local-name: orocos_kinematics_dynamics, uri: 'https://github.com/orocos/orocos_kinematics_dynamics.git'}
- git: {local-name: rtt_geometry, uri: 'https://github.com/orocos/rtt_geometry', version: hydro-devel}
- git: {local-name: rFSM, uri: 'https://github.com/orocos/rFSM.git'}
- git: {local-name: metaruby, uri: 'https://github.com/orocos-gbp/metaruby-release', version: release/indigo/metaruby }
@smits
smits / build_valgrind.sh
Last active June 7, 2020 06:45
Build and push valgrind for Android devices
#!/usr/bin/env bash
#set -x
function extract()
{
if [ -f "$1" ] ; then
case "$1" in
*.tar.bz2) tar xvjf "$1" ;;
*.tar.gz) tar xvzf "$1" ;;
@smits
smits / debian_from_ros_pkg.md
Created October 7, 2021 14:22 — forked from awesomebytes/debian_from_ros_pkg.md
How to create a debian from a ROS package