flybeyond / atrias

Automatically exported from code.google.com/p/atrias
0 stars 0 forks source link

bag2py -script failing #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  ../scripts/bag2mat.py atrias_2012-11-26-16-03-11.bag 
atrias_2012-11-26-16-03-11.mat

*expected mat-file does not show up in folder* / tried on both GUI and i1000e

What is the expected output? What do you see instead?

Converting atrias_2012-11-26-16-03-11.bag -> atrias_2012-11-26-16-03-11.mat
Loading data from atrias_2012-11-26-16-03-11.bag
Warning: cannot save field 
/log_robot_state/robotState/lLeg/halfB/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/lLeg/halfA/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/commandedOutput/lLeg/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field /log_robot_state/robotState/lLeg/header/stamp/nsecs 
to matlab (not a primitive type)
Warning: cannot save field 
/log_robot_state/robotState/rLeg/halfB/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field /controller__pd_2_log/header/stamp/secs to matlab 
(not a primitive type)
Warning: cannot save field 
/log_robot_state/robotState/position/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field /controller__pd_3_log/header/stamp/secs to matlab 
(not a primitive type)
Warning: cannot save field /log_robot_state/commandedOutput/header/stamp/nsecs 
to matlab (not a primitive type)
Warning: cannot save field /controller__pd_0_log/header/stamp/secs to matlab 
(not a primitive type)
Warning: cannot save field 
/log_robot_state/robotState/rLeg/halfA/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/lLeg/halfA/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/rLeg/hip/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/rLeg/halfA/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/controllerOutput/lLeg/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/commandedOutput/rLeg/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field /log_robot_state/controllerOutput/header/stamp/secs 
to matlab (not a primitive type)
Warning: cannot save field /controller__pd_5_log/header/stamp/nsecs to matlab 
(not a primitive type)
Warning: cannot save field /log_robot_state/controllerOutput/header/stamp/nsecs 
to matlab (not a primitive type)
Warning: cannot save field /log_robot_state/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/rLeg/halfB/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field /log_robot_state/robotState/header/stamp/secs to 
matlab (not a primitive type)
Warning: cannot save field /controller__pd_3_log/header/stamp/nsecs to matlab 
(not a primitive type)
Warning: cannot save field /controller__pd_1_log/header/stamp/secs to matlab 
(not a primitive type)
Warning: cannot save field 
/log_robot_state/robotState/position/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field /log_robot_state/robotState/header/stamp/nsecs to 
matlab (not a primitive type)
Warning: cannot save field /controller__pd_1_log/header/stamp/nsecs to matlab 
(not a primitive type)
Warning: cannot save field 
/log_robot_state/commandedOutput/lLeg/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field /log_robot_state/robotState/lLeg/header/stamp/secs 
to matlab (not a primitive type)
Warning: cannot save field 
/log_robot_state/robotState/lLeg/halfB/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/lLeg/hip/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field /log_robot_state/robotState/rLeg/header/stamp/secs 
to matlab (not a primitive type)
Warning: cannot save field /log_robot_state/commandedOutput/header/stamp/secs 
to matlab (not a primitive type)
Warning: cannot save field /log_robot_state/robotState/rLeg/header/stamp/nsecs 
to matlab (not a primitive type)
Warning: cannot save field /controller__pd_2_log/header/stamp/nsecs to matlab 
(not a primitive type)
Warning: cannot save field 
/log_robot_state/controllerOutput/rLeg/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/lLeg/hip/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/robotState/rLeg/hip/header/stamp/secs to matlab (not a 
primitive type)
Warning: cannot save field /controller__pd_4_log/header/stamp/secs to matlab 
(not a primitive type)
Warning: cannot save field /controller__pd_4_log/header/stamp/nsecs to matlab 
(not a primitive type)
Warning: cannot save field /log_robot_state/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/controllerOutput/rLeg/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field 
/log_robot_state/commandedOutput/rLeg/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field /controller__pd_0_log/header/stamp/nsecs to matlab 
(not a primitive type)
Warning: cannot save field 
/log_robot_state/controllerOutput/lLeg/header/stamp/nsecs to matlab (not a 
primitive type)
Warning: cannot save field /controller__pd_5_log/header/stamp/secs to matlab 
(not a primitive type)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by tra...@gmail.com on 27 Nov 2012 at 12:29

GoogleCodeExporter commented 9 years ago
The script works.

Please note that the script will first load the entire bagfile into memory 
_then_ start writing to disk, so you will not see the .mat file until the disk 
write starts.

Original comment by yoos117@gmail.com on 27 Nov 2012 at 8:11