On MP messages terminal appears:
… INFO MissionPlanner.Utilities.Speech - TTS: say Pre Arm: Throttle below Failsafe INFO MissionPlanner.MAVLinkInterface - 25/01/2022 18:21:57 2 PreArm: Hardware safety switch INFO MissionPlanner.CurrentState - messageHigh PreArm: Hardware safety switch INFO MissionPlanner.Utilities.Speech - TTS: say Pre Arm: Hardware safety switch INFO MissionPlanner.MAVLinkInterface - 25/01/2022 18:21:57 2 PreArm: Bad GPS Position INFO MissionPlanner.CurrentState - messageHigh PreArm: Bad GPS Position INFO MissionPlanner.Utilities.Speech - TTS: say Pre Arm: Bad GPS Position INFO MissionPlanner.MAVLinkInterface - 25/01/2022 18:21:57 2 PreArm: Proximity 180 deg, 0.33m (want > 0.6m) INFO MissionPlanner.CurrentState - messageHigh PreArm: Proximity 180 deg, 0.33m (want > 0.6m) INFO MissionPlanner.Utilities.Speech - TTS: say Pre Arm: Proximity 180 deg, 0.33 meters (want > 0.6 meters)
…
Nothing is heard.
festival works, as shown with: $ echo Hola|festival --tts --language spanish
I think MP speech is tied to whatever Windows uses for Text to Speech - so it may not work on Ubuntu. I vaguely remember seeing this somewhere, but I could be mistaken.
Certainly, in Windows version the TTS: say messages are similar. But here on the installation script:
# Install new packages
PACKAGES=“apt-transport-https
dirmngr gnupg ca-certificates
festival”
So if festival is required, it is for speech, but if it should work now is a mistery.
As a simple test, I renamed festival:
… INFO MissionPlanner.MAVLinkInterface - 25/01/2022 22:24:06 2 PreArm: Throttle below Failsafe INFO MissionPlanner.CurrentState - messageHigh PreArm: Throttle below Failsafe INFO MissionPlanner.Utilities.Speech - TTS: say Pre Arm: Throttle below Failsafe INFO MissionPlanner.MAVLinkInterface - 25/01/2022 22:24:06 2 PreArm: Hardware safety switch INFO MissionPlanner.CurrentState - messageHigh PreArm: Hardware safety switch INFO MissionPlanner.Utilities.Speech - TTS: say Pre Arm: Hardware safety switch
…
Of course, no sound as before, but no error is indicated, so who knows…
Here is a capture of an area containing both QGC and MP in Ubuntu connected to the same SITL session on other computer (MacOS), captured with sound:
Mode is repeatedly changed from MP (mode changes seen on both). QGC sound is heard, but nothing from MP (it has speech enabled with UI Language English (United States)).
On __Mission Planner__MissionPlanner.log: 2022-02-19 10:16:22,822 INFO MissionPlanner.Utilities.Speech - TTS: init, mono = True (:0) [Base Thread] 2022-02-19 10:16:22,857 INFO MissionPlanner.MainV2 - change lang to en-US current es-ES (:0) [Base Thread]
Some mode change lines on other logs: 2022-02-18 13:06:15,183 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to Stabilize (:0) [Thread Pool Worker] 2022-02-18 13:06:19,478 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to Acro (:0) [Thread Pool Worker] 2022-02-18 13:06:23,798 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to AltHold (:0) [Thread Pool Worker] 2022-02-18 13:06:31,023 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to Stabilize (:0) [Thread Pool Worker] 2022-02-18 13:06:36,193 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to AltHold (:0) [Thread Pool Worker] 2022-02-18 13:06:40,314 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to Auto (:0) [Thread Pool Worker] 2022-02-18 13:06:45,238 INFO MissionPlanner.Utilities.Speech - TTS: say Mode changed to Guided (:0) [Thread Pool Worker]
Mode is repeatedly changed from MP (mode changes seen on both). QGC voice is heard in english, and MP in spanish (it has speech enabled with UI Language Español (España)).
On version Ubuntu 1.3.76 build 1.3.8029.15962, pressing button Help – Check for BETA Updates I get 403:
On terminal:
INFO MissionPlanner.Utilities.Update - get checksums https://ci.appveyor.com/api/projects/meee1/missionplanner/artifacts/checksums.txt?tag=beta - base https://ci.appveyor.com/api/projects/meee1/missionplanner/artifacts/MissionPlannerBeta.zip?tag=beta
ERROR MissionPlanner.Utilities.Update - Update Failed
System.Net.Http.HttpRequestException: Response status code does not indicate success: 403 (Forbidden).
No success trying to change beta upgrade towards GitHub copying related lines from Windows MissionPlanner.exe.config.
Finally I copied all Windows Mission Planner directory to a pendrive and executed from it: mono MissionPlanner.exe.
Version showed was 1.3.76 build 1.3.8085.41430. Speech was heard at last!Here is a .tlog file being reproduced:
However, here MP has speech enabled with UI Language Español (España)), but the accent is english, so it is hardly understood (with a SITL connection the same happens (also english accent with spanish UI)).
Also, it seems that .tlog delay is hardly noticeable, but more testing is required.
When interrupting it with ^c, there are may files named xx.new (which seem to be unchanged from previous ones).
Also, there are references to appveyor in several xx.config unzipped files, which I wonder if it is correct.