[Rock-dev] [rock] #349: Typlib.to_byte_array: does not reflect changes on converted types
rock
noreply at opendfki.de
Mon Oct 14 17:04:53 CEST 2013
#349: Typlib.to_byte_array: does not reflect changes on converted types
----------------------------+-----------------------------------
Reporter: Alexander.Duda | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: major | Milestone:
Component: base | Keywords:
----------------------------+-----------------------------------
Example:
t = Types::Base::Samples::LaserScan.new
t.time = Time.now
puts Types::Base::Samples::LaserScan.wrap(t.to_byte_array).time #
1974-06-16 05:28:37 +0100
Workaround:
t = Types::Base::Samples::LaserScan.new
t.time = Time.now
t.apply_changes_from_converted_types # this method is marked as
internal API function
puts Types::Base::Samples::LaserScan.wrap(t.to_byte_array).time
--
Ticket URL: <http://rock.opendfki.de/ticket/349>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list