Skip to content

Commit 060e019

Browse files
committed
Improved Ground Side rendering for x86
1 parent 63383b1 commit 060e019

3 files changed

Lines changed: 278 additions & 66 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ star6e: version.h
6060
native: version.h
6161
$(eval SDK = ./sdk/gk7205v300)
6262
$(eval CFLAGS += -D_x86)
63-
$(eval LIB = -lcsfml-graphics -lcsfml-window -lcsfml-system `pkg-config --libs cairo x11` -lm)
63+
$(eval LIB = -lcsfml-graphics -lcsfml-window -lcsfml-system `pkg-config --libs cairo x11 xext` -lXext -lm)
6464
$(eval BUILD = $(CC) $(SRCS) -I $(SDK)/include -L $(DRV) $(CFLAGS) $(LIB) -levent_core -O0 -g -o $(OUTPUT))
6565
$(BUILD)
6666

6767
rockchip: version.h
6868
$(eval SDK = ./sdk/gk7205v300)
6969
$(eval CFLAGS += -D__ROCKCHIP__)
70-
$(eval LIB = `pkg-config --libs cairo x11` -lm -lrt)
70+
$(eval LIB = `pkg-config --libs cairo x11 xext` -lXext -lm -lrt)
7171
$(eval BUILD = $(CC) $(SRCS) -I $(SDK)/include -L $(DRV) $(CFLAGS) $(LIB) -levent_core -O0 -g -o $(OUTPUT))
7272
$(BUILD)

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ On the cam msposd can be started like this to forward via port 14550 (default ma
217217
```msposd --channels 7 --master /dev/ttyS2 --baudrate 115200 --out 127.0.0.1:14550 --matrix 11 --ahi 3 -r 30```
218218
On the ground:
219219
```msposd --master 127.0.0.1:14550 --osd -r 50 --ahi 3 --matrix 11 -v```
220-
Use ALT+Up/Down Arrow to center the AHI over horizon.
220+
Alt + Up/Down: increases/decreases AHI_TiltY so that the AHI can be aligned to real horizon
221+
Alt + Right/Left: increases/decreas AHI_HorizonSpacing that controls the ladder steps at 10 degree (camera Zoom/focal length)
222+
Current settings are stored locally per FC Id
221223

222224
### Diagnosing
223225
Q: _I see a static map of all characters on the screen but no realtime OSD_.

0 commit comments

Comments
 (0)