ArduPilot / ArduPilot/MissionPlanner

LogIndex DistanceTraveled heading wrong (Dataflash only)

Open
#2,230 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

#### Issue details
When reading from BIN files, the Distance Heading column shows m, but the actual values are mm - I think just divide by 1 000 000 to correct, it will also fix the issue where it is formatted in scientific notation over 50km (50 000 000 mm).

#### Version
1.3.68

#### Platform
[ ] All
[ ] AntennaTracker
[X] Copter
[X] Plane
[ ] Rover
[ ] Sub

#### Airframe type
Fixed wing

#### Hardware type
_What autopilot hardware was used? (pixhawk, pixracer, PX4FMU etc)_
Pixhawk

#### Logs
Any DATAFLASH log will show this issue (TLOG seems fine)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a DATAFLASH BIN log and inspect the LogIndex Distance Heading handling; the payload does not name a source file or test. Done means BIN values are shown with the correct meter conversion without scientific notation at distances over 50 km, while TLOG behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.