You need to be a member of diydrones to add comments!
This reply was deleted.
Activity
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
RT @Heavy02011: @diyrobocars Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ @f1tenth @DAVGtech @DWalmroth…
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time
Le…
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
An interesting line-following simulator to use with with your robocars:
https://github.com/ron-grant/LFS
An improved version of the @IntelAIResearch OpenBot:
https://diyrobocars.com/2020/12/14/an-improved-version-of-the-intel-openbot/
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