Skip to content

Instantly share code, notes, and snippets.

View jbohren's full-sized avatar

Jonathan Bohren jbohren

View GitHub Profile
@jbohren
jbohren / cm
Created March 3, 2014 04:31 — forked from mmedvede/cm
#!/usr/bin/env bash
# Use catkin_make from anywhere in a workspace.
# Ascends from current directory until a catkin workspace root is reached,
# and invokes catkin_make.
# [email protected]
set -e
set -u
#!/usr/bin/env perl
use Term::ANSIColor;
if(@ARGV < 1) {
print " \n";
print "usage: $0 USERNAMES [--admin]\n";
print " \n";
print " This program will create a user using 'adduser' for each username\n";
print " listed in the USERNAMES file (separated by line breaks). Their\n";
#!/usr/bin/env python
from __future__ import print_function
use_catkin = True
if use_catkin:
from catkin.builder import run_command
else:
from catkin_tools.verbs.catkin_build.common import run_command
Dbg [parser.cc:356] No <sdf> element in file[test.urdf]
Dbg [parser_urdf.cc:1323] extension [<sensor name="camera" type="camera"><update_rate>30.0</update_rate><camera name="camera"><horizontal_fov>1.3962634</horizontal_fov><image><width>800</width><height>800</height><format>R8G8B8</format></image><clip><near>0.02</near><far>300</far></clip></camera><plugin filename="libgazebo_ros_camera.so" name="camera_controller"><alwaysOn>true</alwaysOn><updateRate>0.0</updateRate><cameraName>camera</cameraName><imageTopicName>image_raw</imageTopicName><cameraInfoTopicName>camera_info</cameraInfoTopicName><frameName>camera</frameName><hackBaseline>0.07</hackBaseline><distortionK1>0.0</distortionK1><distortionK2>0.0</distortionK2><distortionK3>0.0</distortionK3><distortionT1>0.0</distortionT1><distortionT2>0.0</distortionT2></plugin></sensor>] not converted from URDF, probably already in SDF format.
Dbg [parser_urdf.cc:1323] extension [<sensor type="force_torque"><always_on>1</always_on><update_rate>100.0</update_rate><vi
<robot name="sadbot" xmlns:xacro="http://ros.org/wiki/xacro">
<link name="base_link">
<inertial>
<mass value="1"/>
<inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1"/>
</inertial>
</link>
<joint name="joint_1" type="revolute">
<sdf version='1.4'>
<model name='sadbot'>
<link name='link_1'>
<pose>0 0 0 0 -0 0</pose>
<inertial>
<pose>0 0 0 0 -0 0</pose>
<mass>1</mass>
<inertia>
<ixx>1</ixx>
<ixy>0</ixy>
...
[build] Finished.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Build Summary:
Runtime: 1.5 seconds
Built Packages: 3
Built Run-Spaces:
- /home/liza/my_overlay/devel
Based on Run-Spaces:
- /home/liza/my_ws/devel
#!/usr/bin/env zsh
#
# Usage:
# Any arguments to this script are passed along to `catkin build`
#
# i.e.:
# ./race.zsh # Run with default number of jobs
# ./race.zsh -p 1 # Run with only one job
#
# Description:
[moldy-crow:~/versioned/catkin_tools]$ catkin build -h (metadata-file)
usage: catkin build [-h] [--workspace WORKSPACE] [--profile PROFILE]
[--list-only] [--no-deps] [--start-with PKGNAME]
[--source SOURCE] [--build BUILD] [--devel DEVEL]
[--isolate-devel] [--install-space INSTALL_SPACE]
[--install] [--isolate-install]
[--space-suffix SPACE_SUFFIX] [--extend EXTEND_PATH]
[--tmp-config] [--parallel-jobs PARALLEL_JOBS]
[--force-cmake]
[--cmake-args [CMAKE_ARGS [CMAKE_ARGS ...]]]
<sdf version='1.4'>
<model name='stereo_cam'>
<link name='bumblebee_mount_link'>
<pose>0 0 1 1.5707 -0 0</pose>
<inertial>
<pose>0 0 0 0 -0 0</pose>
<mass>0.342001</mass>
<inertia>
<ixx>0.000101969</ixx>
<ixy>0</ixy>