[Rock-dev] [rock] #410: pocolog crashing trying to prettyprint bldc/TelemetryDataArmMotor
rock
noreply at opendfki.de
Wed Jan 15 11:04:43 CET 2014
#410: pocolog crashing trying to prettyprint bldc/TelemetryDataArmMotor
-----------------------+-----------------------------------
Reporter: lech01 | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: minor | Milestone:
Component: toolchain | Keywords:
-----------------------+-----------------------------------
Trying to display types in a stream using pocolog --types, pocolog
crashes.
Seems that prettyprint can't handle the 'direction field in
/bldc/TelemetryDataArmMotor'?
leifole at christensen:~/dev/mag_compensation$ pocolog sb_base.0.log --types
[...]
/** Data structure to store the telemetry data coming from the manipulator
arm motor */
/bldc/TelemetryDataArmMotor {
receiveTime </base/Time { microseconds </int64_t>}>,
enableMotor </bool>,
mode </bool>,
enableDirectPWM </bool>,
enableSpeedControl </bool>,
hallSensorA </bool>,
hallSensorB </bool>,
hallSensorC </bool>,
maxCurrentViolated </bool>,
direction
</home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/enum_type.rb:18:in
`pretty_print': wrong number of arguments (2 for 1) (ArgumentError)
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/compound_type.rb:356:in
`block (2 levels) in pretty_print'
from /usr/lib/ruby/1.9.1/prettyprint.rb:243:in `nest'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/compound_type.rb:355:in
`block in pretty_print'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/compound_type.rb:335:in
`block (2 levels) in pretty_print_common'
from /usr/lib/ruby/1.9.1/pp.rb:223:in `block in seplist'
from /usr/lib/ruby/1.9.1/pp.rb:217:in `each'
from /usr/lib/ruby/1.9.1/pp.rb:217:in `seplist'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/compound_type.rb:334:in
`block in pretty_print_common'
from /usr/lib/ruby/1.9.1/prettyprint.rb:217:in `block (2 levels)
in group'
from /usr/lib/ruby/1.9.1/prettyprint.rb:243:in `nest'
from /usr/lib/ruby/1.9.1/prettyprint.rb:216:in `block in group'
from /usr/lib/ruby/1.9.1/prettyprint.rb:228:in `group_sub'
from /usr/lib/ruby/1.9.1/prettyprint.rb:215:in `group'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/compound_type.rb:330:in
`pretty_print_common'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/compound_type.rb:343:in
`pretty_print'
from /usr/lib/ruby/1.9.1/pp.rb:154:in `block in pp'
from /usr/lib/ruby/1.9.1/prettyprint.rb:217:in `block (2 levels)
in group'
from /usr/lib/ruby/1.9.1/prettyprint.rb:243:in `nest'
from /usr/lib/ruby/1.9.1/prettyprint.rb:216:in `block in group'
from /usr/lib/ruby/1.9.1/prettyprint.rb:228:in `group_sub'
from /usr/lib/ruby/1.9.1/prettyprint.rb:215:in `group'
from /usr/lib/ruby/1.9.1/pp.rb:154:in `pp'
from /usr/lib/ruby/1.9.1/pp.rb:77:in `block in pp'
from /usr/lib/ruby/1.9.1/pp.rb:121:in `guard_inspect_key'
from /usr/lib/ruby/1.9.1/pp.rb:77:in `pp'
from /usr/lib/ruby/1.9.1/pp.rb:60:in `block in pp'
from /usr/lib/ruby/1.9.1/pp.rb:59:in `each'
from /usr/lib/ruby/1.9.1/pp.rb:59:in `pp'
from
/home/leifole/dev/rock/smallrock/tools/pocolog/bin/pocolog:455:in `block
in execute'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/registry.rb:94:in
`each_type'
from
/home/leifole/dev/rock/smallrock/install/lib/ruby/1.9.1/typelib/registry.rb:94:in
`each'
from
/home/leifole/dev/rock/smallrock/tools/pocolog/bin/pocolog:454:in
`execute'
from
/home/leifole/dev/rock/smallrock/tools/pocolog/bin/pocolog:560:in
`execute'
from
/home/leifole/dev/rock/smallrock/tools/pocolog/bin/pocolog:692:in `<main>'
--
Ticket URL: <https://rock.opendfki.de/ticket/410>
rock <https://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list