ArduPilot / ArduPilot/MissionPlanner
flightaxis SITL - incorrect current reading when negative values
- 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):

Mission Planner current reading (327,7A):

#### 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