Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Csv Data #1

Open
difrancosimone opened this issue Feb 21, 2021 · 0 comments
Open

Read Csv Data #1

difrancosimone opened this issue Feb 21, 2021 · 0 comments

Comments

@difrancosimone
Copy link

Hi Nils,

i'm trying to import data from a csv using the functions:

csv_data.csv_nav_entry.parse_file(filepathname)
utils.parse_or_load_csv(filepathname)

but data is not parsed correctly, i have some csv files as follow:

rosbagTimestamp,header,seq,stamp,secs,nsecs,frame_id,position,latitude,longitude,depth,fix,h_dop,p_acc,s_acc,speed,x,y,z,utc_time,iTOW,tAcc,nano,year,month,day,hour,min,sec,valid
1575545418841774064,,10287,,1575545418,772044525,'',,43.8385568,10.8102144,0.0,1,1.22000002861,0.432000011206,0.00999999977648,,0.038,-0.014,-0.008,,387039900,1,900395048,2019,12,5,11,30,21,1
1575545418873250316,,10288,,1575545418,872536127,'',,43.8385568,10.8102144,0.0,1,1.22000002861,0.430999994278,0.00999999977648,,0.038,-0.014,-0.008,,387040000,1,395036,2019,12,5,11,30,22,1
.......

rosbagTimestamp,header,seq,stamp,secs,nsecs,frame_id,position,latitude,longitude,depth,fix,h_dop,p_acc,s_acc,speed,x,y,z,utc_time,iTOW,tAcc,nano,year,month,day,hour,min,sec,valid
1575545418841774064,,10287,,1575545418,772044525,'',,43.8385568,10.8102144,0.0,1,1.22000002861,0.432000011206,0.00999999977648,,0.038,-0.014,-0.008,,387039900,1,900395048,2019,12,5,11,30,21,1
1575545418873250316,,10288,,1575545418,872536127,'',,43.8385568,10.8102144,0.0,1,1.22000002861,0.430999994278,0.00999999977648,,0.038,-0.014,-0.008,,387040000,1,395036,2019,12,5,11,30,22,1
.....

rosbagTimestamp,header,seq,stamp,secs,nsecs,frame_id,left_beam,layout,dim,data_offset,data,right_beam,layout,dim,data_offset,data
1575545418842649766,,7378,,0,0,'',,,[],0,"[94, 97, 96, 98, 95, 91, 94, 92, 95, 95, 96, 96, 92, 96, 139, 154, 156, 154, 157, 151, 145, 142, 151, 151, 149, 141, 140, 142, 137, 132, 131, 146, 146, 141, 136, 136, 130, 129, 130, 129, 129, 124, 128, 128, 116, 113, 116, 117, 122, 123, 107, 107, 108, 106, 106, 112, 106, 106, 100, 101, 101, 96, 96, 98, 96, 97, 98, 97, 99, 101, 97, 104, 114, 122, 134, 132, 137, 137, 136, 133, 133, 133, 135, 134, 126, 126, 130, 141, 144, 144, 144, 141, 140, 139, 139, 146, 146, 129, 126, 133, 134, 134, 135, 125, 136, 137, 138, 129, 140, 138, 131, 132, 130, 128, 124, 126, 135, 132, 133, 133, 128, 124, 121, 117, 131, 128, 121, 120, 119, 113, 117, 120, 120, 121, 121, 130, 128, 128, 121, 124, 125, 124, 123, 123, 125, 125, 130, 129, 128, 129, 121, 125, 120, 122, 127, 120, 134, 136, 111, 112, 117, .......
......

I checked the repo and docs but i can't find a sample csv or input csv file definition.

My environment is: Ubuntu 18.04, Python2.7 with last auvlib available.

Thank you in advance.
Simone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant