Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fraktal-sb
Copy link
Contributor

@fraktal-sb fraktal-sb commented Feb 2, 2025

File:
This commit is based on description and discussion on #1643

Within the map FLARM- targets are colour coded. Blue means "above", green means "below" and violet means "same height".

The targets in the radar display (small and big) become now the same colours.

The original colour "blue" in the radar display indicated the selected target (i.e. by tapping on it on the touchscreen). Also the upper left field with the FlarmID or call-sign was displayed within this blue colour. Now this blue colour is no more used.The selected target is visually marked by a bold border line.

The original radar classified the targets into 2 types (passive- with engines) and active (gliders,para-gliders).

The text beside the targets shows height or sink/ascend- rate. It was originally coded in grey colour. Because the used blue and grey colour colour is no more used the text beside the FLARM- target is no more necessary to render with a shadow (it was necessary in "Dark Mode" because grey on a black background is badly visible).

The border of map targets "below" and "above" is originally programmed in /src/Renderer/TrafficRenderer.cpp and is only 50 Meters above and below. This range was now also used within the radar display. This is a bit narrow and should be changed in future.

@fraktal-sb fraktal-sb requested a review from a team as a code owner February 2, 2025 18:28
@fraktal-sb fraktal-sb changed the title This commit is based on description and discussion on: FLARM Target Colours in Radar Display Feb 3, 2025
Copy link
Member

@lordfolken lordfolken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So i like the improvment. Please have a look at my comment concerning the 50m separation.

The other thing:
Please reword your commits to the following:
File:
(on a new line) the reasoning behind.

Also the second one seems to be a fixup commit for the first, please mend it in.

You can use git rebase -i HEAD~2 to interactivily update the commits, then do a git push --force to this branch.

@lordfolken lordfolken added this to the v7.44 milestone Feb 7, 2025
@lordfolken lordfolken linked an issue Feb 7, 2025 that may be closed by this pull request
@fraktal-sb
Copy link
Contributor Author

Rebase done as above

…ency

This commit is based on description and discussion on:
XCSoar#1643
Within the map FLARM- targets are colour coded. Blue means "above", green
means "below" and violet means "same height" The targets in the radar display
(small and big) become now the same colours. The original colour "blue" in
the radar display indicated the selected target (i.e. by tapping on it on the
touchscreen). Also the upper left field with the FlarmID or callsign was
displayed within this blue colour. Now this blue colour is no more used. The
selected target is visualy marked by a bold border line. The original
radar classified the targets into 2 types (passive- with engines) and active
(gliders,para-gliders) The text beside the targets shows height or
sink/ascend- rate. It was originaly coded in grey colour. Because the used
blue and grey colour colour is no more used the text beside the FLARM- target
is no more necessary to render with a shadow (it was necessary in "Dark Mode"
because grey on a black background is badly visible). The border of map targets
"below" and "above" is originaly programmed in /src/Renderer/TrafficRenderer.cpp
this is only 50 Meters above and below. This range was now also used within the
radar display. This is a bit narrow and should be changed in future.
@lordfolken lordfolken merged commit 68855aa into XCSoar:master Feb 9, 2025
1 of 2 checks passed
@fraktal-sb fraktal-sb deleted the std001 branch February 11, 2025 17:44
@fraktal-sb
Copy link
Contributor Author

fraktal-sb commented Apr 8, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Different Flarm target colours in map and radar display

2 participants