mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
[tools] gen_messages_doc.py: use messages.xml from pprzlink by default
and var/messages.xml for things when it's actually built
This commit is contained in:
@@ -186,7 +186,7 @@ void decode_and_send_to_ivy() {
|
||||
if (want_alive_msg)
|
||||
IvySendMsg("%d ALIVE 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n", ac_id);
|
||||
|
||||
// format has to match declaration in conf/messages.xml
|
||||
// format has to match declaration in var/messages.xml
|
||||
IvySendMsg("%d WEATHER %f %f %f %f %f\n",
|
||||
ac_id, pstatic_Pa, temp_degC, windspeed_mps, winddir_deg, rel_humidity);
|
||||
}
|
||||
|
||||
@@ -362,7 +362,7 @@ void decode_and_send_to_ivy() {
|
||||
rel_humidity = values[RH];
|
||||
}
|
||||
|
||||
// format has to match declaration in conf/messages.xml
|
||||
// format has to match declaration in var/messages.xml
|
||||
IvySendMsg("%d WEATHER %f %f %f %f %f\n",
|
||||
ac_id, pstatic_Pa, temp_degC, windspeed_mps, winddir_deg, rel_humidity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user