You need to be a member of diydrones to add comments!
This reply was deleted.
Activity
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩
#jetracer https://t.co/GKcEjImQ3t
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10.
Thrills, spills and a Brazilian BBQ. Fun…
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Replies
In Mission Planner, the settings for Tlogs are simply not granular enough to opt out logs that we don’t need. In the end, I settled with the DataFlash Log, simply because I could untick all the checkboxes except for “GPS” and “Current” (which I need) under the Log_Bitmask in the Standard Params page in Mission Planner. The *.log file now only has the GPS lines and the current/voltage sensor lines, it's so much ‘cleaner’ but I only want the GPS values and the voltage value. Hence, I wrote a script in Python to parse the GPS lats and lons, as well as the volts which are in fact the RSSI readings on my 5.8ghz video receiver which RSSI pin is hooked up to the APM's voltage detection pin. After getting these 3 variables, I coded a couple more lines to display a graphical plot of all the GPS coordinates within a pop-up Window. Here’s a demo video. http://www.tinyurl.com/apm-gps-plotter
Virgil said:
The data is there, but what you see is a format mask for the data. It´s easier to export the data as GPX since all the information it´s right there, as "<trkpt lat="-29.71479714725" lon="-51.2822437992893"><ele>135.57</ele><time>2014-07-26T11:39:02-03:00</time><course>0</course><roll>0</roll><pitch>0</pitch><mode>Unknown</mode></trkpt>" for example.
Leonardo,
Thanks for the response. I was able to extract the GPS coordinates in the format you described in your response; however, is there a way to get the format in a cleaner/nicer format?
Thanks,
I don´t know. Usually this way is easy enough to extract the coordinates, i really don´t know if there is a easier way.
Are you connected to Pixhawk vis MAVlink?
Thanks
I'm confused. You first said you couldn't get the tlog, and now you say you can get the tlog but it's got too much data?
Sorry for the whole confusion and thanks again for the response. This is what I am able to do. I am able get the text file and convert it to a CVS file. When I opened it in Excel, I do get to see a lot of data, but the GPS coordinates are not there. I tried to follow the following link I found in the forum -- http://diydrones.com/forum/topics/extract-gps-data-from-pixhawk-log. But still, I am not able to get any GPS coordinates. In mission Planner, I set log bitmask to GPS.
The main parameters I would like to extract are GPS coordinates and time stamp. Any idea what I might not be doing right? I am using Pixhawk.
Thanks