ArduPilot / ArduPilot/MAVProxy

__str__ function for class mp_position broken

Open
#1,125 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

The __str__ function of the class `mp_position` is broken if the members of the class are (still) of type None. Happens for example if the NMEAGPS module has not yet received GGA messageas and the members are all of value None.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the `mp_position` class and inspect its `__str__` function, then reproduce the case where the NMEAGPS module has not received a GGA message and its members remain `None`. Done means string conversion no longer breaks when those values are `None`.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.