






Started logging.

<<<
Content-Length: 3444

{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":3540,"clientInfo":{"name":"vscode","version":"1.53.2"},"rootPath":"g:\\11.ZhiYi\\5.Tutorial\\1.tutorial\\ZYC0043）Four-way tracking and obstacle avoidance following car kit v2.0 tutorial\\ZYC0043-2022.9.8\\4_Arduino_Code\\2_follow","rootUri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow","name":"2_follow"}]}}
>>>
Content-Length: 936

{"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{"includeText":true}},"completionProvider":{"triggerCharacters":[".","\u003c","\u003e",":","\"","/"],"allCommitCharacters":[" ","\t","(",")","[","]","{","}","\u003c","\u003e",":",";",",","+","-","/","*","%","^","\u0026","#","?",".","=","\"","'","|"],"completionItem":{}},"hoverProvider":{},"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":{},"documentHighlightProvider":{},"documentSymbolProvider":{},"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"documentFormattingProvider":{},"documentRangeFormattingProvider":{},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n"},"renameProvider":{},"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"workspaceSymbolProvider":{}},"serverInfo":{"name":"arduino-language-server","version":"0.7.1"}}}
<<<
Content-Length: 52

{"jsonrpc":"2.0","method":"initialized","params":{}}Content-Length: 5146

