ArduPilot / ArduPilot/MissionPlanner

flightaxis SITL - incorrect current reading when negative values

Open
#2,535 4 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 I'm using SITL with RF9 and flighaxis controller, negative current values in RF9 (when motor is braking) gets false high readings in Mission Planner. This causes false drop in battery percentage. It seems like an issue with signs and flightaxis/MP link.

RF9 current reading (-1.1A):
![unknown](https://user-images.githubusercontent.com/5570527/103976491-234ae100-5177-11eb-8fe2-0dc09ad36b8a.png)

Mission Planner current reading (327,7A):
![unknown2](https://user-images.githubusercontent.com/5570527/103976496-25ad3b00-5177-11eb-82a7-48fa0407b1e2.png)

#### Version
1.3.74.1

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

#### Airframe type
plane, quadplane

#### Hardware type
SITL / flightaxis

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with Plane or quadplane SITL using the FlightAxis controller and an RF9 negative current reading. Trace that value into Mission Planner and verify that negative readings are preserved rather than displayed as approximately 327.7 A, with no resulting false battery-percentage drop.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.