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.
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)
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.