Thanks for your help -- writing to a bagfile works now --- I set it to record right into my home directory to take care of any permissions problems. I still can't get gmapping to generate a map from a bagfile, though. That too worked last week, before p2os_teleop. Now, when I run "rosbag play " in conjunction with "rosrun gmapping slam_gmapping scan:=scan" (or base_scan, if I'm using the downloaded bag file), this error message is repeatedly displayed: "[ WARN] [WallTime: 1279722421.991972640]: TF_OLD_DATA ignoring data from the past for frame /base_link at time 1.27972e+09 according to authority /play_1279722419677246299 Possible reasons are listed at " <-- it doesn't display where these possible reasons are listed. Thanks again, Rishi Rishi Bedi rbedi100@gmail.com On Tue, Jul 20, 2010 at 1:36 PM, David Feil-Seifer wrote: > p2os_teleop should not interfere with writing to a bagfile. Make sure > that you have write permissions for the directory where the bagfile > will be written, (this is not always the current directory, sometimes > it is /opt/ros/ros or ~/ros/ros whereever the ros installation was > done). > > On Tue, Jul 20, 2010 at 10:32 AM, Rishi Bedi wrote: >> Ya, I did that. >> It may have something to do with the p2os_teleop package that I am >> using -- could they be interfering? I installed the teleop package >> after gmapping worked for me last Friday... so that's probably it... >> any ideas on interference between the two? >> Thanks >> Rishi >> >> >> Rishi Bedi >> rbedi100@gmail.com >> >> >> >> On Tue, Jul 20, 2010 at 12:30 PM, Brian Gerkey wrote: >>> hi Rishi, >>> >>> I just ran through that tutorial, downloading the linked bag, and it >>> works fine for me.  Did you set the use_sim_time parameter (step 4) >>> before starting gmapping (step 5)? >>> >>>        brian. >>> >>> On Tue, Jul 20, 2010 at 8:08 AM, Rishi Bedi wrote: >>>> Hi, >>>> I'm trying to run the gmapping package, following the tutorial here: >>>> http://www.ros.org/wiki/slam_gmapping/Tutorials/MappingFromLoggedData >>>> . >>>> I'm getting errors at a few points along the way, however -- when I >>>> try to record my own bagfile from my Pioneer 2 (which I am >>>> teleoperating using a joystick), I repeatedly get this error: >>>> "[FATAL] [WallTime: 1279638142.894919030]: rosrecord::Record: could >>>> not write to file.  Check permissions and diskspace" My diskspace is >>>> definitely enough -- what permissions is it alluding to? >>>> >>>> I then tried just using the bagfile linked to in the tutorial, but >>>> gmapping outputs the following, repeatedly: "[ WARN] [WallTime: >>>> 1279638187.366396181]: TF_OLD_DATA ignoring data from the past for >>>> frame /base_link at time 126.2 according to authority >>>> /play_1279638095646529424". Using rosbag play to play the bagfile >>>> appears to be working, but it shows this: >>>> "RUNNING]  Bag Time:     35.500164   Duration: 0.900164 / >>>> 1239670987.745222   " <-- it's counting by 1/10, so that looks too >>>> big... it would take a while to count to that! >>>> >>>> Thanks, >>>> Rishi >>>> >>>> Rishi Bedi >>>> rbedi100@gmail.com >>>> _______________________________________________ >>>> ros-users mailing list >>>> ros-users@code.ros.org >>>> https://code.ros.org/mailman/listinfo/ros-users >>>> >>> _______________________________________________ >>> ros-users mailing list >>> ros-users@code.ros.org >>> https://code.ros.org/mailman/listinfo/ros-users >>> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >