For more information about this bug, visit
A new bug was added:
Summary: Property of std::vector
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P2
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
If a property of a std::vector
written, all the rest is gone:
used to be:
Vector
apparently only the last value is stored, all the rest is gone.
Ruben
[Bug 388] Property of std::vector<double> not working
For more information about this bug, visit
ruben [dot] smits [..] ... changed:
What |Removed |Added
---------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED
------- Comment #6 from ruben [dot] smits [..] ... 2007-05-08 09:50
It seems to be working ...
Ruben
[Bug 388] Property of std::vector<double> not working
For more information about this bug, visit
A comment was added:
------- Comment #5 from ruben [dot] smits [..] ... 2007-05-07 09:18
Now rtt isn't compiling anymore:
[ 0%] Building CXX object
src/CMakeFiles/orocos-rtt.dir/scripting/ValueChangeParser.o
/usr/bin/c++ -DRTT_DLL_EXPORT -O2 -DNDEBUG -fPIC
-I/home/rsmits/orocos/rtt/src -I/home/rsmits/orocos/rtt/build-wo-corba/src
-I/home/rsmits/orocos/rtt/build-wo-corba/src/os
-I/home/rsmits/orocos/rtt/build-wo-corba/src/os/gnulinux -Wall -o
src/CMakeFiles/orocos-rtt.dir/scripting/ValueChangeParser.o -c
/home/rsmits/orocos/rtt/src/scripting/ValueChangeParser.cpp
/home/rsmits/orocos/rtt/src/scripting/ValueChangeParser.cpp: In member function
[Bug 388] Property of std::vector<double> not working
On Monday 07 May 2007 09:18:58 ruben [dot] smits [..] ... wrote: A comment was
> For more information about this bug, visit
>
> added:
> ------- Comment #5 from ruben [dot] smits [..] ... 2007-05-07 09:18
>
> Now rtt isn't compiling anymore:
Oops, that was related to r28012, an unrelated 'cleanup' patch. Fixed on
trunk in r28020.
Peter
[Bug 388] Property of std::vector<double> not working
For more information about this bug, visit
A comment was added:
------- Comment #4 from peter [dot] soetens [..] ... 2007-05-04 20:00
$ svn ci rtt/src/PropertyBag.cpp -m"Fix for bug #388: Property of not working:
std::vector
> Same bug present in refreshProperties, typically used when reading a file."
Sending rtt/src/PropertyBag.cpp
Transmitting file data .
Committed revision 28011.
The XML format of type "array" has changed such that the size element is no
longer required. The number of elements denotes the size. See also bug #326.
[Bug 388] Property of std::vector<double> not working
For more information about this bug, visit
A comment was added:
------- Comment #3 from ruben [dot] smits [..] ... 2007-05-04 14:22
Ok, it's working again, but for some reason, maybe intentional, the size of the
array is not in the propertyfile anymore.
Ruben
[Bug 388] Property of std::vector<double> not working
For more information about this bug, visit
peter [dot] soetens [..] ... changed:
What |Removed |Added
---------------------------------------------------------------------------
Target Milestone|--- |1.2.0
------- Comment #2 from peter [dot] soetens [..] ... 2007-05-04 13:41
This bug needs to be fixed before 1.2.0.
[Bug 388] Property of std::vector<double> not working
For more information about this bug, visit
A comment was added:
------- Comment #1 from peter [dot] soetens [..] ... 2007-05-04 13:35
sspr@lt00129:~/src/Orocos/trunk/rtt/src
$ svn ci PropertyBag.cpp -m"Fix for bug #388: Property of std::vector
not working."
Sending PropertyBag.cpp
Transmitting file data .
Committed revision 28008.
Can you verify that this works and close this bug if so ? You only need to
recompile & reinstall RTT, not your libraries or application.
Peter