maybe put a 1-2 second wait time during initialization??
[ERROR] [WallTime: 1412028584.170265] [112.450000] bad callback: <bound method ParticleFilter.scan_received of <main.ParticleFilter instance at 0x3849d40>>
Traceback (most recent call last):
File "/opt/ros/hydro/lib/python2.7/dist-packages/rospy/topics.py", line 682, in _invoke_callback
cb(msg)
File "/home/greenteawarrior/catkin_ws/src/particle_filter/scripts/pf_level2.py", line 340, in scan_received
self.odom_pose = self.tf_listener.transformPose(self.odom_frame, p)
File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 188, in transformPose
mat44 = self.asMatrix(target_frame, ps.header)
File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 75, in asMatrix
translation,rotation = self.lookupTransform(target_frame, hdr.frame_id, hdr.stamp)
ExtrapolationException: Lookup would require extrapolation into the past. Requested time 112.400000000 but the earliest data is at time 112.800000000, when looking up transform from frame [base_link] to frame [odom]
[INFO] [WallTime: 1412028584.329384] [112.610000] scan_received !
[ERROR] [WallTime: 1412028584.331514] [112.610000] bad callback: <bound method ParticleFilter.scan_received of <main.ParticleFilter instance at 0x3849d40>>
Traceback (most recent call last):
File "/opt/ros/hydro/lib/python2.7/dist-packages/rospy/topics.py", line 682, in _invoke_callback
cb(msg)
File "/home/greenteawarrior/catkin_ws/src/particle_filter/scripts/pf_level2.py", line 340, in scan_received
self.odom_pose = self.tf_listener.transformPose(self.odom_frame, p)
File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 188, in transformPose
mat44 = self.asMatrix(target_frame, ps.header)
File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 75, in asMatrix
translation,rotation = self.lookupTransform(target_frame, hdr.frame_id, hdr.stamp)
ExtrapolationException: Lookup would require extrapolation into the past. Requested time 112.600000000 but the earliest data is at time 112.800000000, when looking up transform from frame [base_link] to frame [odom]
maybe put a 1-2 second wait time during initialization??
[ERROR] [WallTime: 1412028584.170265] [112.450000] bad callback: <bound method ParticleFilter.scan_received of <main.ParticleFilter instance at 0x3849d40>> Traceback (most recent call last): File "/opt/ros/hydro/lib/python2.7/dist-packages/rospy/topics.py", line 682, in _invoke_callback cb(msg) File "/home/greenteawarrior/catkin_ws/src/particle_filter/scripts/pf_level2.py", line 340, in scan_received self.odom_pose = self.tf_listener.transformPose(self.odom_frame, p) File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 188, in transformPose mat44 = self.asMatrix(target_frame, ps.header) File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 75, in asMatrix translation,rotation = self.lookupTransform(target_frame, hdr.frame_id, hdr.stamp) ExtrapolationException: Lookup would require extrapolation into the past. Requested time 112.400000000 but the earliest data is at time 112.800000000, when looking up transform from frame [base_link] to frame [odom]
[INFO] [WallTime: 1412028584.329384] [112.610000] scan_received ! [ERROR] [WallTime: 1412028584.331514] [112.610000] bad callback: <bound method ParticleFilter.scan_received of <main.ParticleFilter instance at 0x3849d40>> Traceback (most recent call last): File "/opt/ros/hydro/lib/python2.7/dist-packages/rospy/topics.py", line 682, in _invoke_callback cb(msg) File "/home/greenteawarrior/catkin_ws/src/particle_filter/scripts/pf_level2.py", line 340, in scan_received self.odom_pose = self.tf_listener.transformPose(self.odom_frame, p) File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 188, in transformPose mat44 = self.asMatrix(target_frame, ps.header) File "/opt/ros/hydro/lib/python2.7/dist-packages/tf/listener.py", line 75, in asMatrix translation,rotation = self.lookupTransform(target_frame, hdr.frame_id, hdr.stamp) ExtrapolationException: Lookup would require extrapolation into the past. Requested time 112.600000000 but the earliest data is at time 112.800000000, when looking up transform from frame [base_link] to frame [odom]