|
From: <jf...@ab...> - 2011-07-05 20:08:55
|
Hi All, I was trying to playback some simulations data using the player readlog driver and every time I was subscribing to the sonar interface using playervcr I got a segmentation fault. Well ... the reason was that the allocation of memory for the poses of the sonar was missing. To fix it, just add the following: "geom->poses=(player_pose3d_t*)calloc(token_count, sizeof(player_pose3d_t));" below line 2737 in the readlog.cc file, right after the assert statement and it will work. Cheers. Juan |