{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow/2_follow.ino","languageId":"cpp","version":1,"text":"/*************************************\r\n *     TIME:2022.06.25\r\n *     Development Team: Zhiyi Technology Co., Ltd.\r\n * \r\n *  **************************************/\r\n\r\n#include <Servo.h>\r\n#define Trig 12 //Pin Tring connects to D12\r\n#define Echo 13 //Pin Echo connects to D13\r\nfloat cm; //Distance variable\r\n// float temp; //\r\n\r\nint ENA = 5; \r\nint IN1 = 3; \r\nint IN2 = 4;\r\n\r\nint ENB = 6; \r\nint IN3 = 2;\r\nint IN4 = 7;\r\n\r\nint Sensor1 = A2;//pin A2\r\nint Sensor2 = A5;//pin A5\r\n\r\nint SensorLeft;\r\nint SensorRight;\r\n\r\nServo myservo;  // create servo object to control a servo\r\n// twelve servo objects can be created on most boards\r\n\r\nvoid setup()\r\n{\r\n    myservo.attach(A0);  // attaches the servo on pin 9 to the servo object\r\n    //Set the pin mode\r\n    pinMode(ENA, OUTPUT);\r\n    pinMode(IN1, OUTPUT);\r\n    pinMode(IN2, OUTPUT);\r\n\r\n    pinMode(ENB, OUTPUT);\r\n    pinMode(IN3, OUTPUT);\r\n    pinMode(IN4, OUTPUT);\r\n\r\n    pinMode(Sensor1, INPUT);\r\n    pinMode(Sensor2, INPUT);\r\n    pinMode(Trig, OUTPUT);\r\n    pinMode(Echo, INPUT);\r\n    Serial.begin(9600);\r\n    myservo.write(100); \r\n}\r\n\r\nvoid loop()\r\n{\r\n    cm = GetDistance();\r\n\r\n    SensorLeft  =  digitalRead(A2);//The sensor on the left\r\n    SensorRight =  digitalRead(A5);//The sensor on the Right\r\n    \r\n    // If the right sensor detects the signal, the left sensor does not detect the signal, \r\n    // the ultrasonic detection of the obstacle distance between 5cm to 10cm, turn to the right\r\n    if (SensorLeft == HIGH && SensorRight == LOW && ( cm > 5 && cm < 10))\r\n    {\r\n        right();\r\n    }\r\n    else if(SensorLeft == LOW && SensorRight == HIGH&& ( cm >5 && cm <10))\r\n    {\r\n        left();\r\n    }\r\n    else  if(SensorLeft == HIGH && SensorRight == HIGH&&( cm >11 && cm <20))\r\n    {\r\n        forward();\r\n    }\r\n    else if(SensorLeft == HIGH && SensorRight == HIGH && ( cm >20 || cm <3))\r\n    {\r\n        stop();\r\n    }\r\n    else  if((SensorLeft == LOW && SensorRight == LOW)||( cm <5))\r\n    {\r\n        back();\r\n    }\r\n\r\n    if (SensorLeft == LOW)\r\n    {\r\n        myservo.write(160); \r\n    }\r\n    else if (SensorRight == LOW)\r\n    {\r\n        myservo.write(40); \r\n    }\r\n    else \r\n    {\r\n        myservo.write(100); \r\n    }\r\n    \r\n}\r\n\r\n/*\r\nFunction: obtain ultrasonic sensor ranging data\r\nParameters: Trig, Echo\r\nParameter description: sensor connected to the motherboard pin port A4,A5\r\nTrig -------> pin D12\r\nEcho -------> pin D13\r\n*/\r\nfloat GetDistance()\r\n{\r\n    float distance;\r\n    // Send a low short pulse to Trig to trigger the ranging\r\n    digitalWrite(Trig, LOW); //Send a low level to Trig\r\n    delayMicroseconds(2);\r\n    digitalWrite(Trig, HIGH);\r\n    delayMicroseconds(10);\r\n    digitalWrite(Trig, LOW);\r\n    distance = pulseIn(Echo, HIGH) / 58.00;\r\n    \r\n    Serial.print(\"Distance = \");\r\n    Serial.println(distance);//The serial output distance is converted into cm\r\n\r\n\t  return distance;\r\n}\r\n\r\n//turn left\r\nvoid left(){\r\n  //Set the speed of the motor\r\n    analogWrite(ENA, 60);\r\n    analogWrite(ENB, 160);\r\n    //The right forward\r\n    digitalWrite(IN1, LOW);\r\n    digitalWrite(IN2, LOW);\r\n    //The left STOP\r\n    digitalWrite(IN3, HIGH);\r\n    digitalWrite(IN4, LOW);\r\n    Serial.println(\"left\");\r\n  }\r\n//turn right\r\n void right(){\r\n    //Set the speed of the motor\r\n   analogWrite(ENA, 160);\r\n   analogWrite(ENB, 60);\r\n    //The right stop\r\n    digitalWrite(IN1, HIGH);\r\n    digitalWrite(IN2, LOW);\r\n  //The left forward\r\n    digitalWrite(IN3,LOW);\r\n    digitalWrite(IN4,LOW);\r\n     Serial.println(\"right\");\r\n  }\r\n//turn forward\r\n void forward(){\r\n    //FORWARD\r\n    //Set the speed of the motor\r\n     analogWrite(ENA, 130);\r\n     analogWrite(ENB, 130);\r\n     //The right forward\r\n     digitalWrite(IN1, HIGH);\r\n     digitalWrite(IN2,LOW);\r\n     //The left forward\r\n     digitalWrite(IN3, HIGH);\r\n     digitalWrite(IN4, LOW);\r\n     Serial.println(\"forward\");\r\n  }\r\n\r\n//stop\r\n void stop(){\r\n    analogWrite(ENA, 0);\r\n    analogWrite(ENB, 0);\r\n  //set IN1,IN2,IN3,IN4 to LOW\r\n    digitalWrite(IN1,LOW);\r\n    digitalWrite(IN2,LOW);\r\n    digitalWrite(IN3, LOW);\r\n    digitalWrite(IN4, LOW);\r\n     Serial.println(\"stop\");\r\n  \r\n  }\r\n  //back up\r\n   void back(){\r\n    //Set the speed of the motor    \r\n     analogWrite(ENA, 110);\r\n     analogWrite(ENB, 110);\r\n     //The right back\r\n     digitalWrite(IN1, LOW);\r\n     digitalWrite(IN2,HIGH);\r\n     //The left back\r\n     digitalWrite(IN3,LOW);\r\n     digitalWrite(IN4, HIGH);\r\n     Serial.println(\"back\");\r\n  }\r\n"}}}Content-Length: 304

{"jsonrpc":"2.0","id":1,"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow/2_follow.ino"}}}
>>>
Content-Length: 113

