[ros-users] rospy.Time not meant to be pickle-able in Python?
haidai at gmail.com
Fri Jul 23 06:05:05 UTC 2010
Cool! Glad it's not because I'm coding at 2AM.
On Fri, Jul 23, 2010 at 2:01 AM, Ken Conley <kwc at willowgarage.com> wrote:
> It definitely wasn't there before, but with r10481 it's there now.
> Thanks for the report.
> - Ken
> On Thu, Jul 22, 2010 at 10:51 PM, Hai Nguyen <haidai at gmail.com> wrote:
>> I'm writing a simple script that receives messages from a bag file and
>> tries to pickle them. It looks like the pickle module doesn't like
>> the roslib.time.Time class that's in header.stamp on some of the
>> messages and exits with the error:
>> "TypeError: a class that defines __slots__ without defining
>> __getstate__ cannot be pickled"
>> I feel like I must have pickled a message with a header.stamp field in
>> the past. Is this a recent change or am I mistaken?
>> Hai Nguyen
>> CS, Robotics
>> ros-users mailing list
>> ros-users at code.ros.org
> ros-users mailing list
> ros-users at code.ros.org
More information about the ros-users