文章目录
前言
此面板允许在机载 OSD 屏幕上显示业余无线电呼号(或任何其他单个字符串)。它将从 SD 卡根目录下名为“callsign.txt”的文件中读取字符串。
5 呼号面板
此面板允许在机载 OSD 屏幕上显示业余无线电呼号(或任何其他单个字符串)。它将从 SD 卡根目录下名为“callsign.txt”的文件中读取字符串。请注意,默认的 ardupilot 字符集需要使用大写字母才能正确显示。使用 MAVftp 是一种方便的选择,可以将文件上传到 SD 卡,而无需将其从飞行控制器中物理删除。
!Note
你将在固件 4.1 及更高版本中找到此功能。
6 用户可编程警告
可以设置多个用户定义的警告,当达到或超过警告级别时,这些警告将闪烁相应的 osd 面板项。
- OSD_W_BATVOLT-如果低于此值,电池电压面板将闪烁。0-100V,精度可达十分之一伏;
- OSD_W_RSSI-如果小于此整数百分比值,则 RSSI 面板闪烁。0-99%;
- OSD_W_NSAT-如果小于此数字,则闪烁 #Sat 面板。0-30。
7 使用SITL测试OSD
OSD 功能可以在没有自动驾驶仪或视频硬件的情况下,使用软件在环(SITL)模拟器设置进行测试(Software In The Loop (SITL) simulator)。按照 SITL 说明设置仿真环境。在当前源代码上运行模拟器。
通过在 sim_vehicle.py 中添加以下选项,可以在单独的窗口中打开图形 OSD 模拟:
--osd
现在可以通过参数设置和配置模拟 OSD。
!Tip
要查看所有可用选项,请键入:
./sim_vehicle.py -help
8 OSD面板列表
Panel Name |
Description |
ALTITUDE |
Altitude above Home |
BAT_VOLT |
Primary Battery Voltage |
RSSI |
RC Received Signal Strength |
CURRENT |
Primary Battery Current |
BATUSED |
Consumed Battery Capacity |
SATS |
Number of GPS Satellites |
FLTMODE |
Flight Mode |
MESSAGE |
GCS Messages |
GSPEED |
Ground Speed |
HORIZON |
Artificial Horizon |
HOME |
Distance and Direction to Home |
HEADING |
Magnetic Heading |
THROTTLE |
Throttle Percentage |
COMPASS |
Compass Rose |
WIND |
Wind Speed and Direction |
ASPEED |
System Airspeed |
VSPEED |
Climb Rate |
ESCTEMP |
ESC Temperature (if ESC Telem available, ESC used is selected by OSDx_ESC_IDX) |
ESCRPM |
ESC RPM (if ESC Telem available, ESC used is selected by OSDx_ESC_IDX) |
ESCAMPS |
ESC Current (if ESC Telem available, ESC used is selected by OSDx_ESC_IDX) |
GPSLAT |
GPS Latitude |
GPSLONG |
GPS Longitude |
ROLL |
Roll degrees |
PITCH |
Pitch degrees |
TEMP |
Baro Temperature |
HDOP |
GPS HDOP |
WAYPOINT |
Next Waypoint Distance and Direction |
XTRACK |
Cross Track Error |
DIST |
Total Distance Traveled |
STATS |
Statistics Summary |
FLTIME |
Elasped Time in Flight |
CLIMBEFF |
Climb Efficiency |
EFF |
Efficiency |
BTEMP |
2nd Baro Temperature |
ATEMP |
Airspeed Temperature |
BAT2_VLT |
Second Battery Voltage |
BAT2USED |
Second Battery Consumption |
ASPD2 |
Airspeed sensor 2 |
ASPD1 |
Airspeed sensor 1 |
CLK |
Local Time of Day |
SIDEBARS |
Speed/Alt Sidebars |
CRSSHAIR |
Artificial Horizon Crosshair |
HOMEDIST |
Distance to HOME (MSPOSD only) |
HOMEDIR |
Direction to HOME (MSPOSD only) |
POWER |
Power (MSPOSD only) |
CELLVOLT |
Calculated Cell Voltage for Primary Battery (MSPOSD only) |
BATTBAR |
Battery Health Bar (MSPOSD only) |
ARMING |
Arming Status (MSPOSD only) |
PLUSCODE |
Open Location Code (if feature is enabled in firmware) |
CALLSIGN |
Callsign from SD card callsign.txt |
CURRENT2 |
2nd Battery Current |
VTX_PWR |
Video TX power setting |
TER_HGT |
Altitude above Terrain |
AVGCELLV |
Calculated Cell Voltage for Primary Battery |
RESTVOLT |
Calculated Resting Voltage for Primary Battery |
FENCE |
FENCE enabled status |
RNGF |
Rangefinder Distance |
ACRVOLT |
Calculated Cell Resting Voltage for Primary Battery |
LINK_Q |
RC Link Quality |
RPM |
Rpm reported from RPM sensor |
FENCE |
Fence(s) enabled/disabled status |
RC_PWR |
CRSF RX link transmit power (if “OSD panels with extended link stats data” feature enabled in a custom build) |
RSSIDBM |
CRSF RSSI in dBm (if “OSD panels with extended link stats data” feature enabled in a custom build) |
RC_SNR |
CRSF RC SNR (if “OSD panels with extended link stats data” feature enabled in a custom build) |
RC_ANT |
CRSF active antenna (if “OSD panels with extended link stats data” feature enabled in a custom build) |
RC_LQ |
CRSF Link Quality (if “OSD panels with extended link stats data” feature enabled in a custom build) |