[Bug 796] New: types not properly decomposed when reported

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=796

Summary: types not properly decomposed when reported
Product: RTT
Version: 2.0-mainline
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: tinne [dot] delaet [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

When reporting the bfl matrices (these are sequences of sequences, see
http://svn.mech.kuleuven.be/repos/orocos/trunk/kul-ros-pkg/stacks/orocos...),
they are not properly decomposed, i.e. the report file still contains brackets.

[Bug 796] types not properly decomposed when reported

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=796

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution| |FIXED
Status|ASSIGNED |RESOLVED

--- Comment #3 from Peter Soetens <peter [..] ...> 2010-11-30 22:35:04 ---
I believe I have fixed this on the master branch. Both RTT and OCL need to be
upgraded & recompiled.

The decomposeType/convertType function was not taken into account in all of the
decomposition code.

I believe one of the mistakes you made was not checking the return value of
typeDecomposition() in your convertType function, which probably returned false
before this patch. It should work now.

Peter

[Bug 796] types not properly decomposed when reported

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=796

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #2 from Peter Soetens <peter [..] ...> 2010-11-30 21:38:01 ---
(In reply to comment #0)
> When reporting the bfl matrices (these are sequences of sequences, see
> http://svn.mech.kuleuven.be/repos/orocos/trunk/kul-ros-pkg/stacks/orocos...),
> they are not properly decomposed, i.e. the report file still contains brackets.

Which type exactly ? Matrix or Matrixs ?

Peter

[Bug 796] types not properly decomposed when reported

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=796

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...
Component|Real-Time Toolkit (RTT) |RTT
Version|2.0-mainline |master
Product|RTT |Toolchain

--- Comment #1 from Peter Soetens <peter [..] ...> 2010-11-30 21:21:31 ---
Please submit 2.x bugs in the 'Toolchain' product.