The instructions are based on this answers.ros.org thread.
You may need the latest pip, follow the official instructions.
Install bloom:
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 bash | |
| #set -x | |
| function extract() | |
| { | |
| if [ -f "$1" ] ; then | |
| case "$1" in | |
| *.tar.bz2) tar xvjf "$1" ;; | |
| *.tar.gz) tar xvzf "$1" ;; |
| - 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 } |
| #!/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 | |
| ]] |
| 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') |