In automotive lab 007_mrr demo, there is a task MRR_MSS_mmWaveCtrlTask. I am not very clear what this task is used for? Can you please explain little bit what is the major function of this task in the demo, which user interface is related with this task, is there any impact if we remove this task?
... /***************************************************************************** * Launch the mmWave control execution task * - This should have a higher priroity than any other task which uses the * mmWave control API *****************************************************************************/ Task_Params_init(&taskParams); taskParams.priority = 6; taskParams.stackSize = 3*1024; Task_create(MRR_MSS_mmWaveCtrlTask, &taskParams, NULL); ... * @b Description * @n * This is the task which provides an execution context for * the mmWave control module. * * @param[in] arg0 * Argument0 with which the task was created * @param[in] arg1 * Argument1 with which the task was created * * @retval * Not Applicable. */ static void MRR_MSS_mmWaveCtrlTask (UArg arg0, UArg arg1) { int32_t errCode; while (1) { /* Execute the mmWave control module: */ if (MMWave_execute (gMrrMSSMCB.ctrlHandle, &errCode) < 0) { System_printf ("Error: mmWave control execution failed [Error code %d]\n", errCode); } } }
Kind regards