ArduPilot / ArduPilot/UAVLogViewer

Cannot Plot AOA.AOA

Open
#425 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
258
Forks
296
PR merge metrics
No merged PRs in 30d

Description

I'm guessing there is an issue when a field has the same name as the message. When I try to plot AOA.AOA, I get `TypeError: Cannot read properties of undefined (reading '0')`
![image](https://github.com/user-attachments/assets/3ae750f8-6d75-42f0-b3cf-3f2f676b4314)

If I hack the format descriptor in a hex editor, to change that field name to Ang instead, I can plot AOA.Ang no problem:
![image](https://github.com/user-attachments/assets/c4bd16eb-bf13-4927-9df1-9cd0ace79947)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by loading the supplied log and plotting AOA.AOA, then compare it with the descriptor renamed to Ang. Trace the undefined value involved in plotting the original field name; done means AOA.AOA plots without the TypeError while retaining its original name.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.