{"jsonrpc":"2.0","id":"1","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}Content-Length: 4180

{"jsonrpc":"2.0","id":1,"result":[{"name":"cm","detail":"float","kind":13,"range":{"start":{"line":9,"character":0},"end":{"line":9,"character":8}},"selectionRange":{"start":{"line":9,"character":6},"end":{"line":9,"character":8}}},{"name":"ENA","detail":"int","kind":13,"range":{"start":{"line":12,"character":0},"end":{"line":12,"character":11}},"selectionRange":{"start":{"line":12,"character":4},"end":{"line":12,"character":7}}},{"name":"IN1","detail":"int","kind":13,"range":{"start":{"line":13,"character":0},"end":{"line":13,"character":11}},"selectionRange":{"start":{"line":13,"character":4},"end":{"line":13,"character":7}}},{"name":"IN2","detail":"int","kind":13,"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":11}},"selectionRange":{"start":{"line":14,"character":4},"end":{"line":14,"character":7}}},{"name":"ENB","detail":"int","kind":13,"range":{"start":{"line":16,"character":0},"end":{"line":16,"character":11}},"selectionRange":{"start":{"line":16,"character":4},"end":{"line":16,"character":7}}},{"name":"IN3","detail":"int","kind":13,"range":{"start":{"line":17,"character":0},"end":{"line":17,"character":11}},"selectionRange":{"start":{"line":17,"character":4},"end":{"line":17,"character":7}}},{"name":"IN4","detail":"int","kind":13,"range":{"start":{"line":18,"character":0},"end":{"line":18,"character":11}},"selectionRange":{"start":{"line":18,"character":4},"end":{"line":18,"character":7}}},{"name":"Sensor1","detail":"int","kind":13,"range":{"start":{"line":20,"character":0},"end":{"line":20,"character":16}},"selectionRange":{"start":{"line":20,"character":4},"end":{"line":20,"character":11}}},{"name":"Sensor2","detail":"int","kind":13,"range":{"start":{"line":21,"character":0},"end":{"line":21,"character":16}},"selectionRange":{"start":{"line":21,"character":4},"end":{"line":21,"character":11}}},{"name":"SensorLeft","detail":"int","kind":13,"range":{"start":{"line":23,"character":0},"end":{"line":23,"character":14}},"selectionRange":{"start":{"line":23,"character":4},"end":{"line":23,"character":14}}},{"name":"SensorRight","detail":"int","kind":13,"range":{"start":{"line":24,"character":0},"end":{"line":24,"character":15}},"selectionRange":{"start":{"line":24,"character":4},"end":{"line":24,"character":15}}},{"name":"myservo","detail":"Servo","kind":13,"range":{"start":{"line":26,"character":0},"end":{"line":26,"character":13}},"selectionRange":{"start":{"line":26,"character":6},"end":{"line":26,"character":13}}},{"name":"setup","detail":"void ()","kind":12,"range":{"start":{"line":29,"character":0},"end":{"line":47,"character":1}},"selectionRange":{"start":{"line":29,"character":5},"end":{"line":29,"character":10}}},{"name":"loop","detail":"void ()","kind":12,"range":{"start":{"line":49,"character":0},"end":{"line":92,"character":1}},"selectionRange":{"start":{"line":49,"character":5},"end":{"line":49,"character":9}}},{"name":"GetDistance","detail":"float ()","kind":12,"range":{"start":{"line":101,"character":0},"end":{"line":116,"character":1}},"selectionRange":{"start":{"line":101,"character":6},"end":{"line":101,"character":17}}},{"name":"left","detail":"void ()","kind":12,"range":{"start":{"line":119,"character":0},"end":{"line":130,"character":3}},"selectionRange":{"start":{"line":119,"character":5},"end":{"line":119,"character":9}}},{"name":"right","detail":"void ()","kind":12,"range":{"start":{"line":132,"character":1},"end":{"line":143,"character":3}},"selectionRange":{"start":{"line":132,"character":6},"end":{"line":132,"character":11}}},{"name":"forward","detail":"void ()","kind":12,"range":{"start":{"line":145,"character":1},"end":{"line":157,"character":3}},"selectionRange":{"start":{"line":145,"character":6},"end":{"line":145,"character":13}}},{"name":"stop","detail":"void ()","kind":12,"range":{"start":{"line":160,"character":1},"end":{"line":170,"character":3}},"selectionRange":{"start":{"line":160,"character":6},"end":{"line":160,"character":10}}},{"name":"back","detail":"void ()","kind":12,"range":{"start":{"line":172,"character":3},"end":{"line":183,"character":3}},"selectionRange":{"start":{"line":172,"character":8},"end":{"line":172,"character":12}}}]}
<<<
Content-Length: 40

