Skip to content

Instantly share code, notes, and snippets.

@chadrockey
chadrockey / gist:6278266
Created August 20, 2013 07:44
Dynamic Reconfigure Timed Latch
Cfg:
#! /usr/bin/env python
from dynamic_reconfigure.parameter_generator_catkin import *
PACKAGE='my_package'
gen = ParameterGenerator()
gen.add("a", double_t, 0, "A", -100, 0, 100)
gen.add("b", double_t, 0, "B", -100, 0, 100)
AcmDeviceActivity : <New> - Enter - v0.1
AcmDeviceActivity : <New> - Exit
HokuyoPublisher : <new> - Enter
HokuyoPublisher : <new> - Exit
HokuyoPublisher : init - Enter
HokuyoPublisher : init - Exit
ViewRootImpl : sendUserActionEvent() mView == null
CustomFrequencyManager : newFrequencyRequest - mFrequency = 1566000, mTimeoutMs = -1, mPkgName = LIST_SCROLL_BOOSTER@11
CustomFrequencyManager : Boost Request from package = LIST_SCROLL_BOOSTER@11 frequency : 1566000type = 6
CustomFrequencyManager : !! pkgName = LIST_SCROLL_BOOSTER@11
ViewRootImpl : sendUserActionEvent() mView == null
AcmDeviceActivity : <new> - Enter
AcmDeviceActivity : <new> - Exit
HokuyoPublisher : <new> - Enter
HokuyoPublisher : <new> - Exit
HokuyoPublisher : init - Enter
HokuyoPublisher : init - Exit
ViewRootImpl : sendUserActionEvent() mView == null
AcmDeviceActivity : <new> - Enter
AcmDeviceActivity : <new> - Exit
bDeviceDetachedReceiver : USB device removed: /dev/bus/usb/002/002
ViewRootImpl : sendUserActionEvent() mView == null
MotionRecognitionManager : .unregisterListener : / listener count = 0->0,
ViewRootImpl : sendUserActionEvent() mView == null
InputEventReceiver : Attempted to finish an input event but the input event receiver has already been disposed.
ViewRootImpl : sendUserActionEvent() mView == null
AcmDeviceActivity : <new> - Enter
AcmDeviceActivity : <new> - Exit
HokuyoPublisher : <new> - Enter
HokuyoPublisher : <new> - Exit
AndroidRuntime : FATAL EXCEPTION: main
AndroidRuntime : java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.rosjava.android.hokuyo_publisher/com.github.rosjava.android.hokuyo_publisher.HokuyoPublisher}: java.lang.IllegalArgumentException: Not all endpoints found.
AndroidRuntime : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2249)
AndroidRuntime : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2299)
AndroidRuntime : at android.app.ActivityThread.access$700(ActivityThread.java:154)
AndroidRuntime : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1284)
AndroidRuntime : at android.os.Handler.dispatchMessage(Handler.java:99)
AndroidRuntime : at android.os.Looper.loop(Looper.java:137)
AndroidRuntime : at android.app.ActivityThread.main(ActivityThread.java:5306)
AndroidRuntime : at java.lang.reflect.Method.invokeNative(Native Method)
AcmDeviceActivity : <new> - Enter
AcmDeviceActivity : <new> - Exit
HokuyoPublisher : <new> - Enter
HokuyoPublisher : <new> - Exit
SpannableStringBuilder : SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
SpannableStringBuilder : SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
HokuyoPublisher : init - Enter
HokuyoPublisher : init - Exit
bDeviceDetachedReceiver : USB device removed: /dev/bus/usb/002/002
AcmDeviceActivity : <new> - Enter
GestureDetector : [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 9 mFalseSizeCnt:0
GestureDetector : [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 31 mFalseSizeCnt:0
SpannableStringBuilder : SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
SpannableStringBuilder : SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
GestureDetector : [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 8 mFalseSizeCnt:0
com.github.rosjava.android.hokuyo_publisher.HokuyoPublisher : init - Enter
com.github.rosjava.android.hokuyo_publisher.HokuyoPublisher : init - Exit
AbsListView : Get MotionRecognitionManager
AbsListView : unregisterIRListener() is called
AbsListView : unregisterIRListener() is called
@chadrockey
chadrockey / gist:4733787
Created February 7, 2013 20:13
Namespaces in the ROS camera API
Patrick Mihelich
On Sun, Sep 18, 2011 at 10:17 AM, Jack O'Quin <[email protected]> wrote:
On Sat, Sep 17, 2011 at 7:16 PM, Ken Tossell <[email protected]> wrote:
>> cameras
>
> The ROS camera API is pretty consistent in its topic naming, but (last
> I looked) there was no standard topic layout for stereo cameras or
> other camera arrays. Also many of the drivers push their topics under
-- +++ processing catkin package: 'depthimage_to_laserscan'
-- ==> add_subdirectory(depthimage_to_laserscan)
-- dynamic_reconfigure built cfg/Depth.cfg: Generating reconfiguration files for Depth in depthimage_to_laserscan
Wrote header file in /wg/stor5/chadrockey/imu_drivers_catkin/devel/include/depthimage_to_laserscan/DepthConfig.h
-- +++ processing catkin package: 'hokuyo_node'
-- ==> add_subdirectory(hokuyo_node)
-- dynamic_reconfigure built cfg/Hokuyo.cfg: Generating reconfiguration files for Hokuyo in hokuyo_node
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- thread
# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html
cmake_minimum_required(VERSION 2.8.3)
project(hokuyo_node)
# Load catkin and all dependencies required for this package
find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs driver_base self_test diagnostic_updater dynamic_reconfigure)
# Dynamic reconfigure support
generate_dynamic_reconfigure_options(cfg/Hokuyo.cfg)