Proposal "Handling VR help requests when app does not send VR help pr…#1
Proposal "Handling VR help requests when app does not send VR help pr…#1GetmanetsIrina wants to merge 5 commits intomasterfrom
Conversation
| @@ -0,0 +1,68 @@ | |||
| ``` | |||
There was a problem hiding this comment.
@GetmanetsIrina please remove this line with quotes from first and last lines of file. Because formatting will not work in this case
There was a problem hiding this comment.
@GetmanetsIrina Can't see that this was done as formatting still did not work
| @@ -0,0 +1,68 @@ | |||
| ``` | |||
| # Feature name | |||
There was a problem hiding this comment.
@GetmanetsIrina please enter your feature name
| ## Motivation | ||
|
|
||
| If there is no SetGlobalProperties issued, the default help item list will be populated by command list shared by Voice module or by default values from .ini file. If App issues a SetGlobalProperties with help item list, then this list will have precedence and it will be displayed on HMI. | ||
| We imagine cases when app does not provide VRHelps item and VRHelpTitle, so in such case help information will be empty. |
There was a problem hiding this comment.
@GetmanetsIrina propose:
In terms of this proposal will be considered a case when app does not provide VRHelp and VRHelpTitle parameters. In this case help information will be empty.
There was a problem hiding this comment.
Changed locally with comment "Instead of "We imagine cases when app does not provide VRHelps item and VRHelpTitle"
better to write
"But there is no guarantee that Application provide VRHelps and VRHelpTitle, and possible situation when driver couldn't use Voice Recognition""
| ## Proposed solution | ||
|
|
||
| The solution proposed here is to implement new SDL behavior: | ||
| 1. In case mobile app does NOT send SetGlobalProperties_request at all with <vrHelp> and <helpPrompt> during 10 sec timer and this mobile app has NO registered AddCommands and/or DeleteCommands requests (resumed during data resumption). |
There was a problem hiding this comment.
@GetmanetsIrina propose:
SetGlobalProperties request with and at all during...
There was a problem hiding this comment.
@GetmanetsIrina ,
not clear about timer - during 10 sec timer from what event
I suppose that event is App registeration, but need to correct
There was a problem hiding this comment.
Changed locally. Added 'Information' info related to starting timer.
| ## Proposed solution | ||
|
|
||
| The solution proposed here is to implement new SDL behavior: | ||
| 1. In case mobile app does NOT send SetGlobalProperties_request at all with <vrHelp> and <helpPrompt> during 10 sec timer and this mobile app has NO registered AddCommands and/or DeleteCommands requests (resumed during data resumption). |
There was a problem hiding this comment.
@GetmanetsIrina :
AddCommand and/or DeleteCommand requests
Please check in all file
| SDL must provide the default values of <helpPrompt> and <vrHelp> to HMI. | ||
| 2. In case mobile app successfully registers and gets any HMILevel other than NONE OR changes it`s level from NONE to any other (in case of HMILevel resumption or activation). | ||
| SDL must create internal list with "vrHelp" and "helpPrompt" based on successfully registered AddCommands and/or DeleteCommands requests (resumed within data resumption process) | ||
| start 10 sec timer right after assigning HMI level different from NONE for registered app for waiting SetGlobalProperties_request from mobile app. SDL must start this 10 sec timer only once in case of app registration OR after HMILevel resumption OR activation after registration. |
There was a problem hiding this comment.
@GetmanetsIrina SetGlobalProperties_request - please remove underscope between words. Check this in all file.
There was a problem hiding this comment.
@GetmanetsIrina , please use either App or Application or application through the doc.
| SDL must create internal list with "vrHelp" and "helpPrompt" based on successfully registered AddCommands and/or DeleteCommands requests (resumed within data resumption process) | ||
| start 10 sec timer right after assigning HMI level different from NONE for registered app for waiting SetGlobalProperties_request from mobile app. SDL must start this 10 sec timer only once in case of app registration OR after HMILevel resumption OR activation after registration. | ||
| 3. In case mobile app sends SetGlobalProperties_request during 10 sec timer with: valid <helpPrompt> and <vrHelp> params, other valid params related to this RPC. | ||
| SDL must transfer TTS.SetGlobalProperties (<helpPrompts>, params) with adding period of silence between each command "helpPrompt" to HMI transfer UI.SetGlobalProperties (<vrHelp, params>) to HMI respond with <resultCode_received_from_HMI> to mobile app. |
There was a problem hiding this comment.
@GetmanetsIrina propose to format all this actions as a list or separate them using ,
| start 10 sec timer right after assigning HMI level different from NONE for registered app for waiting SetGlobalProperties_request from mobile app. SDL must start this 10 sec timer only once in case of app registration OR after HMILevel resumption OR activation after registration. | ||
| 3. In case mobile app sends SetGlobalProperties_request during 10 sec timer with: valid <helpPrompt> and <vrHelp> params, other valid params related to this RPC. | ||
| SDL must transfer TTS.SetGlobalProperties (<helpPrompts>, params) with adding period of silence between each command "helpPrompt" to HMI transfer UI.SetGlobalProperties (<vrHelp, params>) to HMI respond with <resultCode_received_from_HMI> to mobile app. | ||
| 4. In case SDL already transfers UI/TTS.SetGlobalProperties with <vrHelp> and <helpPrompt> received from mobile app to HMI and 10 sec timer is NOT expired yet and mobile app sends AddCommand and/or DeleteCommand requests to SDL. |
There was a problem hiding this comment.
@GetmanetsIrina please remove extra space between "app to HMI and 10 sec timer"
| 7. In case mobile app sends SetGlobalProperties_request during 10 sec timer without <helpPrompt> and/or <vrHelp> params and with other valid params related to this RPC and this mobile app has successfully registered VR.AddCommands and/or VR.DeleteCommands requests (resumed during data resumption). | ||
| SDL must provide the value of <helpPrompt> and/or <vrHelp> from internal list based on registered VR.AddCommands and VR.DeleteCommands requests to HMI. | ||
| 8. In case mobile app does NOT send SetGlobalProperties with <vrHelp> and <helpPrompt> to SDL during 10 sec timer and SDL already sends by itself UI/TTS.SetGlobalProperties with values of <vrHelp> and <helpPrompt> to HMI and SDL does NOT receive response from HMI at least to one TTS/UI.SetGlobalProperties during <DefaultTimeout> (the value defined at .ini file). | ||
| SDL must log corresponding error internally continue work as assigned (due to existing requirements). |
There was a problem hiding this comment.
@GetmanetsIrina
log corresponding error internally and continue work as expected according to existing requirements
There was a problem hiding this comment.
@GetmanetsIrina , suggest to remove entire sentence in ()
|
|
||
| ## Impact on existing code | ||
|
|
||
| Application of described solution will impact on SDL behavior ralated to app registration with changing HMI level from NONE, resumption procedure. |
There was a problem hiding this comment.
@GetmanetsIrina could be rephrased just as:
Application registration process, data resumption procedure.
|
|
||
| ## Introduction | ||
|
|
||
| VRHelp items and VRHelpTitle are set by SetGlobalProperties for helping user to make voice navigation over registered application, what is very usefull in case your hands are busy with driving. |
There was a problem hiding this comment.
After this one sentence it;s good to add oanther one.
"Safety requirements are very strong in automotive, so possibility to use Voice Recognition should be provided for driver all the time"
I introduction we need to concentrate on issue we have to fix.
| ## Motivation | ||
|
|
||
| If there is no SetGlobalProperties issued, the default help item list will be populated by command list shared by Voice module or by default values from .ini file. If App issues a SetGlobalProperties with help item list, then this list will have precedence and it will be displayed on HMI. | ||
| We imagine cases when app does not provide VRHelps item and VRHelpTitle, so in such case help information will be empty. |
There was a problem hiding this comment.
Instead of "We imagine cases when app does not provide VRHelps item and VRHelpTitle"
better to write
"But there is no guarantee that Application provide VRHelps and VRHelpTitle, and possible situation when driver couldn't use Voice Recognition"
|
|
||
| If there is no SetGlobalProperties issued, the default help item list will be populated by command list shared by Voice module or by default values from .ini file. If App issues a SetGlobalProperties with help item list, then this list will have precedence and it will be displayed on HMI. | ||
| We imagine cases when app does not provide VRHelps item and VRHelpTitle, so in such case help information will be empty. | ||
| The reason of proposal to add SDL logic related to adding values for VRHelp item and VRHelpTitle in case they are not provided by application. |
There was a problem hiding this comment.
@GetmanetsIrina , sound a little bit strange for americans
"The reason of proposal to add SDL logic related to adding values for VRHelp item and VRHelpTitle"
to
"The reason of proposal to add logic of adding default values for VRHelp item and VRHelpTitle"
There was a problem hiding this comment.
Changed locally to "The reason of proposal to add logic of adding values for VRHelp item and VRHelpTitle"
|
|
||
| ## Proposed solution | ||
|
|
||
| The solution proposed here is to implement new SDL behavior: |
There was a problem hiding this comment.
@GetmanetsIrina ,
suggest to rephrase
"The solution proposed here is to implement new SDL behavior:"
to
"The solution proposed here is to implement next items:"
| ## Proposed solution | ||
|
|
||
| The solution proposed here is to implement new SDL behavior: | ||
| 1. In case mobile app does NOT send SetGlobalProperties_request at all with <vrHelp> and <helpPrompt> during 10 sec timer and this mobile app has NO registered AddCommands and/or DeleteCommands requests (resumed during data resumption). |
There was a problem hiding this comment.
@GetmanetsIrina ,
not clear about timer - during 10 sec timer from what event
I suppose that event is App registeration, but need to correct
| SDL must provide the default values of <helpPrompt> and <vrHelp> to HMI. | ||
| 2. In case mobile app successfully registers and gets any HMILevel other than NONE OR changes it`s level from NONE to any other (in case of HMILevel resumption or activation). | ||
| SDL must create internal list with "vrHelp" and "helpPrompt" based on successfully registered AddCommands and/or DeleteCommands requests (resumed within data resumption process) | ||
| start 10 sec timer right after assigning HMI level different from NONE for registered app for waiting SetGlobalProperties_request from mobile app. SDL must start this 10 sec timer only once in case of app registration OR after HMILevel resumption OR activation after registration. |
There was a problem hiding this comment.
@GetmanetsIrina , please use either App or Application or application through the doc.
| 7. In case mobile app sends SetGlobalProperties_request during 10 sec timer without <helpPrompt> and/or <vrHelp> params and with other valid params related to this RPC and this mobile app has successfully registered VR.AddCommands and/or VR.DeleteCommands requests (resumed during data resumption). | ||
| SDL must provide the value of <helpPrompt> and/or <vrHelp> from internal list based on registered VR.AddCommands and VR.DeleteCommands requests to HMI. | ||
| 8. In case mobile app does NOT send SetGlobalProperties with <vrHelp> and <helpPrompt> to SDL during 10 sec timer and SDL already sends by itself UI/TTS.SetGlobalProperties with values of <vrHelp> and <helpPrompt> to HMI and SDL does NOT receive response from HMI at least to one TTS/UI.SetGlobalProperties during <DefaultTimeout> (the value defined at .ini file). | ||
| SDL must log corresponding error internally continue work as assigned (due to existing requirements). |
There was a problem hiding this comment.
@GetmanetsIrina , suggest to remove entire sentence in ()
| 8. In case mobile app does NOT send SetGlobalProperties with <vrHelp> and <helpPrompt> to SDL during 10 sec timer and SDL already sends by itself UI/TTS.SetGlobalProperties with values of <vrHelp> and <helpPrompt> to HMI and SDL does NOT receive response from HMI at least to one TTS/UI.SetGlobalProperties during <DefaultTimeout> (the value defined at .ini file). | ||
| SDL must log corresponding error internally continue work as assigned (due to existing requirements). | ||
| 9. In case mobile app does NOT send SetGlobalProperties with <vrHelp> and <helpPrompt> to SDL during 10 sec timer and SDL already sends by itself UI/TTS.SetGlobalProperties with values of <vrHelp> and <helpPrompt> to HMI and SDL receives any <errorCode> in response from HMI at least to one TTS/UI.SetGlobalProperties. | ||
| SDL must log corresponding error internally continue work as assigned (due to existing requirements). |
There was a problem hiding this comment.
@GetmanetsIrina , suggest to remove entire sentence in ()
| @@ -0,0 +1,68 @@ | |||
| ``` | |||
There was a problem hiding this comment.
@GetmanetsIrina Can't see that this was done as formatting still did not work
6a5fbc9 to
d5baf9c
Compare
|
|
||
| ## Introduction | ||
|
|
||
| "vrHelp" items and "helpPrompt" are set by SetGlobalProperties for helping user to make voice navigation over registered application, what is very useful in case your hands are busy with driving. |
There was a problem hiding this comment.
- I think its good to decrypt VR first. Otherwise reader may guess is it Virtual Reality, Video Recording or something else
- VRHelp, VRHelpTitle need to be described, what do they basically define
- would be good to link SetGlobalProperties to the MOBILE_API.xml e.g. SetGlobalProperties
|
|
||
| ## Motivation | ||
|
|
||
| If there is no SetGlobalProperties issued, the default help item list will be populated by command list shared by Voice module or by default values from .ini file. If application issues a SetGlobalProperties with help item list, then this list will have precedence and it will be displayed on HMI. |
There was a problem hiding this comment.
- I think it should be "the default help items list will be populated with command list sent to voice module or with default values from smartDeviceLink.ini (link to the line in the file) file"
- then this list will have precedence over default values ...
- The purpose of proposal is to implement logic for default values of ...
| ## Proposed solution | ||
|
|
||
| The solution proposed here is to implement next items: | ||
| 1. In case mobile application does NOT send SetGlobalProperties request with "vrHelp" and "helpPrompt" at all during 10 sec timer and this mobile application has NO registered AddCommand and/or DeleteCommand requests (resumed during data resumption). |
There was a problem hiding this comment.
- ..
at allduring 10 seconds from its registrationtimer - has NO registered AddCommand and/or DeleteCommand requests - I suppose you meant "there are no registered VR commands (received with AddCommand request(s))" ?
| The solution proposed here is to implement next items: | ||
| 1. In case mobile application does NOT send SetGlobalProperties request with "vrHelp" and "helpPrompt" at all during 10 sec timer and this mobile application has NO registered AddCommand and/or DeleteCommand requests (resumed during data resumption). | ||
| SDL must provide the default values of "helpPrompt" and "vrHelp" to HMI. | ||
| SDL must start this 10 sec timer only once in case of application registration OR after HMILevel resumption OR activation after registration. |
There was a problem hiding this comment.
@GetmanetsIrina
Better create list of options instead of OR...OR...OR
| SDL must provide the default values of "helpPrompt" and "vrHelp" to HMI. | ||
| SDL must start this 10 sec timer only once in case of application registration OR after HMILevel resumption OR activation after registration. | ||
| 2. In case mobile application successfully registers and gets any HMILevel other than NONE OR changes it's level from NONE to any other (in case of HMILevel resumption or activation). | ||
| SDL must: |
There was a problem hiding this comment.
@GetmanetsIrina
Please use list formatting option e.g.
- first item
- second item
- third item
since the final document view is almost unreadable
| -> update internal list with new values of "vrHelp" and "helpPrompt" params ONLY after successful response from HMI | ||
| -> send updated values of "vrHelp" and "helpPrompt" via TTS UI.SetGlobalProperties to HMI till mobile application sends SetGlobalProperties request with valid "vrHelp" and "helpPrompt" params to SDL. | ||
| 6. In case mobile application has NO registered AddCommand and/or DeleteCommand requests (resumed within data resumption process). | ||
| SDL must use current appName as default value for "vrHelp" parameter, retrieve value of "helpPrompt" from .ini file ([GLOBAL PROPERTIES] section -> "HelpPrompt" param). |
There was a problem hiding this comment.
@GetmanetsIrina
Put link to to specific lines in the file from repository
|
@dev-gh , @AByzhynar , @Itileda , @AKalinich-Luxoft please see commit 1dc6eef |
f9bf15b to
1dc6eef
Compare
| ## Motivation | ||
|
|
||
| If there is no SetGlobalProperties issued, the help items list will be populated with command list sent to voice module or with default values from [smartDeviceLink.ini](https://github.com/smartdevicelink/sdl_core/blob/master/src/appMain/smartDeviceLink.ini#L122) file. If application issues a SetGlobalProperties with help item list, then this list will have precedence and it will be displayed on HMI. | ||
| But there is no guarantee that Application provide "vrHelp" and "helpPrompt", and possible situation when driver couldn't use Voice Recognition. |
There was a problem hiding this comment.
- odd comma after "helpPrompt"
- better to rephrase " .. and it is possible that driver won't be able to use .."
* SendLocation for Mobile Nav This proposal is about extending the capability for apps to receive and service SendLocation requests from other apps which is currently limited to the Head Unit's embedded navigation system. * Updating links to assets * Updated links to assets * Create a * Asset #1 * asset #2 * Delete a * Delete SendLocationForMobileNav_RAI.jpg * Add files via upload * Delete SendLocationForMobileNav_RequestResponse.jpg * Add files via upload * Addressed comments
Proposal "Handling VR help requests when app does not send VR help prompt"