Added camera temperature to the OSD

With the new mavfwd of Tipo Man we can now have OSD temperature of the camera.
The -t option will inject the temperature of the camera to the MAVLINK IMU messages and then we will be able to display it on the OSD.
The -p 100 will enable a 3-way switch to be used for changing modes remotely. 
For 6-way switch increase the delay value and setup the transmitter accordingly.
pull/1469/head
MarioFPV 2024-06-12 12:01:41 +01:00 committed by GitHub
parent 6378e80e49
commit f409127462
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ case "$1" in
if [ "$router" -eq 1 ] || [ "$fw" = "lte" ]; then
mavlink-routerd -c /etc/mavlink.conf > /dev/null 2>&1 &
else
mavfwd --channels "$channels" --master "$serial" --baudrate "$baud" -a "$aggregate" \
mavfwd --channels "$channels" --master "$serial" --baudrate "$baud" -p 100 -t -a "$aggregate" \
--out 127.0.0.1:$port_tx --in 127.0.0.1:$port_rx > /dev/null &
fi
if [ "$fw" = "fpv" ] || [ "$fw" = "venc" ]; then