{"jsonrpc":"2.0","id":"1","result":null}
>>>
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","title":"indexing","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
<<<
Content-Length: 179

{"jsonrpc":"2.0","method":"ino/didCompleteBuild","params":{"buildOutputUri":"file:///c%3A/Users/Administrator/AppData/Local/Temp/arduino-sketch-918BCBD554862357B70825EE053831E7"}}
>>>
Content-Length: 118

{"jsonrpc":"2.0","id":"2","method":"window/workDoneProgress/create","params":{"token":"arduinoLanguageServerRebuild"}}
<<<
Content-Length: 40

{"jsonrpc":"2.0","id":"2","result":null}
>>>
Content-Length: 140

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"arduinoLanguageServerRebuild","value":{"kind":"begin","title":"Building sketch"}}}Content-Length: 129

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"arduinoLanguageServerRebuild","value":{"kind":"end","message":"done"}}}Content-Length: 113

{"jsonrpc":"2.0","id":"3","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
<<<
Content-Length: 40

{"jsonrpc":"2.0","id":"3","result":null}
>>>
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","title":"indexing","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
<<<
Content-Length: 407

{"jsonrpc":"2.0","id":2,"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow/2_follow.ino"},"range":{"start":{"line":60,"character":16},"end":{"line":60,"character":16}},"context":{"diagnostics":[]}}}
>>>
Content-Length: 36

{"jsonrpc":"2.0","id":2,"result":[]}
<<<
Content-Length: 333

{"jsonrpc":"2.0","id":3,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow/2_follow.ino"},"position":{"line":54,"character":15}}}
>>>
Content-Length: 241

{"jsonrpc":"2.0","id":3,"result":{"contents":{"kind":"markdown","value":"### variable `SensorRight`  \n\n---\nType: `int`  \n\n---\n```cpp\nint SensorRight\n```"},"range":{"start":{"line":54,"character":4},"end":{"line":54,"character":15}}}}
<<<
Content-Length: 179

{"jsonrpc":"2.0","method":"ino/didCompleteBuild","params":{"buildOutputUri":"file:///c%3A/Users/Administrator/AppData/Local/Temp/arduino-sketch-918BCBD554862357B70825EE053831E7"}}
>>>
Content-Length: 118

{"jsonrpc":"2.0","id":"4","method":"window/workDoneProgress/create","params":{"token":"arduinoLanguageServerRebuild"}}
<<<
Content-Length: 40

{"jsonrpc":"2.0","id":"4","result":null}
>>>
Content-Length: 140

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"arduinoLanguageServerRebuild","value":{"kind":"begin","title":"Building sketch"}}}Content-Length: 129

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"arduinoLanguageServerRebuild","value":{"kind":"end","message":"done"}}}Content-Length: 113

{"jsonrpc":"2.0","id":"5","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
<<<
Content-Length: 40

{"jsonrpc":"2.0","id":"5","result":null}
>>>
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","title":"indexing","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
<<<
Content-Length: 407

{"jsonrpc":"2.0","id":4,"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow/2_follow.ino"},"range":{"start":{"line":58,"character":52},"end":{"line":58,"character":52}},"context":{"diagnostics":[]}}}
>>>
Content-Length: 36

{"jsonrpc":"2.0","id":4,"result":[]}
<<<
Content-Length: 333

{"jsonrpc":"2.0","id":5,"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYC0043%EF%BC%89Four-way%20tracking%20and%20obstacle%20avoidance%20following%20car%20kit%20v2.0%20tutorial/ZYC0043-2022.9.8/4_Arduino_Code/2_follow/2_follow.ino"},"position":{"line":53,"character":13}}}
>>>
Content-Length: 239

{"jsonrpc":"2.0","id":5,"result":{"contents":{"kind":"markdown","value":"### variable `SensorLeft`  \n\n---\nType: `int`  \n\n---\n```cpp\nint SensorLeft\n```"},"range":{"start":{"line":53,"character":4},"end":{"line":53,"character":14}}}}
<<<
Content-Length: 58

{"jsonrpc":"2.0","id":6,"method":"shutdown","params":null}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":6,"result":null}
<<<
Content-Length: 47

{"jsonrpc":"2.0","method":"exit","params":null}