This page it sample codes and web pages for MQTT API connecting to Doog Navigation Engine(DNE). Only for development/test use.
If actual operation to be adopted to customer, the web host or broker should be provided by the integrator.
This page is linked with github page: https://github.com/DoogInc/sample-app
Please connect to MQTT broker and set/get serial number.
The autostart app will activated after 10 seconds of the DNE boot up. Please place html file to /data/html/autostart.html.
autostart.html will be load by chromium version 43.0.2357.130 Ubuntu 14.10.
If you are using samples not on DNE4.8 but DNE5 or later, please change the "../app/style.css" reference to "../default.css".
Pre-Installed Samples/API release note
DNE5.1.7.1.0-v20240901Not release/install version for Thozuer E-series
[What's New for MQTT API and Web bases UI application]
All font size specifications have been changed to include both vmin and dvmin.
DNE5.1.1.4.0-v20240626Not release/install version for Thozuer E-series (more stable than DNE5.1.1.*.*)
[What's New for MQTT API and Web bases UI application]
List of the Highway-Multi-Button and Advanced-LineTrace, the 700-707 were changed to the 000-007.
The "client_dne_lib.js" has been modified, and most sample apps now use subscribeParsed() instead of subscribeParse().
The Advanced-LineTrace adds color coding based on highway-marker scores. Additionally, the use of subscribeParsed() was incomplete and fixed.
DNE changed. When the joystick module's power button was pressed to terminate normally, "applicationWorking" was notified as #default, but this has been changed to #start. The purpose is to set all IO3-5 to L when there is no error, and turn off the melody device and indicator light.
The font size specification has been changed from vmin to dvmin. (from CSS3 to CSS4) But, app-userInput-stkick has been changed to vmin and dvmin. (DNE5.1.4.0.0)
Tweaked drop-down lists for iPad.
DNE5.0.1.1.0-v20240301Not release/install version for Thozuer E-series (more stable than DNE5.0.1.0.0-v20240225)
[What's New for MQTT API and Web bases UI application]
MemoryTrace's commands, "memory-start-cancel" restored and deprecated. "memory-start" and "memory-cancel" are recommended.
app-userInput-stick.html solves the problem of models (such as Mecharon) where the speed mode is reset by the joystick manual function.
DNE5.0.0.0.0-v20240115Not release/install version for Thozuer E-series
[What's New for MQTT API and Web bases UI application]
The calculation of Highway Code Marker quality score has been changed, recommended value change to 70 or higher(previous version was 100 or higher).
Previously, "style.css" was placed in the same directory as the sample app, but from now on it will be referenced as "../default.css" in the directory one level above.
MemoryTrace's commands, "memory-start-cancel" has been removed. However, it will be restored and deprecated in the next version.
New command "memory-start" added for start memorize. If memorize is already in progress, it cancels and starts a new memorize.
DNE now supports DNS. The nameserver refers to 192.168.212.50, so set DNE to the router setting.
New MQTT topic 0/THOUZER_HW/[robot_serial]/indicator/app added, to provide alarm, alert, and error information.
If #success and #alert are not issued when the application ends, #end will be issued, and #successHold will be issued for Memorized Hold.
Some items has been added to the /event/app topic to notify the line-trace navigation status.
Solved the minor bug of autostart JS app. Added a procedure to the beep() function in client_dne_lib.js to prevent the sound from playing from the browser terminal.
A command has been added that does not sound beep on the DNE side related to #ext345. (The command is used in the Additional autostart Sample above.
client_dne_lib.js can now support encrypted SSL. Please write wss:// before the server address. You can use terminal or web server which limited to HTTPS.
However, DNE's MQTT client is not supported SSL, so please use a broker that supports both TCP and SSL connections.