






Started logging.
I[15:31:31.055] clangd version 14.0.0
I[15:31:31.055] Features: windows
I[15:31:31.055] PID: 15476
I[15:31:31.055] Working directory: e:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance
I[15:31:31.055] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[15:31:31.055] argv[1]: -log=verbose
I[15:31:31.055] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[15:31:31.055] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[15:31:31.059] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[15:31:31.059] Starting LSP over stdin/stdout
V[15:31:31.060] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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]},"contextSupport":true,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":12152,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch","trace":"off","workspaceFolders":[{"name":"avoidance","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0055%29Mini%20DIY%20obstacle%20avoidance%20car/ZYC0055/Part2.0%20Module%20learning/code/avoidance"}]}}

I[15:31:31.060] <-- initialize("1")
I[15:31:31.076] --> reply:initialize("1") 16 ms
V[15:31:31.076] >>> {"id":"1","jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 14.0.0 windows x86_64-pc-windows-msvc"}}}

V[15:31:31.077] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[15:31:31.077] <-- initialized
V[15:31:31.079] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(0,speed1); //If the circuit is not connected correctly, modify here to correct the motor direction\n       motor2(0,speed2); \n       \n        break;\n\n    case back:  //Back up\n        \n        motor1(speed1, 0);\n        motor2(speed2, 0);\n        \n        break;\n\n    case left:   //Turn left\n        motor1(0, speed1);\n        motor2(speed2, 0);\n        \n        break;\n\n    case right:   //Turn right\n        \n        motor1(speed1, 0);\n        motor2(0, speed2);\n       \n        break;\n    \n    default:\n        break;\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":1}}}

I[15:31:31.079] <-- textDocument/didOpen
V[15:31:31.080] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\.clangd:1:0: Parsing config fragment
V[15:31:31.080] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\.clangd:1:0: Parsed 1 fragments from file
V[15:31:31.080] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\.clangd:1 -> 0x0000026F8CD04570 (trusted=false)
I[15:31:31.081] --> textDocument/publishDiagnostics
V[15:31:31.081] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/.clangd"}}

I[15:31:31.082] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[15:31:31.082] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
V[15:31:31.082] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":101},"start":{"character":1,"line":101}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:31:31.082] <-- textDocument/codeAction("2")
I[15:31:31.083] --> window/workDoneProgress/create(0)
V[15:31:31.083] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:31:31.083] Enqueueing 26 commands for indexing
V[15:31:31.083] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[15:31:31.083] <-- reply(0)
I[15:31:31.083] --> $/progress
V[15:31:31.083] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:31:31.083] --> $/progress
V[15:31:31.083] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[15:31:31.084] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:31:31.087] --> $/progress
V[15:31:31.087] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[15:31:31.127] System include extraction: target extracted: "avr"
V[15:31:31.127] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.127] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.127] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.127] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[15:31:31.128] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 1 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[15:31:31.129] System include extraction: target extracted: "avr"
V[15:31:31.129] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.129] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.129] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.129] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:31.131] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
V[15:31:31.131] System include extraction: target extracted: "avr"
V[15:31:31.131] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.131] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.131] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.131] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:31.132] System include extraction: target extracted: "avr"
V[15:31:31.132] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.132] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.132] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.132] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:31.132] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
V[15:31:31.133] System include extraction: target extracted: "avr"
V[15:31:31.134] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
V[15:31:31.135] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.135] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.135] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.135] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:31.137] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[15:31:31.137] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 1
V[15:31:31.138] System include extraction: target extracted: "avr"
V[15:31:31.138] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.138] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.138] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.138] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:31.140] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
V[15:31:31.141] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
V[15:31:31.144] System include extraction: target extracted: "avr"
V[15:31:31.144] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:31.144] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:31.144] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:31.144] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:31.145] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
I[15:31:31.178] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (61 symbols, 201 refs, 5 files)
I[15:31:31.192] --> $/progress
V[15:31:31.192] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[15:31:31.192] --> $/progress
V[15:31:31.192] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

V[15:31:31.194] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
V[15:31:31.196] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 1:
  symbol slab: 2507 symbols, 713262 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
I[15:31:31.206] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (309 symbols, 2670 refs, 26 files)
I[15:31:31.220] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (600 symbols, 3584 refs, 36 files)
V[15:31:31.224] Build dynamic index for header symbols with estimated memory usage of 2168850 bytes
V[15:31:31.225] Built preamble of size 429092 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 1
I[15:31:31.240] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (600 symbols, 3433 refs, 37 files)
I[15:31:31.241] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (299 symbols, 2470 refs, 18 files)
I[15:31:31.246] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (600 symbols, 3545 refs, 36 files)
V[15:31:31.250] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 1:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 117 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[15:31:31.250] Build dynamic index for main-file symbols with estimated memory usage of 24120 bytes
I[15:31:31.250] --> textDocument/publishDiagnostics
V[15:31:31.250] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":1}}

V[15:31:31.250] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:31:31.250] --> reply:textDocument/codeAction("2") 168 ms
V[15:31:31.250] >>> {"id":"2","jsonrpc":"2.0","result":[]}

V[15:31:31.251] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:31:31.251] <-- textDocument/documentSymbol("3")
V[15:31:31.251] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:31:31.251] --> reply:textDocument/documentSymbol("3") 0 ms
V[15:31:31.251] >>> {"id":"3","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[15:31:31.262] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (560 symbols, 3446 refs, 38 files)
I[15:31:31.604] --> $/progress
V[15:31:31.604] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[15:31:31.604] --> $/progress
V[15:31:31.604] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[15:31:31.605] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[15:31:31.658] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (199 symbols, 2667 refs, 36 files)
I[15:31:31.841] --> $/progress
V[15:31:31.841] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[15:31:31.841] --> $/progress
V[15:31:31.841] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[15:31:31.842] --> $/progress
V[15:31:31.842] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[15:31:31.842] --> $/progress
V[15:31:31.842] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

V[15:31:31.843] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
V[15:31:31.843] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
I[15:31:31.874] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (4 symbols, 2202 refs, 26 files)
I[15:31:31.878] --> $/progress
V[15:31:31.878] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[15:31:31.878] --> $/progress
V[15:31:31.878] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[15:31:31.879] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
I[15:31:31.886] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (2 symbols, 2284 refs, 38 files)
V[15:31:31.910] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[15:31:31.911] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[15:31:31.916] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (2 symbols, 2308 refs, 38 files)
I[15:31:31.916] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
V[15:31:31.965] BackgroundIndex: building version 1 after indexing enough files
V[15:31:31.974] BackgroundIndex: serving version 1 (1520842 bytes)
I[15:31:31.975] --> $/progress
V[15:31:31.975] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[15:31:31.975] --> $/progress
V[15:31:31.975] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

V[15:31:31.975] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[15:31:31.997] --> $/progress
V[15:31:31.997] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[15:31:31.997] --> $/progress
V[15:31:31.997] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

V[15:31:31.998] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
I[15:31:32.015] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (0 symbols, 2252 refs, 38 files)
I[15:31:32.025] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (2 symbols, 2116 refs, 26 files)
I[15:31:32.028] --> $/progress
V[15:31:32.028] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[15:31:32.028] --> $/progress
V[15:31:32.028] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[15:31:32.028] --> $/progress
V[15:31:32.028] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[15:31:32.028] --> $/progress
V[15:31:32.028] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[15:31:32.030] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
V[15:31:32.064] System include extraction: target extracted: "avr"
V[15:31:32.064] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:31:32.064] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:31:32.064] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:31:32.065] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:31:32.066] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
I[15:31:32.082] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (2 symbols, 2281 refs, 38 files)
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[15:31:32.093] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[15:31:32.094] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[15:31:32.094] Ignored diagnostic. too many errors emitted, stopping now
I[15:31:32.096] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[15:31:32.096] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[15:31:32.119] --> $/progress
V[15:31:32.119] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[15:31:32.119] --> $/progress
V[15:31:32.119] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

V[15:31:32.120] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[15:31:32.150] --> $/progress
V[15:31:32.150] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[15:31:32.150] --> $/progress
V[15:31:32.150] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

V[15:31:32.151] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
I[15:31:32.162] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (2 symbols, 83 refs, 3 files)
I[15:31:32.171] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (12 symbols, 2469 refs, 39 files)
I[15:31:32.197] --> $/progress
V[15:31:32.197] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[15:31:32.197] --> $/progress
V[15:31:32.197] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

V[15:31:32.198] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
I[15:31:32.228] --> $/progress
V[15:31:32.228] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[15:31:32.228] --> $/progress
V[15:31:32.228] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

V[15:31:32.229] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[15:31:32.229] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (8 symbols, 2248 refs, 26 files)
I[15:31:32.244] --> $/progress
V[15:31:32.244] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[15:31:32.244] --> $/progress
V[15:31:32.244] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

V[15:31:32.244] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
I[15:31:32.257] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[15:31:32.263] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (4 symbols, 2167 refs, 26 files)
I[15:31:32.275] --> $/progress
V[15:31:32.275] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[15:31:32.275] --> $/progress
V[15:31:32.275] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

V[15:31:32.276] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
I[15:31:32.276] --> $/progress
V[15:31:32.276] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[15:31:32.276] --> $/progress
V[15:31:32.276] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[15:31:32.276] --> $/progress
V[15:31:32.276] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[15:31:32.276] --> $/progress
V[15:31:32.276] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[15:31:32.278] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp (digest:=D21A27EFE4C256BB)
V[15:31:32.278] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[15:31:32.278] --> $/progress
V[15:31:32.278] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[15:31:32.278] --> $/progress
V[15:31:32.278] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[15:31:32.279] --> $/progress
V[15:31:32.279] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[15:31:32.279] --> $/progress
V[15:31:32.279] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

V[15:31:32.280] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
V[15:31:32.281] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[15:31:32.283] --> $/progress
V[15:31:32.283] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[15:31:32.283] --> $/progress
V[15:31:32.283] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[15:31:32.284] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
I[15:31:32.291] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[15:31:32.292] --> $/progress
V[15:31:32.292] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

I[15:31:32.326] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp (11 symbols, 2310 refs, 36 files)
I[15:31:32.327] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (0 symbols, 2223 refs, 37 files)
I[15:31:32.328] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (4 symbols, 2341 refs, 26 files)
I[15:31:32.329] --> $/progress
V[15:31:32.329] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

I[15:31:32.340] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (20 symbols, 2358 refs, 37 files)
I[15:31:32.341] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (15 symbols, 2450 refs, 36 files)
I[15:31:32.353] --> $/progress
V[15:31:32.353] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[15:31:32.368] --> $/progress
V[15:31:32.368] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[15:31:32.368] --> $/progress
V[15:31:32.368] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

V[15:31:32.371] BackgroundIndex: building version 2 when background indexer is idle
V[15:31:32.382] BackgroundIndex: serving version 2 (1779562 bytes)
I[15:31:32.383] --> $/progress
V[15:31:32.383] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:31:32.802] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":60,"line":114},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:31:32.802] <-- textDocument/documentHighlight("4")
V[15:31:32.802] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:31:32.802] --> reply:textDocument/documentHighlight("4") 0 ms
V[15:31:32.802] >>> {"id":"4","jsonrpc":"2.0","result":[]}

V[15:31:33.051] <<< {"id":"5","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":60,"line":114},"start":{"character":60,"line":114}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:31:33.051] <-- textDocument/codeAction("5")
V[15:31:33.051] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:31:33.051] --> reply:textDocument/codeAction("5") 0 ms
V[15:31:33.051] >>> {"id":"5","jsonrpc":"2.0","result":[]}

V[15:31:33.078] <<< {"id":"6","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":59,"line":114},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:31:33.078] <-- textDocument/hover("6")
V[15:31:33.078] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:31:33.079] --> reply:textDocument/hover("6") 0 ms
V[15:31:33.079] >>> {"id":"6","jsonrpc":"2.0","result":null}

V[15:38:48.958] <<< {"id":"7","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":142,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:38:48.958] <-- textDocument/hover("7")
V[15:38:48.959] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:38:48.960] --> reply:textDocument/hover("7") 1 ms
V[15:38:48.960] >>> {"id":"7","jsonrpc":"2.0","result":null}

V[15:38:50.746] <<< {"id":"8","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":142,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:38:50.746] <-- textDocument/hover("8")
V[15:38:50.746] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:38:50.747] --> reply:textDocument/hover("8") 0 ms
V[15:38:50.747] >>> {"id":"8","jsonrpc":"2.0","result":null}

V[15:45:12.979] <<< {"id":"9","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":16,"line":12},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:45:12.979] <-- textDocument/documentHighlight("9")
V[15:45:12.980] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:45:12.980] --> reply:textDocument/documentHighlight("9") 1 ms
V[15:45:12.980] >>> {"id":"9","jsonrpc":"2.0","result":[]}

V[15:45:13.240] <<< {"id":"10","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":16,"line":12},"start":{"character":16,"line":12}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:45:13.240] <-- textDocument/codeAction("10")
V[15:45:13.240] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:45:13.240] --> reply:textDocument/codeAction("10") 0 ms
V[15:45:13.240] >>> {"id":"10","jsonrpc":"2.0","result":[]}

V[15:48:32.642] <<< {"id":"11","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":7,"line":100},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:48:32.642] <-- textDocument/hover("11")
V[15:48:32.643] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:48:32.647] --> reply:textDocument/hover("11") 5 ms
V[15:48:32.647] >>> {"id":"11","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `avoidance`  \n\n---\n→ `void`  \nParameters:  \n- `int set_dis`\n\nObstacle avoidance function  \n\n---\n```cpp\nvoid avoidance(int set_dis)\n```"},"range":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}}}

V[15:48:33.066] <<< {"id":"12","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":8,"line":100},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:48:33.066] <-- textDocument/documentHighlight("12")
V[15:48:33.066] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:48:33.066] --> reply:textDocument/documentHighlight("12") 0 ms
V[15:48:33.066] >>> {"id":"12","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"kind":1,"range":{"end":{"character":12,"line":55},"start":{"character":3,"line":55}}},{"kind":1,"range":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}}]}

V[15:48:33.487] <<< {"id":"13","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[15:48:33.487] <-- textDocument/codeAction("13")
V[15:48:33.487] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[15:48:33.487] --> reply:textDocument/codeAction("13") 0 ms
V[15:48:33.487] >>> {"id":"13","jsonrpc":"2.0","result":[]}

V[16:42:16.357] <<< {"id":"14","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":88},"start":{"character":25,"line":88}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:16.358] <-- textDocument/codeAction("14")
V[16:42:16.360] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:16.360] --> reply:textDocument/codeAction("14") 2 ms
V[16:42:16.360] >>> {"id":"14","jsonrpc":"2.0","result":[]}

V[16:42:18.388] <<< {"id":"15","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":88},"start":{"character":25,"line":88}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:18.388] <-- textDocument/codeAction("15")
V[16:42:18.388] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:18.388] --> reply:textDocument/codeAction("15") 0 ms
V[16:42:18.388] >>> {"id":"15","jsonrpc":"2.0","result":[]}

V[16:42:19.764] <<< {"id":"16","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":95},"start":{"character":25,"line":95}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:19.764] <-- textDocument/codeAction("16")
V[16:42:19.764] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:19.764] --> reply:textDocument/codeAction("16") 0 ms
V[16:42:19.765] >>> {"id":"16","jsonrpc":"2.0","result":[]}

V[16:42:40.671] <<< {"id":"17","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":36,"line":104},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:40.671] <-- textDocument/hover("17")
V[16:42:40.672] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:40.673] --> reply:textDocument/hover("17") 1 ms
V[16:42:40.673] >>> {"id":"17","jsonrpc":"2.0","result":null}

V[16:42:40.987] <<< {"id":"18","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":35,"line":104},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:40.987] <-- textDocument/hover("18")
V[16:42:40.987] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:40.988] --> reply:textDocument/hover("18") 1 ms
V[16:42:40.988] >>> {"id":"18","jsonrpc":"2.0","result":null}

V[16:42:44.977] <<< {"id":"19","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":35,"line":114},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:44.977] <-- textDocument/hover("19")
V[16:42:44.977] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:44.978] --> reply:textDocument/hover("19") 1 ms
V[16:42:44.978] >>> {"id":"19","jsonrpc":"2.0","result":null}

V[16:42:59.057] <<< {"id":"20","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":25,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:59.057] <-- textDocument/hover("20")
V[16:42:59.058] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:59.059] --> reply:textDocument/hover("20") 1 ms
V[16:42:59.059] >>> {"id":"20","jsonrpc":"2.0","result":null}

V[16:42:59.768] <<< {"id":"21","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":15,"line":133},"start":{"character":15,"line":133}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:42:59.768] <-- textDocument/codeAction("21")
V[16:42:59.769] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:42:59.769] --> reply:textDocument/codeAction("21") 0 ms
V[16:42:59.769] >>> {"id":"21","jsonrpc":"2.0","result":[]}

V[16:43:01.624] <<< {"id":"22","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":139},"start":{"character":24,"line":139}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:01.624] <-- textDocument/codeAction("22")
V[16:43:01.624] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:01.624] --> reply:textDocument/codeAction("22") 0 ms
V[16:43:01.624] >>> {"id":"22","jsonrpc":"2.0","result":[]}

V[16:43:19.763] <<< {"id":"23","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":25,"line":170},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:19.763] <-- textDocument/hover("23")
V[16:43:19.764] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:19.767] --> reply:textDocument/hover("23") 4 ms
V[16:43:19.767] >>> {"id":"23","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `motor1`  \n\n---\n→ `void`  \nParameters:  \n- `int steep1`\n- `int steep2`\n\nMotor 1 output definition  \n\n---\n```cpp\nvoid motor1(int steep1, int steep2)\n```"},"range":{"end":{"character":26,"line":170},"start":{"character":25,"line":170}}}}

V[16:43:19.962] <<< {"id":"24","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":24,"line":170},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:19.962] <-- textDocument/hover("24")
V[16:43:19.962] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:19.964] --> reply:textDocument/hover("24") 1 ms
V[16:43:19.964] >>> {"id":"24","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `motor1`  \n\n---\n→ `void`  \nParameters:  \n- `int steep1`\n- `int steep2`\n\nMotor 1 output definition  \n\n---\n```cpp\nvoid motor1(int steep1, int steep2)\n```"},"range":{"end":{"character":25,"line":170},"start":{"character":24,"line":170}}}}

V[16:43:24.068] <<< {"id":"25","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":32,"line":104},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:24.068] <-- textDocument/hover("25")
V[16:43:24.068] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:24.069] --> reply:textDocument/hover("25") 0 ms
V[16:43:24.069] >>> {"id":"25","jsonrpc":"2.0","result":null}

V[16:43:45.447] <<< {"id":"26","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":11,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:45.447] <-- textDocument/documentHighlight("26")
V[16:43:45.448] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:45.450] --> reply:textDocument/documentHighlight("26") 2 ms
V[16:43:45.450] >>> {"id":"26","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"kind":1,"range":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"kind":1,"range":{"end":{"character":14,"line":156},"start":{"character":8,"line":156}}},{"kind":1,"range":{"end":{"character":13,"line":163},"start":{"character":7,"line":163}}},{"kind":1,"range":{"end":{"character":14,"line":170},"start":{"character":8,"line":170}}},{"kind":1,"range":{"end":{"character":14,"line":176},"start":{"character":8,"line":176}}},{"kind":1,"range":{"end":{"character":14,"line":183},"start":{"character":8,"line":183}}}]}

V[16:43:45.699] <<< {"id":"27","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":11,"line":163},"start":{"character":11,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:45.699] <-- textDocument/codeAction("27")
V[16:43:45.699] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:45.699] --> reply:textDocument/codeAction("27") 0 ms
V[16:43:45.699] >>> {"id":"27","jsonrpc":"2.0","result":[]}

V[16:43:47.308] <<< {"id":"28","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":17,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:47.308] <-- textDocument/hover("28")
V[16:43:47.308] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:47.311] --> reply:textDocument/hover("28") 2 ms
V[16:43:47.311] >>> {"id":"28","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `speed1`  \n\n---\nType: `int`  \nPassed as steep2  \n\n---\n```cpp\n// In motor\nint speed1\n```"},"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}}}

V[16:43:47.436] <<< {"id":"29","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":18,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:47.436] <-- textDocument/documentHighlight("29")
V[16:43:47.436] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:47.436] --> reply:textDocument/documentHighlight("29") 0 ms
V[16:43:47.436] >>> {"id":"29","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":30,"line":151},"start":{"character":24,"line":151}}},{"kind":2,"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}},{"kind":2,"range":{"end":{"character":21,"line":170},"start":{"character":15,"line":170}}},{"kind":2,"range":{"end":{"character":24,"line":176},"start":{"character":18,"line":176}}},{"kind":2,"range":{"end":{"character":21,"line":183},"start":{"character":15,"line":183}}}]}

V[16:43:47.866] <<< {"id":"30","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:47.866] <-- textDocument/codeAction("30")
V[16:43:47.866] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:47.866] --> reply:textDocument/codeAction("30") 0 ms
V[16:43:47.866] >>> {"id":"30","jsonrpc":"2.0","result":[]}

V[16:43:57.215] <<< {"id":"31","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":19,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:57.215] <-- textDocument/hover("31")
V[16:43:57.216] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:57.218] --> reply:textDocument/hover("31") 2 ms
V[16:43:57.218] >>> {"id":"31","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `steep1`  \n\n---\nType: `int`  \n\n---\n```cpp\n// In motor1\nint steep1\n```"},"range":{"end":{"character":22,"line":86},"start":{"character":16,"line":86}}}}

V[16:43:57.231] <<< {"id":"32","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":20,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:57.231] <-- textDocument/documentHighlight("32")
V[16:43:57.231] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:57.231] --> reply:textDocument/documentHighlight("32") 0 ms
V[16:43:57.231] >>> {"id":"32","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":22,"line":86},"start":{"character":16,"line":86}}},{"kind":2,"range":{"end":{"character":23,"line":88},"start":{"character":17,"line":88}}}]}

V[16:43:57.657] <<< {"id":"33","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":22,"line":86},"start":{"character":16,"line":86}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:57.657] <-- textDocument/codeAction("33")
V[16:43:57.657] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:57.657] --> reply:textDocument/codeAction("33") 0 ms
V[16:43:57.657] >>> {"id":"33","jsonrpc":"2.0","result":[]}

V[16:43:57.978] <<< {"id":"34","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":88},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:57.978] <-- textDocument/hover("34")
V[16:43:57.978] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:57.979] --> reply:textDocument/hover("34") 1 ms
V[16:43:57.979] >>> {"id":"34","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `steep1`  \n\n---\nType: `int`  \nPassed as val  \n\n---\n```cpp\n// In motor1\nint steep1\n```"},"range":{"end":{"character":23,"line":88},"start":{"character":17,"line":88}}}}

V[16:43:58.515] <<< {"id":"35","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":88},"start":{"character":25,"line":88}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:58.515] <-- textDocument/codeAction("35")
V[16:43:58.515] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:58.515] --> reply:textDocument/codeAction("35") 0 ms
V[16:43:58.515] >>> {"id":"35","jsonrpc":"2.0","result":[]}

V[16:43:59.010] <<< {"id":"36","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":21,"line":88},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:59.010] <-- textDocument/documentHighlight("36")
V[16:43:59.010] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:59.010] --> reply:textDocument/documentHighlight("36") 0 ms
V[16:43:59.010] >>> {"id":"36","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":22,"line":86},"start":{"character":16,"line":86}}},{"kind":2,"range":{"end":{"character":23,"line":88},"start":{"character":17,"line":88}}}]}

V[16:43:59.418] <<< {"id":"37","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":88},"start":{"character":17,"line":88}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:43:59.418] <-- textDocument/codeAction("37")
V[16:43:59.418] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:43:59.418] --> reply:textDocument/codeAction("37") 0 ms
V[16:43:59.418] >>> {"id":"37","jsonrpc":"2.0","result":[]}

V[16:44:18.368] <<< {"id":"38","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":15,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:18.369] <-- textDocument/hover("38")
V[16:44:18.370] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:18.371] --> reply:textDocument/hover("38") 2 ms
V[16:44:18.371] >>> {"id":"38","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `motor1`  \n\n---\n→ `void`  \nParameters:  \n- `int steep1`\n- `int steep2`\n\nMotor 1 output definition  \n\n---\n```cpp\nvoid motor1(int steep1, int steep2)\n```"},"range":{"end":{"character":16,"line":163},"start":{"character":15,"line":163}}}}

V[16:44:18.412] <<< {"id":"39","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":16,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:18.412] <-- textDocument/documentHighlight("39")
V[16:44:18.412] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:18.412] --> reply:textDocument/documentHighlight("39") 0 ms
V[16:44:18.412] >>> {"id":"39","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":30,"line":151},"start":{"character":24,"line":151}}},{"kind":2,"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}},{"kind":2,"range":{"end":{"character":21,"line":170},"start":{"character":15,"line":170}}},{"kind":2,"range":{"end":{"character":24,"line":176},"start":{"character":18,"line":176}}},{"kind":2,"range":{"end":{"character":21,"line":183},"start":{"character":15,"line":183}}}]}

V[16:44:18.660] <<< {"id":"40","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":16,"line":163},"start":{"character":16,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:18.660] <-- textDocument/codeAction("40")
V[16:44:18.660] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:18.660] --> reply:textDocument/codeAction("40") 0 ms
V[16:44:18.660] >>> {"id":"40","jsonrpc":"2.0","result":[]}

V[16:44:21.093] <<< {"id":"41","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":15,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:21.093] <-- textDocument/hover("41")
V[16:44:21.093] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:21.095] --> reply:textDocument/hover("41") 1 ms
V[16:44:21.095] >>> {"id":"41","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `motor1`  \n\n---\n→ `void`  \nParameters:  \n- `int steep1`\n- `int steep2`\n\nMotor 1 output definition  \n\n---\n```cpp\nvoid motor1(int steep1, int steep2)\n```"},"range":{"end":{"character":16,"line":163},"start":{"character":15,"line":163}}}}

V[16:44:21.113] <<< {"id":"42","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":15,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:21.113] <-- textDocument/documentHighlight("42")
V[16:44:21.113] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:21.113] --> reply:textDocument/documentHighlight("42") 0 ms
V[16:44:21.113] >>> {"id":"42","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"kind":1,"range":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"kind":1,"range":{"end":{"character":14,"line":156},"start":{"character":8,"line":156}}},{"kind":1,"range":{"end":{"character":13,"line":163},"start":{"character":7,"line":163}}},{"kind":1,"range":{"end":{"character":14,"line":170},"start":{"character":8,"line":170}}},{"kind":1,"range":{"end":{"character":14,"line":176},"start":{"character":8,"line":176}}},{"kind":1,"range":{"end":{"character":14,"line":183},"start":{"character":8,"line":183}}}]}

V[16:44:21.363] <<< {"id":"43","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":15,"line":163},"start":{"character":15,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:21.363] <-- textDocument/codeAction("43")
V[16:44:21.363] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:21.363] --> reply:textDocument/codeAction("43") 0 ms
V[16:44:21.363] >>> {"id":"43","jsonrpc":"2.0","result":[]}

V[16:44:28.561] <<< {"id":"44","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:28.561] <-- textDocument/hover("44")
V[16:44:28.562] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:28.564] --> reply:textDocument/hover("44") 2 ms
V[16:44:28.564] >>> {"id":"44","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `speed2`  \n\n---\nType: `int`  \nPassed as steep2  \n\n---\n```cpp\n// In motor\nint speed2\n```"},"range":{"end":{"character":22,"line":164},"start":{"character":16,"line":164}}}}

V[16:44:30.148] <<< {"id":"45","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":166},"start":{"character":14,"line":166}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:30.148] <-- textDocument/codeAction("45")
V[16:44:30.148] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:30.148] --> reply:textDocument/codeAction("45") 0 ms
V[16:44:30.148] >>> {"id":"45","jsonrpc":"2.0","result":[]}

V[16:44:30.811] <<< {"id":"46","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":19,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:30.811] <-- textDocument/hover("46")
V[16:44:30.811] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:30.812] --> reply:textDocument/hover("46") 1 ms
V[16:44:30.812] >>> {"id":"46","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `speed1`  \n\n---\nType: `int`  \nPassed as steep2  \n\n---\n```cpp\n// In motor\nint speed1\n```"},"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}}}

V[16:44:35.776] <<< {"id":"47","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:35.776] <-- textDocument/hover("47")
V[16:44:35.777] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:35.778] --> reply:textDocument/hover("47") 2 ms
V[16:44:35.778] >>> {"id":"47","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `speed2`  \n\n---\nType: `int`  \nPassed as steep2  \n\n---\n```cpp\n// In motor\nint speed2\n```"},"range":{"end":{"character":22,"line":164},"start":{"character":16,"line":164}}}}

V[16:44:35.978] <<< {"id":"48","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:35.978] <-- textDocument/hover("48")
V[16:44:35.978] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:35.980] --> reply:textDocument/hover("48") 1 ms
V[16:44:35.980] >>> {"id":"48","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `speed1`  \n\n---\nType: `int`  \nPassed as steep2  \n\n---\n```cpp\n// In motor\nint speed1\n```"},"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}}}

V[16:44:37.398] <<< {"id":"49","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:37.398] <-- textDocument/hover("49")
V[16:44:37.398] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:37.400] --> reply:textDocument/hover("49") 1 ms
V[16:44:37.400] >>> {"id":"49","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `motor1`  \n\n---\n→ `void`  \nParameters:  \n- `int steep1`\n- `int steep2`\n\nMotor 1 output definition  \n\n---\n```cpp\nvoid motor1(int steep1, int steep2)\n```"},"range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}}}

V[16:44:37.468] <<< {"id":"50","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:37.468] <-- textDocument/documentHighlight("50")
V[16:44:37.468] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:37.468] --> reply:textDocument/documentHighlight("50") 0 ms
V[16:44:37.468] >>> {"id":"50","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"kind":1,"range":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"kind":1,"range":{"end":{"character":14,"line":156},"start":{"character":8,"line":156}}},{"kind":1,"range":{"end":{"character":13,"line":163},"start":{"character":7,"line":163}}},{"kind":1,"range":{"end":{"character":14,"line":170},"start":{"character":8,"line":170}}},{"kind":1,"range":{"end":{"character":14,"line":176},"start":{"character":8,"line":176}}},{"kind":1,"range":{"end":{"character":14,"line":183},"start":{"character":8,"line":183}}}]}

V[16:44:37.714] <<< {"id":"51","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":22,"line":163},"start":{"character":22,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:37.714] <-- textDocument/codeAction("51")
V[16:44:37.714] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:37.714] --> reply:textDocument/codeAction("51") 0 ms
V[16:44:37.715] >>> {"id":"51","jsonrpc":"2.0","result":[]}

V[16:44:38.922] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":22,"line":163},"start":{"character":22,"line":163}},"text":"，"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":2}}}

I[16:44:38.922] <-- textDocument/didChange
V[16:44:38.925] <<< {"id":"52","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:38.925] <-- textDocument/documentSymbol("52")
I[16:44:38.943] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 2 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:38.952] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:38.954] Reusing preamble version 1 for version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:38.959] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 2
V[16:44:38.990] Trying to fix unresolved name "speed1，" in scopes: []
V[16:44:38.992] Dex query tree: false
V[16:44:38.992] Dex query tree: (LIMIT 10000 (& T=spe T=ed1 T=eed T=pee ?=Restricted For Code Completion S=))
V[16:44:38.994] ASTWorker running DocumentSymbols on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:38.997] --> reply:textDocument/documentSymbol("52") 72 ms
V[16:44:38.997] >>> {"id":"52","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[16:44:38.997] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp, inputs are the same.
V[16:44:38.999] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 2:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 117 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[16:44:38.999] Build dynamic index for main-file symbols with estimated memory usage of 24120 bytes
I[16:44:38.999] --> textDocument/publishDiagnostics
V[16:44:38.999] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"character_not_allowed_identifier","message":"Character <U+FF0C> not allowed in an identifier (fix available)","range":{"end":{"character":23,"line":163},"start":{"character":22,"line":163}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use_suggest","message":"Use of undeclared identifier 'speed1，'; did you mean 'speed1'? (fix available)","range":{"end":{"character":23,"line":163},"start":{"character":16,"line":163}},"relatedInformation":[{"location":{"range":{"end":{"character":30,"line":151},"start":{"character":24,"line":151}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"},"message":"'speed1' declared here"}],"severity":1,"source":"clang"},{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":2}}

V[16:44:39.011] <<< {"id":"53","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:39.011] <-- textDocument/documentSymbol("53")
V[16:44:39.011] ASTWorker running DocumentSymbols on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:39.012] --> reply:textDocument/documentSymbol("53") 0 ms
V[16:44:39.012] >>> {"id":"53","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:39.026] <<< {"id":"54","jsonrpc":"2.0","method":"textDocument/completion","params":{"context":{"triggerKind":1},"position":{"character":23,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:39.026] <-- textDocument/completion("54")
V[16:44:39.050] Ignored diagnostic. E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance\avoidance.ino:147:23:character <U+FF0C> not allowed in an identifier
V[16:44:39.055] Code complete: fuzzyFind({
  "AnyScope": true,
  "Limit": 100,
  "PreferredTypes": [
    "c:I"
  ],
  "ProximityPaths": [
    "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
  ],
  "Query": "speed1，",
  "RestrictForCodeCompletion": true,
  "Scopes": [
    ""
  ]
})
V[16:44:39.055] Dex query tree: false
V[16:44:39.055] Dex query tree: (LIMIT 10000 (& T=spe T=ed1 T=eed T=pee ?=Restricted For Code Completion (| S= (* 2.000000e-01 true)) (| (* 2.340640e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch) (* 1.602388e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp) (* 1.403793e+00 U=file:///C:/Users/Administrator/AppData/Local) (* 3.000000e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp) (* 1.898658e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477) true) (| (* 5.000000e+00 Ty=c:I) true)))
I[16:44:39.056] Code complete: sema context Expression, query scopes [] (AnyScope=true), expected type int
I[16:44:39.056] Code complete: 0 results from Sema, 0 from Index, 0 matched, 0 from identifiers, 0 returned.
I[16:44:39.056] --> reply:textDocument/completion("54") 29 ms
V[16:44:39.056] >>> {"id":"54","jsonrpc":"2.0","result":{"isIncomplete":false,"items":[]}}

V[16:44:39.150] <<< {"id":"55","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":163},"start":{"character":23,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:39.150] <-- textDocument/codeAction("55")
V[16:44:39.150] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:39.151] --> reply:textDocument/codeAction("55") 0 ms
V[16:44:39.151] >>> {"id":"55","jsonrpc":"2.0","result":[]}

V[16:44:40.330] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":23,"line":163},"start":{"character":22,"line":163}},"text":""}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":3}}}

I[16:44:40.330] <-- textDocument/didChange
V[16:44:40.330] <<< {"id":"56","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.330] <-- textDocument/documentSymbol("56")
I[16:44:40.332] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 3 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:40.338] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:40.341] Reusing preamble version 1 for version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:40.347] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 3
V[16:44:40.367] ASTWorker running DocumentSymbols on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:40.367] --> reply:textDocument/documentSymbol("56") 36 ms
V[16:44:40.367] >>> {"id":"56","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[16:44:40.368] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp, inputs are the same.
V[16:44:40.368] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 3:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 117 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[16:44:40.368] Build dynamic index for main-file symbols with estimated memory usage of 24120 bytes
I[16:44:40.368] --> textDocument/publishDiagnostics
V[16:44:40.368] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":3}}

V[16:44:40.381] <<< {"id":"57","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.381] <-- textDocument/documentSymbol("57")
V[16:44:40.381] ASTWorker running DocumentSymbols on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:40.382] --> reply:textDocument/documentSymbol("57") 0 ms
V[16:44:40.382] >>> {"id":"57","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:40.397] <<< {"id":"58","jsonrpc":"2.0","method":"textDocument/completion","params":{"context":{"triggerKind":1},"position":{"character":22,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.397] <-- textDocument/completion("58")
V[16:44:40.410] Dex query tree: false
V[16:44:40.411] Dex query tree: (LIMIT 10000 (& T=spe T=ed1 T=eed T=pee ?=Restricted For Code Completion (| S= (* 2.000000e-01 true)) (| (* 2.340640e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch) (* 1.602388e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp) (* 1.403793e+00 U=file:///C:/Users/Administrator/AppData/Local) (* 3.000000e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp) (* 1.898658e+00 U=file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477) true) (| (* 5.000000e+00 Ty=c:I) true)))
V[16:44:40.421] Code complete: fuzzyFind({
  "AnyScope": true,
  "Limit": 100,
  "PreferredTypes": [
    "c:I"
  ],
  "ProximityPaths": [
    "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
  ],
  "Query": "speed1",
  "RestrictForCodeCompletion": true,
  "Scopes": [
    ""
  ]
})
V[16:44:40.421] Code complete: speculative fuzzy request matches the actual index request. Waiting for the speculative index results.
I[16:44:40.434] Code complete: sema context Expression, query scopes [] (AnyScope=true), expected type int
I[16:44:40.434] Code complete: 2 results from Sema, 0 from Index, 0 matched, 0 from identifiers, 2 returned.
I[16:44:40.434] --> reply:textDocument/completion("58") 37 ms
V[16:44:40.434] >>> {"id":"58","jsonrpc":"2.0","result":{"isIncomplete":false,"items":[{"detail":"int","filterText":"speed1","insertText":"speed1","insertTextFormat":1,"kind":6,"label":" speed1","score":5.4612922668457031,"sortText":"3ed13d18speed1","textEdit":{"newText":"speed1","range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}}},{"detail":"int","documentation":{"kind":"markdown","value":"Data variable definition"},"filterText":"MotSpeed1","insertText":"MotSpeed1","insertTextFormat":1,"kind":6,"label":" MotSpeed1","score":2.2671010494232178,"sortText":"401a4460MotSpeed1","textEdit":{"newText":"MotSpeed1","range":{"end":{"character":22,"line":163},"start":{"character":16,"line":163}}}}]}}

V[16:44:40.573] <<< {"id":"59","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":22,"line":163},"start":{"character":22,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.574] <-- textDocument/codeAction("59")
V[16:44:40.574] ASTWorker running EnumerateTweaks on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:40.574] --> reply:textDocument/codeAction("59") 0 ms
V[16:44:40.574] >>> {"id":"59","jsonrpc":"2.0","result":[]}

V[16:44:40.810] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":22,"line":163},"start":{"character":22,"line":163}},"text":","}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":4}}}

I[16:44:40.810] <-- textDocument/didChange
V[16:44:40.811] <<< {"id":"60","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.811] <-- textDocument/documentSymbol("60")
I[16:44:40.812] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 4 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:40.819] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:40.821] Reusing preamble version 1 for version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:40.826] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 4
V[16:44:40.846] ASTWorker running DocumentSymbols on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:40.846] --> reply:textDocument/documentSymbol("60") 35 ms
V[16:44:40.847] >>> {"id":"60","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[16:44:40.847] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp, inputs are the same.
V[16:44:40.847] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 4:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 116 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[16:44:40.848] Build dynamic index for main-file symbols with estimated memory usage of 24088 bytes
I[16:44:40.848] --> textDocument/publishDiagnostics
V[16:44:40.848] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected_expression","message":"Expected expression","range":{"end":{"character":24,"line":163},"start":{"character":23,"line":163}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":4}}

V[16:44:40.860] <<< {"id":"61","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.860] <-- textDocument/documentSymbol("61")
V[16:44:40.860] ASTWorker running DocumentSymbols on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:40.861] --> reply:textDocument/documentSymbol("61") 0 ms
V[16:44:40.861] >>> {"id":"61","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:40.924] <<< {"id":"62","jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"context":{"isRetrigger":false,"triggerCharacter":",","triggerKind":2},"position":{"character":23,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:40.924] <-- textDocument/signatureHelp("62")
I[16:44:40.946] --> reply:textDocument/signatureHelp("62") 22 ms
V[16:44:40.947] >>> {"id":"62","jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}

V[16:44:41.053] <<< {"id":"63","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":163},"start":{"character":23,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:41.053] <-- textDocument/codeAction("63")
V[16:44:41.053] ASTWorker running EnumerateTweaks on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:41.053] --> reply:textDocument/codeAction("63") 0 ms
V[16:44:41.053] >>> {"id":"63","jsonrpc":"2.0","result":[]}

V[16:44:42.570] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":23,"line":163},"start":{"character":23,"line":163}},"text":"0"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":5}}}

I[16:44:42.570] <-- textDocument/didChange
V[16:44:42.570] <<< {"id":"64","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:42.570] <-- textDocument/documentSymbol("64")
I[16:44:42.571] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 5 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:42.578] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:42.580] Reusing preamble version 1 for version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:42.585] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 5
V[16:44:42.606] ASTWorker running DocumentSymbols on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:42.607] --> reply:textDocument/documentSymbol("64") 36 ms
V[16:44:42.607] >>> {"id":"64","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[16:44:42.607] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp, inputs are the same.
V[16:44:42.608] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 5:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 117 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[16:44:42.608] Build dynamic index for main-file symbols with estimated memory usage of 24120 bytes
I[16:44:42.608] --> textDocument/publishDiagnostics
V[16:44:42.608] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"ovl_no_viable_function_in_call","message":"No matching function for call to 'motor1'","range":{"end":{"character":13,"line":163},"start":{"character":7,"line":163}},"relatedInformation":[{"location":{"range":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"},"message":"Candidate function not viable: requires 2 arguments, but 3 were provided"}],"severity":1,"source":"clang"},{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":5}}

V[16:44:42.621] <<< {"id":"65","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:42.621] <-- textDocument/documentSymbol("65")
V[16:44:42.621] ASTWorker running DocumentSymbols on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:42.622] --> reply:textDocument/documentSymbol("65") 0 ms
V[16:44:42.622] >>> {"id":"65","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:42.812] <<< {"id":"66","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":163},"start":{"character":24,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:42.812] <-- textDocument/codeAction("66")
V[16:44:42.812] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:42.812] --> reply:textDocument/codeAction("66") 0 ms
V[16:44:42.812] >>> {"id":"66","jsonrpc":"2.0","result":[]}

V[16:44:43.996] <<< {"id":"67","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:43.996] <-- textDocument/hover("67")
V[16:44:43.996] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:43.997] --> reply:textDocument/hover("67") 1 ms
V[16:44:43.997] >>> {"id":"67","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `motor2`  \n\n---\n→ `void`  \nParameters:  \n- `int steep1`\n- `int steep2`\n\nMotor 2 output definition  \n\n---\n```cpp\nvoid motor2(int steep1, int steep2)\n```"},"range":{"end":{"character":22,"line":164},"start":{"character":16,"line":164}}}}

V[16:44:44.112] <<< {"id":"68","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:44.112] <-- textDocument/documentHighlight("68")
V[16:44:44.113] ASTWorker running Highlights on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:44.113] --> reply:textDocument/documentHighlight("68") 0 ms
V[16:44:44.113] >>> {"id":"68","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"kind":1,"range":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"kind":1,"range":{"end":{"character":14,"line":157},"start":{"character":8,"line":157}}},{"kind":1,"range":{"end":{"character":13,"line":164},"start":{"character":7,"line":164}}},{"kind":1,"range":{"end":{"character":14,"line":171},"start":{"character":8,"line":171}}},{"kind":1,"range":{"end":{"character":14,"line":177},"start":{"character":8,"line":177}}},{"kind":1,"range":{"end":{"character":14,"line":184},"start":{"character":8,"line":184}}}]}

V[16:44:44.362] <<< {"id":"69","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":22,"line":164},"start":{"character":22,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:44.362] <-- textDocument/codeAction("69")
V[16:44:44.362] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:44.362] --> reply:textDocument/codeAction("69") 0 ms
V[16:44:44.362] >>> {"id":"69","jsonrpc":"2.0","result":[]}

V[16:44:45.131] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:45.131] <-- textDocument/didSave
I[16:44:45.131] File version went from 5 to 5
V[16:44:45.131] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(0,speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":6}}}

I[16:44:45.131] <-- textDocument/didChange
V[16:44:45.131] ASTWorker skipping Update (5) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:45.183] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:44:45.183] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:44:45.183] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 6 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:44:45.184] --> window/workDoneProgress/create(1)
V[16:44:45.185] >>> {"id":1,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

V[16:44:45.185] <<< {"id":1,"jsonrpc":"2.0","result":null}

I[16:44:45.185] <-- reply(1)
I[16:44:45.185] --> $/progress
I[16:44:45.185] Enqueueing 26 commands for indexing
V[16:44:45.185] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:44:45.185] --> $/progress
V[16:44:45.185] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:44:45.191] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:45.193] Reusing preamble version 1 for version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:45.216] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 6:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 106 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[16:44:45.216] Build dynamic index for main-file symbols with estimated memory usage of 23768 bytes
I[16:44:45.216] --> textDocument/publishDiagnostics
V[16:44:45.216] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected","message":"Expected ')'","range":{"end":{"character":0,"line":164},"start":{"character":0,"line":164}},"relatedInformation":[{"location":{"range":{"end":{"character":14,"line":163},"start":{"character":13,"line":163}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"},"message":"To match this '('"}],"severity":1,"source":"clang"},{"code":"expected","message":"Expected '}'","range":{"end":{"character":0,"line":164},"start":{"character":0,"line":164}},"relatedInformation":[{"location":{"range":{"end":{"character":5,"line":154},"start":{"character":4,"line":154}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"},"message":"To match this '{'"}],"severity":1,"source":"clang"},{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":6}}

V[16:44:45.233] BackgroundIndex: building version 3 after loading index from disk
V[16:44:45.243] BackgroundIndex: serving version 3 (1779562 bytes)
I[16:44:45.254] --> $/progress
V[16:44:45.254] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:44:45.254] --> $/progress
V[16:44:45.254] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:44:46.055] <<< {"id":"70","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:46.055] <-- textDocument/documentSymbol("70")
V[16:44:46.056] ASTWorker running DocumentSymbols on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:46.057] --> reply:textDocument/documentSymbol("70") 2 ms
V[16:44:46.057] >>> {"id":"70","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":24,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:46.070] <<< {"id":"71","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:46.070] <-- textDocument/documentSymbol("71")
V[16:44:46.070] ASTWorker running DocumentSymbols on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:46.071] --> reply:textDocument/documentSymbol("71") 0 ms
V[16:44:46.071] >>> {"id":"71","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":24,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:46.169] <<< {"id":"72","jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"context":{"isRetrigger":false,"triggerCharacter":",","triggerKind":2},"position":{"character":23,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:46.169] <-- textDocument/signatureHelp("72")
I[16:44:46.191] --> reply:textDocument/signatureHelp("72") 21 ms
V[16:44:46.191] >>> {"id":"72","jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}

V[16:44:46.300] <<< {"id":"73","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":164},"start":{"character":23,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:46.300] <-- textDocument/codeAction("73")
V[16:44:46.300] ASTWorker running EnumerateTweaks on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:46.300] --> reply:textDocument/codeAction("73") 0 ms
V[16:44:46.300] >>> {"id":"73","jsonrpc":"2.0","result":[]}

V[16:44:48.509] <<< {"id":"74","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:48.509] <-- textDocument/documentSymbol("74")
V[16:44:48.509] ASTWorker running DocumentSymbols on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:48.510] --> reply:textDocument/documentSymbol("74") 0 ms
V[16:44:48.510] >>> {"id":"74","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":24,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:48.524] <<< {"id":"75","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:48.524] <-- textDocument/documentSymbol("75")
V[16:44:48.524] ASTWorker running DocumentSymbols on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:48.524] --> reply:textDocument/documentSymbol("75") 0 ms
V[16:44:48.524] >>> {"id":"75","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":24,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:48.759] <<< {"id":"76","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":164},"start":{"character":24,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:48.759] <-- textDocument/codeAction("76")
V[16:44:48.759] ASTWorker running EnumerateTweaks on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:48.759] --> reply:textDocument/codeAction("76") 0 ms
V[16:44:48.759] >>> {"id":"76","jsonrpc":"2.0","result":[]}

V[16:44:51.087] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:51.087] <-- textDocument/didSave
I[16:44:51.087] File version went from 6 to 6
V[16:44:51.087] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(0,speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":7}}}

I[16:44:51.087] <-- textDocument/didChange
V[16:44:51.087] ASTWorker skipping Update (6) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:51.140] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:44:51.140] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:44:51.140] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 7 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:44:51.142] --> window/workDoneProgress/create(2)
V[16:44:51.142] >>> {"id":2,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:44:51.142] Enqueueing 26 commands for indexing
V[16:44:51.142] <<< {"id":2,"jsonrpc":"2.0","result":null}

I[16:44:51.142] <-- reply(2)
I[16:44:51.142] --> $/progress
V[16:44:51.142] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:44:51.142] --> $/progress
V[16:44:51.142] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:44:51.148] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:51.150] Reusing preamble version 1 for version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:51.156] BackgroundIndex: building version 4 after loading index from disk
V[16:44:51.167] BackgroundIndex: serving version 4 (1779562 bytes)
I[16:44:51.174] --> $/progress
V[16:44:51.174] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:44:51.174] --> $/progress
V[16:44:51.174] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:44:55.374] <<< {"id":"77","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":16,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:55.374] <-- textDocument/documentHighlight("77")
V[16:44:55.374] ASTWorker running Highlights on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:55.374] --> reply:textDocument/documentHighlight("77") 0 ms
V[16:44:55.374] >>> {"id":"77","jsonrpc":"2.0","result":[]}

V[16:44:55.618] <<< {"id":"78","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":16,"line":163},"start":{"character":16,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:55.618] <-- textDocument/codeAction("78")
V[16:44:55.618] ASTWorker running EnumerateTweaks on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:55.618] --> reply:textDocument/codeAction("78") 0 ms
V[16:44:55.618] >>> {"id":"78","jsonrpc":"2.0","result":[]}

V[16:44:56.863] <<< {"id":"79","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":16,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:56.863] <-- textDocument/hover("79")
V[16:44:56.864] ASTWorker running Hover on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:56.865] --> reply:textDocument/hover("79") 1 ms
V[16:44:56.865] >>> {"id":"79","jsonrpc":"2.0","result":null}

V[16:44:57.078] <<< {"id":"80","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":15,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:57.078] <-- textDocument/hover("80")
V[16:44:57.078] ASTWorker running Hover on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:57.079] --> reply:textDocument/hover("80") 0 ms
V[16:44:57.079] >>> {"id":"80","jsonrpc":"2.0","result":null}

V[16:44:57.632] <<< {"id":"81","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":16,"line":163},"start":{"character":14,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:57.632] <-- textDocument/codeAction("81")
V[16:44:57.632] ASTWorker running EnumerateTweaks on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:57.632] --> reply:textDocument/codeAction("81") 0 ms
V[16:44:57.632] >>> {"id":"81","jsonrpc":"2.0","result":[]}

V[16:44:57.837] <<< {"id":"82","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":14,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:57.837] <-- textDocument/hover("82")
V[16:44:57.837] ASTWorker running Hover on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:57.838] --> reply:textDocument/hover("82") 0 ms
V[16:44:57.838] >>> {"id":"82","jsonrpc":"2.0","result":null}

V[16:44:58.395] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":16,"line":163},"start":{"character":14,"line":163}},"text":""}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":8}}}

I[16:44:58.395] <-- textDocument/didChange
V[16:44:58.396] <<< {"id":"83","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:58.396] <-- textDocument/documentSymbol("83")
I[16:44:58.396] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 8 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:58.404] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:44:58.406] Reusing preamble version 1 for version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:44:58.412] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 8
V[16:44:58.432] ASTWorker running DocumentSymbols on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:58.433] --> reply:textDocument/documentSymbol("83") 36 ms
V[16:44:58.433] >>> {"id":"83","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[16:44:58.433] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp, inputs are the same.
V[16:44:58.434] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 8:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 106 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[16:44:58.434] Build dynamic index for main-file symbols with estimated memory usage of 23768 bytes
I[16:44:58.434] --> textDocument/publishDiagnostics
V[16:44:58.434] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected","message":"Expected ')'","range":{"end":{"character":0,"line":164},"start":{"character":0,"line":164}},"relatedInformation":[{"location":{"range":{"end":{"character":14,"line":163},"start":{"character":13,"line":163}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"},"message":"To match this '('"}],"severity":1,"source":"clang"},{"code":"expected","message":"Expected '}'","range":{"end":{"character":0,"line":164},"start":{"character":0,"line":164}},"relatedInformation":[{"location":{"range":{"end":{"character":5,"line":154},"start":{"character":4,"line":154}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"},"message":"To match this '{'"}],"severity":1,"source":"clang"},{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":8}}

V[16:44:58.447] <<< {"id":"84","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:58.447] <-- textDocument/documentSymbol("84")
V[16:44:58.447] ASTWorker running DocumentSymbols on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:58.447] --> reply:textDocument/documentSymbol("84") 0 ms
V[16:44:58.448] >>> {"id":"84","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:44:58.644] <<< {"id":"85","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":163},"start":{"character":14,"line":163}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:58.644] <-- textDocument/codeAction("85")
V[16:44:58.644] ASTWorker running EnumerateTweaks on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:58.644] --> reply:textDocument/codeAction("85") 0 ms
V[16:44:58.644] >>> {"id":"85","jsonrpc":"2.0","result":[]}

V[16:44:59.155] <<< {"id":"86","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":27,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:44:59.155] <-- textDocument/hover("86")
V[16:44:59.156] ASTWorker running Hover on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:44:59.156] --> reply:textDocument/hover("86") 0 ms
V[16:44:59.156] >>> {"id":"86","jsonrpc":"2.0","result":null}

V[16:45:01.528] <<< {"id":"87","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":24,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:01.528] <-- textDocument/hover("87")
V[16:45:01.528] ASTWorker running Hover on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:01.528] --> reply:textDocument/hover("87") 0 ms
V[16:45:01.529] >>> {"id":"87","jsonrpc":"2.0","result":null}

V[16:45:01.570] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:01.570] <-- textDocument/didSave
I[16:45:01.570] File version went from 8 to 8
V[16:45:01.571] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":9}}}

I[16:45:01.571] <-- textDocument/didChange
V[16:45:01.571] ASTWorker skipping Update (8) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:45:01.609] <<< {"id":"88","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":24,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:01.609] <-- textDocument/documentHighlight("88")
I[16:45:01.609] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 9 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:45:01.617] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:45:01.617] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:01.617] --> reply:textDocument/documentHighlight("88") 7 ms
V[16:45:01.617] >>> {"id":"88","jsonrpc":"2.0","result":[]}

V[16:45:01.619] Reusing preamble version 1 for version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:45:01.860] <<< {"id":"89","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":164},"start":{"character":24,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:01.861] <-- textDocument/codeAction("89")
V[16:45:01.861] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:01.861] --> reply:textDocument/codeAction("89") 0 ms
V[16:45:01.861] >>> {"id":"89","jsonrpc":"2.0","result":[]}

V[16:45:15.424] <<< {"id":"90","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:15.424] <-- textDocument/documentSymbol("90")
V[16:45:15.426] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:15.427] --> reply:textDocument/documentSymbol("90") 2 ms
V[16:45:15.427] >>> {"id":"90","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:15.441] <<< {"id":"91","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:15.441] <-- textDocument/documentSymbol("91")
V[16:45:15.441] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:15.442] --> reply:textDocument/documentSymbol("91") 1 ms
V[16:45:15.442] >>> {"id":"91","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:15.669] <<< {"id":"92","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":164},"start":{"character":23,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:15.669] <-- textDocument/codeAction("92")
V[16:45:15.669] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:15.669] --> reply:textDocument/codeAction("92") 0 ms
V[16:45:15.669] >>> {"id":"92","jsonrpc":"2.0","result":[]}

V[16:45:17.235] <<< {"id":"93","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:17.235] <-- textDocument/documentSymbol("93")
V[16:45:17.235] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:17.235] --> reply:textDocument/documentSymbol("93") 0 ms
V[16:45:17.235] >>> {"id":"93","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:17.250] <<< {"id":"94","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:17.250] <-- textDocument/documentSymbol("94")
V[16:45:17.250] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:17.250] --> reply:textDocument/documentSymbol("94") 0 ms
V[16:45:17.250] >>> {"id":"94","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:17.478] <<< {"id":"95","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":164},"start":{"character":24,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:17.478] <-- textDocument/codeAction("95")
V[16:45:17.478] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:17.478] --> reply:textDocument/codeAction("95") 0 ms
V[16:45:17.478] >>> {"id":"95","jsonrpc":"2.0","result":[]}

V[16:45:17.966] <<< {"id":"96","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":16,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:17.966] <-- textDocument/hover("96")
V[16:45:17.966] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:17.967] --> reply:textDocument/hover("96") 0 ms
V[16:45:17.967] >>> {"id":"96","jsonrpc":"2.0","result":null}

V[16:45:18.176] <<< {"id":"97","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":16,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:18.176] <-- textDocument/hover("97")
V[16:45:18.176] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:18.177] --> reply:textDocument/hover("97") 0 ms
V[16:45:18.177] >>> {"id":"97","jsonrpc":"2.0","result":null}

V[16:45:18.185] <<< {"id":"98","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":16,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:18.185] <-- textDocument/documentHighlight("98")
V[16:45:18.185] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:18.185] --> reply:textDocument/documentHighlight("98") 0 ms
V[16:45:18.185] >>> {"id":"98","jsonrpc":"2.0","result":[]}

V[16:45:18.677] <<< {"id":"99","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":16,"line":164},"start":{"character":14,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:18.677] <-- textDocument/codeAction("99")
V[16:45:18.677] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:18.677] --> reply:textDocument/codeAction("99") 0 ms
V[16:45:18.677] >>> {"id":"99","jsonrpc":"2.0","result":[]}

V[16:45:18.926] <<< {"id":"100","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":13,"line":164},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:18.926] <-- textDocument/hover("100")
V[16:45:18.926] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:18.927] --> reply:textDocument/hover("100") 0 ms
V[16:45:18.927] >>> {"id":"100","jsonrpc":"2.0","result":null}

V[16:45:19.345] <<< {"id":"101","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:19.345] <-- textDocument/documentSymbol("101")
V[16:45:19.345] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:19.345] --> reply:textDocument/documentSymbol("101") 0 ms
V[16:45:19.345] >>> {"id":"101","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:19.358] <<< {"id":"102","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:19.359] <-- textDocument/documentSymbol("102")
V[16:45:19.359] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:19.359] --> reply:textDocument/documentSymbol("102") 0 ms
V[16:45:19.359] >>> {"id":"102","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:19.588] <<< {"id":"103","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":164},"start":{"character":14,"line":164}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:19.588] <-- textDocument/codeAction("103")
V[16:45:19.588] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:19.588] --> reply:textDocument/codeAction("103") 0 ms
V[16:45:19.588] >>> {"id":"103","jsonrpc":"2.0","result":[]}

V[16:45:21.911] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:21.911] <-- textDocument/didSave
I[16:45:21.911] File version went from 9 to 9
V[16:45:21.911] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":10}}}

I[16:45:21.911] <-- textDocument/didChange
V[16:45:21.911] ASTWorker skipping Update (9) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:21.965] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:45:21.965] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:45:21.965] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 10 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:45:21.967] --> window/workDoneProgress/create(3)
V[16:45:21.967] >>> {"id":3,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:45:21.967] Enqueueing 26 commands for indexing
V[16:45:21.967] <<< {"id":3,"jsonrpc":"2.0","result":null}

I[16:45:21.967] <-- reply(3)
I[16:45:21.967] --> $/progress
V[16:45:21.967] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:45:21.967] --> $/progress
V[16:45:21.967] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:45:21.974] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:45:21.976] Reusing preamble version 1 for version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:45:21.983] BackgroundIndex: building version 5 after loading index from disk
V[16:45:21.994] BackgroundIndex: serving version 5 (1779562 bytes)
I[16:45:22.001] --> $/progress
V[16:45:22.001] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:45:22.001] --> $/progress
V[16:45:22.001] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:45:22.872] <<< {"id":"104","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:22.872] <-- textDocument/documentSymbol("104")
V[16:45:22.872] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:22.872] --> reply:textDocument/documentSymbol("104") 0 ms
V[16:45:22.872] >>> {"id":"104","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:22.886] <<< {"id":"105","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:22.886] <-- textDocument/documentSymbol("105")
V[16:45:22.886] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:22.886] --> reply:textDocument/documentSymbol("105") 0 ms
V[16:45:22.886] >>> {"id":"105","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:24.237] <<< {"id":"106","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:24.237] <-- textDocument/documentSymbol("106")
V[16:45:24.238] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:24.238] --> reply:textDocument/documentSymbol("106") 0 ms
V[16:45:24.238] >>> {"id":"106","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:24.252] <<< {"id":"107","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:24.252] <-- textDocument/documentSymbol("107")
V[16:45:24.252] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:24.252] --> reply:textDocument/documentSymbol("107") 0 ms
V[16:45:24.252] >>> {"id":"107","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:26.111] <<< {"id":"108","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:26.111] <-- textDocument/documentSymbol("108")
V[16:45:26.111] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:26.111] --> reply:textDocument/documentSymbol("108") 0 ms
V[16:45:26.111] >>> {"id":"108","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:26.124] <<< {"id":"109","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:26.124] <-- textDocument/documentSymbol("109")
V[16:45:26.124] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:26.125] --> reply:textDocument/documentSymbol("109") 0 ms
V[16:45:26.125] >>> {"id":"109","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:26.677] <<< {"id":"110","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:26.677] <-- textDocument/documentSymbol("110")
V[16:45:26.677] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:26.678] --> reply:textDocument/documentSymbol("110") 0 ms
V[16:45:26.678] >>> {"id":"110","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:26.692] <<< {"id":"111","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:26.692] <-- textDocument/documentSymbol("111")
V[16:45:26.692] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:26.693] --> reply:textDocument/documentSymbol("111") 0 ms
V[16:45:26.693] >>> {"id":"111","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:27.516] <<< {"id":"112","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:27.516] <-- textDocument/documentSymbol("112")
V[16:45:27.517] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:27.517] --> reply:textDocument/documentSymbol("112") 1 ms
V[16:45:27.518] >>> {"id":"112","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:27.532] <<< {"id":"113","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:27.532] <-- textDocument/documentSymbol("113")
V[16:45:27.532] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:27.532] --> reply:textDocument/documentSymbol("113") 0 ms
V[16:45:27.533] >>> {"id":"113","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:27.877] <<< {"id":"114","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:27.877] <-- textDocument/documentSymbol("114")
V[16:45:27.877] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:27.877] --> reply:textDocument/documentSymbol("114") 0 ms
V[16:45:27.877] >>> {"id":"114","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:27.891] <<< {"id":"115","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:27.891] <-- textDocument/documentSymbol("115")
V[16:45:27.891] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:27.891] --> reply:textDocument/documentSymbol("115") 0 ms
V[16:45:27.892] >>> {"id":"115","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:30.184] <<< {"id":"116","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:30.184] <-- textDocument/documentSymbol("116")
V[16:45:30.184] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:30.185] --> reply:textDocument/documentSymbol("116") 0 ms
V[16:45:30.185] >>> {"id":"116","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:30.199] <<< {"id":"117","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:30.199] <-- textDocument/documentSymbol("117")
V[16:45:30.199] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:30.200] --> reply:textDocument/documentSymbol("117") 0 ms
V[16:45:30.200] >>> {"id":"117","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:31.598] <<< {"id":"118","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:31.598] <-- textDocument/documentSymbol("118")
V[16:45:31.598] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:31.598] --> reply:textDocument/documentSymbol("118") 0 ms
V[16:45:31.598] >>> {"id":"118","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:31.613] <<< {"id":"119","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:31.613] <-- textDocument/documentSymbol("119")
V[16:45:31.613] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:31.614] --> reply:textDocument/documentSymbol("119") 0 ms
V[16:45:31.614] >>> {"id":"119","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":22,"line":163},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[16:45:34.164] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:45:34.164] <-- textDocument/didSave
I[16:45:34.164] File version went from 10 to 10
V[16:45:34.164] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":11}}}

I[16:45:34.164] <-- textDocument/didChange
V[16:45:34.164] ASTWorker skipping Update (10) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:45:34.217] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:45:34.217] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:45:34.217] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 11 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:45:34.218] --> window/workDoneProgress/create(4)
V[16:45:34.218] >>> {"id":4,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:45:34.218] Enqueueing 26 commands for indexing
V[16:45:34.218] <<< {"id":4,"jsonrpc":"2.0","result":null}

I[16:45:34.218] <-- reply(4)
I[16:45:34.218] --> $/progress
V[16:45:34.218] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:45:34.218] --> $/progress
V[16:45:34.218] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:45:34.224] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:45:34.226] Reusing preamble version 1 for version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:45:34.232] BackgroundIndex: building version 6 after loading index from disk
V[16:45:34.243] BackgroundIndex: serving version 6 (1779562 bytes)
I[16:45:34.250] --> $/progress
V[16:45:34.250] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:45:34.250] --> $/progress
V[16:45:34.250] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:46:08.604] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:46:08.604] <-- textDocument/didSave
I[16:46:08.604] File version went from 11 to 11
V[16:46:08.604] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":12}}}

I[16:46:08.604] <-- textDocument/didChange
V[16:46:08.604] ASTWorker skipping Update (11) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:46:08.659] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:46:08.659] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:46:08.659] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 12 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:46:08.660] --> window/workDoneProgress/create(5)
V[16:46:08.660] >>> {"id":5,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:46:08.660] Enqueueing 26 commands for indexing
V[16:46:08.660] <<< {"id":5,"jsonrpc":"2.0","result":null}

I[16:46:08.660] <-- reply(5)
I[16:46:08.660] --> $/progress
V[16:46:08.660] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:46:08.660] --> $/progress
V[16:46:08.660] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:46:08.666] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:46:08.668] Reusing preamble version 1 for version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:46:08.673] BackgroundIndex: building version 7 after loading index from disk
V[16:46:08.684] BackgroundIndex: serving version 7 (1779562 bytes)
I[16:46:08.691] --> $/progress
V[16:46:08.691] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:46:08.691] --> $/progress
V[16:46:08.691] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:46:09.472] <<< {"id":"120","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":40,"line":151},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:46:09.472] <-- textDocument/hover("120")
V[16:46:09.472] ASTWorker running Hover on version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:46:09.473] --> reply:textDocument/hover("120") 1 ms
V[16:46:09.473] >>> {"id":"120","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `speed2`  \n\n---\nType: `int`  \n\n---\n```cpp\n// In motor\nint speed2\n```"},"range":{"end":{"character":42,"line":151},"start":{"character":36,"line":151}}}}

V[16:46:10.338] <<< {"id":"121","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":26,"line":150},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:46:10.338] <-- textDocument/hover("121")
V[16:46:10.338] ASTWorker running Hover on version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:46:10.339] --> reply:textDocument/hover("121") 0 ms
V[16:46:10.339] >>> {"id":"121","jsonrpc":"2.0","result":null}

V[16:46:23.391] <<< {"id":"122","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":26,"line":103},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:46:23.391] <-- textDocument/hover("122")
V[16:46:23.392] ASTWorker running Hover on version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:46:23.393] --> reply:textDocument/hover("122") 2 ms
V[16:46:23.393] >>> {"id":"122","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `GetDistance`  \n\n---\n→ `float`  \nFunction: obtain ultrasonic sensor ranging data Parameters: Trig, Echo Parameter description: sensor connected to the motherboard pin port A4,A5 Trig -------> pin A4 Echo -------> pin A5  \n\n---\n```cpp\nfloat GetDistance()\n```"},"range":{"end":{"character":26,"line":103},"start":{"character":15,"line":103}}}}

V[16:46:42.853] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:46:42.853] <-- textDocument/didSave
I[16:46:42.853] File version went from 12 to 12
V[16:46:42.853] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":13}}}

I[16:46:42.853] <-- textDocument/didChange
V[16:46:42.853] ASTWorker skipping Update (12) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:46:42.907] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:46:42.907] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:46:42.907] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 13 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:46:42.909] --> window/workDoneProgress/create(6)
V[16:46:42.909] >>> {"id":6,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:46:42.909] Enqueueing 26 commands for indexing
V[16:46:42.909] <<< {"id":6,"jsonrpc":"2.0","result":null}

I[16:46:42.909] <-- reply(6)
I[16:46:42.909] --> $/progress
V[16:46:42.909] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:46:42.909] --> $/progress
V[16:46:42.909] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:46:42.916] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:46:42.918] Reusing preamble version 1 for version 13 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:46:42.922] BackgroundIndex: building version 8 after loading index from disk
V[16:46:42.933] BackgroundIndex: serving version 8 (1779562 bytes)
I[16:46:42.940] --> $/progress
V[16:46:42.940] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:46:42.940] --> $/progress
V[16:46:42.940] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:47:21.584] <<< {"id":"123","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":148},"start":{"character":1,"line":148}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:47:21.584] <-- textDocument/codeAction("123")
V[16:47:21.585] ASTWorker running EnumerateTweaks on version 13 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:47:21.585] --> reply:textDocument/codeAction("123") 1 ms
V[16:47:21.585] >>> {"id":"123","jsonrpc":"2.0","result":[]}

V[16:47:22.481] <<< {"id":"124","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":39,"line":150},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:47:22.481] <-- textDocument/hover("124")
V[16:47:22.482] ASTWorker running Hover on version 13 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:47:22.482] --> reply:textDocument/hover("124") 0 ms
V[16:47:22.482] >>> {"id":"124","jsonrpc":"2.0","result":null}

V[16:47:25.281] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:47:25.281] <-- textDocument/didSave
I[16:47:25.281] File version went from 13 to 13
V[16:47:25.281] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":14}}}

I[16:47:25.281] <-- textDocument/didChange
V[16:47:25.281] ASTWorker skipping Update (13) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:47:25.348] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[16:47:25.348] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[16:47:25.348] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 14 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[16:47:25.349] --> window/workDoneProgress/create(7)
V[16:47:25.349] >>> {"id":7,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[16:47:25.349] Enqueueing 26 commands for indexing
V[16:47:25.349] <<< {"id":7,"jsonrpc":"2.0","result":null}

I[16:47:25.349] <-- reply(7)
I[16:47:25.349] --> $/progress
V[16:47:25.349] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[16:47:25.349] --> $/progress
V[16:47:25.349] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[16:47:25.356] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[16:47:25.357] Reusing preamble version 1 for version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[16:47:25.363] BackgroundIndex: building version 9 after loading index from disk
V[16:47:25.374] BackgroundIndex: serving version 9 (1779562 bytes)
I[16:47:25.381] --> $/progress
V[16:47:25.381] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[16:47:25.381] --> $/progress
V[16:47:25.381] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[16:51:45.771] <<< {"id":"125","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":156},"start":{"character":21,"line":156}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:51:45.771] <-- textDocument/codeAction("125")
V[16:51:45.772] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:51:45.772] --> reply:textDocument/codeAction("125") 1 ms
V[16:51:45.772] >>> {"id":"125","jsonrpc":"2.0","result":[]}

V[16:51:46.635] <<< {"id":"126","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":157},"start":{"character":21,"line":157}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[16:51:46.635] <-- textDocument/codeAction("126")
V[16:51:46.635] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[16:51:46.635] --> reply:textDocument/codeAction("126") 0 ms
V[16:51:46.636] >>> {"id":"126","jsonrpc":"2.0","result":[]}

V[17:03:31.481] <<< {"id":"127","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":155},"start":{"character":14,"line":155}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:31.481] <-- textDocument/codeAction("127")
V[17:03:31.482] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:31.482] --> reply:textDocument/codeAction("127") 1 ms
V[17:03:31.482] >>> {"id":"127","jsonrpc":"2.0","result":[]}

V[17:03:35.757] <<< {"id":"128","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":157},"start":{"character":21,"line":157}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:35.757] <-- textDocument/codeAction("128")
V[17:03:35.757] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:35.757] --> reply:textDocument/codeAction("128") 0 ms
V[17:03:35.757] >>> {"id":"128","jsonrpc":"2.0","result":[]}

V[17:03:36.280] <<< {"id":"129","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":156},"start":{"character":21,"line":156}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:36.280] <-- textDocument/codeAction("129")
V[17:03:36.280] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:36.280] --> reply:textDocument/codeAction("129") 0 ms
V[17:03:36.280] >>> {"id":"129","jsonrpc":"2.0","result":[]}

V[17:03:36.873] <<< {"id":"130","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":155},"start":{"character":14,"line":155}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:36.873] <-- textDocument/codeAction("130")
V[17:03:36.874] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:36.874] --> reply:textDocument/codeAction("130") 1 ms
V[17:03:36.874] >>> {"id":"130","jsonrpc":"2.0","result":[]}

V[17:03:37.322] <<< {"id":"131","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":157},"start":{"character":21,"line":157}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:37.322] <-- textDocument/codeAction("131")
V[17:03:37.322] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:37.322] --> reply:textDocument/codeAction("131") 0 ms
V[17:03:37.322] >>> {"id":"131","jsonrpc":"2.0","result":[]}

V[17:03:37.889] <<< {"id":"132","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":156},"start":{"character":21,"line":156}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:37.889] <-- textDocument/codeAction("132")
V[17:03:37.889] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:37.889] --> reply:textDocument/codeAction("132") 0 ms
V[17:03:37.889] >>> {"id":"132","jsonrpc":"2.0","result":[]}

V[17:03:38.286] <<< {"id":"133","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":157},"start":{"character":21,"line":157}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:03:38.286] <-- textDocument/codeAction("133")
V[17:03:38.286] ASTWorker running EnumerateTweaks on version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:03:38.286] --> reply:textDocument/codeAction("133") 0 ms
V[17:03:38.286] >>> {"id":"133","jsonrpc":"2.0","result":[]}

V[17:05:04.844] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:04.844] <-- textDocument/didSave
I[17:05:04.844] File version went from 14 to 14
V[17:05:04.845] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":15}}}

I[17:05:04.845] <-- textDocument/didChange
V[17:05:04.845] ASTWorker skipping Update (14) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:04.911] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[17:05:04.911] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[17:05:04.911] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 15 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[17:05:04.912] --> window/workDoneProgress/create(8)
V[17:05:04.912] >>> {"id":8,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[17:05:04.912] Enqueueing 26 commands for indexing
V[17:05:04.913] <<< {"id":8,"jsonrpc":"2.0","result":null}

I[17:05:04.913] <-- reply(8)
I[17:05:04.913] --> $/progress
V[17:05:04.913] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[17:05:04.913] --> $/progress
V[17:05:04.913] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[17:05:04.919] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[17:05:04.921] Reusing preamble version 1 for version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[17:05:04.926] BackgroundIndex: building version 10 after loading index from disk
V[17:05:04.937] BackgroundIndex: serving version 10 (1779562 bytes)
I[17:05:04.944] --> $/progress
V[17:05:04.944] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[17:05:04.944] --> $/progress
V[17:05:04.944] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[17:05:16.457] <<< {"id":"134","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":44,"line":137},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:16.457] <-- textDocument/documentHighlight("134")
V[17:05:16.458] ASTWorker running Highlights on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:16.459] --> reply:textDocument/documentHighlight("134") 1 ms
V[17:05:16.459] >>> {"id":"134","jsonrpc":"2.0","result":[]}

V[17:05:16.714] <<< {"id":"135","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":44,"line":137},"start":{"character":44,"line":137}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:16.714] <-- textDocument/codeAction("135")
V[17:05:16.714] ASTWorker running EnumerateTweaks on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:16.714] --> reply:textDocument/codeAction("135") 0 ms
V[17:05:16.714] >>> {"id":"135","jsonrpc":"2.0","result":[]}

V[17:05:26.536] <<< {"id":"136","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":20,"line":62},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:26.536] <-- textDocument/documentHighlight("136")
V[17:05:26.537] ASTWorker running Highlights on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:26.537] --> reply:textDocument/documentHighlight("136") 1 ms
V[17:05:26.537] >>> {"id":"136","jsonrpc":"2.0","result":[]}

V[17:05:26.786] <<< {"id":"137","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":20,"line":62},"start":{"character":20,"line":62}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:26.786] <-- textDocument/codeAction("137")
V[17:05:26.786] ASTWorker running EnumerateTweaks on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:26.786] --> reply:textDocument/codeAction("137") 0 ms
V[17:05:26.786] >>> {"id":"137","jsonrpc":"2.0","result":[]}

V[17:05:47.365] <<< {"id":"138","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":18,"line":16},"start":{"character":18,"line":16}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:47.365] <-- textDocument/codeAction("138")
V[17:05:47.366] ASTWorker running EnumerateTweaks on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:47.366] --> reply:textDocument/codeAction("138") 1 ms
V[17:05:47.366] >>> {"id":"138","jsonrpc":"2.0","result":[]}

V[17:05:50.736] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:05:50.737] <-- textDocument/didSave
I[17:05:50.737] File version went from 15 to 15
V[17:05:50.737] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp","version":16}}}

I[17:05:50.737] <-- textDocument/didChange
V[17:05:50.737] ASTWorker skipping Update (15) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:05:50.789] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\compile_commands.json
V[17:05:50.790] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477
I[17:05:50.790] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp version 16 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
I[17:05:50.791] --> window/workDoneProgress/create(9)
V[17:05:50.791] >>> {"id":9,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[17:05:50.791] Enqueueing 26 commands for indexing
V[17:05:50.791] <<< {"id":9,"jsonrpc":"2.0","result":null}

I[17:05:50.791] <-- reply(9)
I[17:05:50.791] --> $/progress
V[17:05:50.791] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[17:05:50.791] --> $/progress
V[17:05:50.791] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[17:05:50.797] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server215188477\\sketch\\avoidance.ino.cpp"
V[17:05:50.799] Reusing preamble version 1 for version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
V[17:05:50.805] BackgroundIndex: building version 11 after loading index from disk
V[17:05:50.815] BackgroundIndex: serving version 11 (1779562 bytes)
I[17:05:50.822] --> $/progress
V[17:05:50.822] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[17:05:50.822] --> $/progress
V[17:05:50.822] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[17:10:32.971] <<< {"id":"139","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":27,"line":85},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:10:32.971] <-- textDocument/documentHighlight("139")
V[17:10:32.972] ASTWorker running Highlights on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:10:32.972] --> reply:textDocument/documentHighlight("139") 1 ms
V[17:10:32.972] >>> {"id":"139","jsonrpc":"2.0","result":[]}

V[17:10:33.220] <<< {"id":"140","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":85},"start":{"character":27,"line":85}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:10:33.220] <-- textDocument/codeAction("140")
V[17:10:33.220] ASTWorker running EnumerateTweaks on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:10:33.220] --> reply:textDocument/codeAction("140") 0 ms
V[17:10:33.220] >>> {"id":"140","jsonrpc":"2.0","result":[]}

V[17:12:14.732] <<< {"id":"141","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":2,"line":83},"start":{"character":2,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:12:14.732] <-- textDocument/codeAction("141")
V[17:12:14.733] ASTWorker running EnumerateTweaks on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:12:14.733] --> reply:textDocument/codeAction("141") 1 ms
V[17:12:14.733] >>> {"id":"141","jsonrpc":"2.0","result":[]}

V[17:12:44.048] <<< {"id":"142","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":27,"line":85},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:12:44.048] <-- textDocument/documentHighlight("142")
V[17:12:44.049] ASTWorker running Highlights on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:12:44.049] --> reply:textDocument/documentHighlight("142") 1 ms
V[17:12:44.049] >>> {"id":"142","jsonrpc":"2.0","result":[]}

V[17:12:44.308] <<< {"id":"143","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":85},"start":{"character":27,"line":85}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server215188477/sketch/avoidance.ino.cpp"}}}

I[17:12:44.308] <-- textDocument/codeAction("143")
V[17:12:44.308] ASTWorker running EnumerateTweaks on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server215188477\sketch\avoidance.ino.cpp
I[17:12:44.308] --> reply:textDocument/codeAction("143") 0 ms
V[17:12:44.308] >>> {"id":"143","jsonrpc":"2.0","result":[]}

V[18:48:25.960] <<< {"id":"144","jsonrpc":"2.0","method":"shutdown","params":null}

I[18:48:25.960] <-- shutdown("144")
I[18:48:25.960] --> reply:shutdown("144") 0 ms
V[18:48:25.960] >>> {"id":"144","jsonrpc":"2.0","result":null}








Started logging.
I[08:57:47.879] clangd version 14.0.0
I[08:57:47.880] Features: windows
I[08:57:47.880] PID: 7784
I[08:57:47.880] Working directory: e:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance
I[08:57:47.880] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[08:57:47.880] argv[1]: -log=verbose
I[08:57:47.880] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985
I[08:57:47.880] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[08:57:47.884] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[08:57:47.884] Starting LSP over stdin/stdout
V[08:57:47.884] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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]},"contextSupport":true,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":16372,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2215796985\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch","trace":"off","workspaceFolders":[{"name":"avoidance","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0055%29Mini%20DIY%20obstacle%20avoidance%20car/ZYC0055/Part2.0%20Module%20learning/code/avoidance"}]}}

I[08:57:47.884] <-- initialize("1")
I[08:57:47.901] --> reply:initialize("1") 16 ms
V[08:57:47.901] >>> {"id":"1","jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 14.0.0 windows x86_64-pc-windows-msvc"}}}

V[08:57:47.901] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[08:57:47.901] <-- initialized
V[08:57:47.904] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0); //If the circuit is not connected correctly, modify here to correct the motor direction\n       motor2(speed2,0); \n       \n        break;\n\n    case back:  //Back up\n        \n        motor1(0,speed1);\n        motor2(0,speed2);\n        \n        break;\n\n    case left:   //Turn left\n        motor1(0, speed1);\n        motor2(speed2, 0);\n        \n        break;\n\n    case right:   //Turn right\n        \n        motor1(speed1, 0);\n        motor2(0, speed2);\n       \n        break;\n    \n    default:\n        break;\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch/avoidance.ino.cpp","version":1}}}

I[08:57:47.904] <-- textDocument/didOpen
V[08:57:47.905] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\.clangd:1:0: Parsing config fragment
V[08:57:47.905] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\.clangd:1:0: Parsed 1 fragments from file
V[08:57:47.905] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\.clangd:1 -> 0x0000025F493B6050 (trusted=false)
I[08:57:47.905] --> textDocument/publishDiagnostics
V[08:57:47.906] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/.clangd"}}

I[08:57:47.906] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\compile_commands.json
V[08:57:47.906] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985
I[08:57:47.907] --> window/workDoneProgress/create(0)
V[08:57:47.907] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[08:57:47.907] Enqueueing 26 commands for indexing
V[08:57:47.907] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[08:57:47.907] <-- reply(0)
I[08:57:47.907] --> $/progress
V[08:57:47.907] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[08:57:47.907] --> $/progress
V[08:57:47.907] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[08:57:47.908] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[08:57:47.909] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[08:57:47.909] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[08:57:47.909] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp
V[08:57:47.909] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[08:57:47.909] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[08:57:47.909] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[08:57:47.911] --> $/progress
V[08:57:47.911] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[08:57:47.911] --> $/progress
V[08:57:47.911] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[08:57:47.911] --> $/progress
V[08:57:47.911] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[08:57:47.911] --> $/progress
V[08:57:47.912] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[08:57:47.912] --> $/progress
V[08:57:47.912] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[08:57:47.912] --> $/progress
V[08:57:47.912] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[08:57:47.912] --> $/progress
V[08:57:47.912] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[08:57:47.912] --> $/progress
V[08:57:47.912] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[08:57:47.984] System include extraction: target extracted: "avr"
V[08:57:47.984] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:47.984] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:47.984] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:47.984] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:57:47.984] System include extraction: target extracted: "avr"
V[08:57:47.984] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:47.984] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:47.984] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:47.984] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[08:57:47.985] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp version 1 with command 
[E:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2215796985\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2215796985\\sketch\\avoidance.ino.cpp"
V[08:57:47.985] System include extraction: target extracted: "avr"
V[08:57:47.985] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:47.985] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:47.985] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:47.985] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:57:47.985] System include extraction: target extracted: "avr"
V[08:57:47.985] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:47.985] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:47.985] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:47.985] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:57:47.986] System include extraction: target extracted: "avr"
V[08:57:47.986] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:47.986] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:47.986] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:47.986] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:57:47.993] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2215796985\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2215796985\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYC0055)Mini DIY obstacle avoidance car\\ZYC0055\\Part2.0 Module learning\\code\\avoidance" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2215796985\\sketch\\avoidance.ino.cpp"
V[08:57:47.993] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp version 1
V[08:57:48.000] System include extraction: target extracted: "avr"
V[08:57:48.000] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:48.000] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:48.000] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:48.000] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:57:48.001] System include extraction: target extracted: "avr"
V[08:57:48.001] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:57:48.001] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:57:48.001] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:57:48.001] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:57:48.048] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp version 1:
  symbol slab: 2507 symbols, 713262 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
V[08:57:48.075] Build dynamic index for header symbols with estimated memory usage of 2168978 bytes
V[08:57:48.091] Built preamble of size 429092 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp version 1
V[08:57:48.113] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp version 1:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 117 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[08:57:48.113] Build dynamic index for main-file symbols with estimated memory usage of 24120 bytes
I[08:57:48.113] --> textDocument/publishDiagnostics
V[08:57:48.113] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch/avoidance.ino.cpp","version":1}}

V[08:57:55.181] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp (digest:=A37B2823615D8FF0)
V[08:57:55.181] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
V[08:57:55.181] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[08:57:55.181] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
V[08:57:55.181] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
V[08:57:55.181] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[08:57:55.653] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[08:57:55.908] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[08:57:56.907] --> $/progress
V[08:57:56.907] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[08:57:56.907] --> $/progress
V[08:57:56.907] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

V[08:57:56.909] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
I[08:57:59.131] --> $/progress
V[08:57:59.131] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[08:57:59.131] --> $/progress
V[08:57:59.131] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[08:57:59.132] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
I[08:57:59.222] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (299 symbols, 2470 refs, 18 files)
V[08:57:59.348] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
I[08:57:59.359] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (596 symbols, 3429 refs, 37 files)
I[08:57:59.364] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp (609 symbols, 3520 refs, 36 files)
I[08:57:59.517] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (620 symbols, 3568 refs, 37 files)
V[08:57:59.589] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[08:57:59.602] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (602 symbols, 3518 refs, 38 files)
I[08:57:59.602] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
I[08:58:00.363] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (272 symbols, 2724 refs, 26 files)
I[08:58:01.159] --> $/progress
V[08:58:01.159] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[08:58:01.159] --> $/progress
V[08:58:01.159] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

V[08:58:01.161] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
I[08:58:01.215] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (300 symbols, 2925 refs, 38 files)
I[08:58:01.253] --> $/progress
V[08:58:01.253] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[08:58:01.253] --> $/progress
V[08:58:01.253] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

V[08:58:01.254] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
I[08:58:01.326] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (351 symbols, 3081 refs, 36 files)
I[08:58:01.520] --> $/progress
V[08:58:01.520] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[08:58:01.520] --> $/progress
V[08:58:01.520] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[08:58:01.520] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[08:58:01.613] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (595 symbols, 3615 refs, 36 files)
V[08:58:01.646] BackgroundIndex: building version 1 after indexing enough files
V[08:58:01.655] BackgroundIndex: serving version 1 (1531114 bytes)
I[08:58:01.656] --> $/progress
V[08:58:01.656] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[08:58:01.656] --> $/progress
V[08:58:01.656] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

V[08:58:01.656] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
I[08:58:01.676] --> $/progress
V[08:58:01.676] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[08:58:01.676] --> $/progress
V[08:58:01.676] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

V[08:58:01.678] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
I[08:58:01.691] --> $/progress
V[08:58:01.691] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[08:58:01.691] --> $/progress
V[08:58:01.691] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

V[08:58:01.692] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[08:58:01.726] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (598 symbols, 3428 refs, 37 files)
I[08:58:01.742] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (600 symbols, 3462 refs, 38 files)
I[08:58:01.780] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (602 symbols, 3437 refs, 36 files)
I[08:58:01.862] --> $/progress
V[08:58:01.862] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[08:58:01.862] --> $/progress
V[08:58:01.862] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[08:58:01.864] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
I[08:58:01.868] --> $/progress
V[08:58:01.868] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[08:58:01.868] --> $/progress
V[08:58:01.869] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

V[08:58:01.869] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[08:58:01.930] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (601 symbols, 3491 refs, 38 files)
I[08:58:01.936] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (602 symbols, 3679 refs, 39 files)
I[08:58:02.414] --> $/progress
V[08:58:02.414] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[08:58:02.414] --> $/progress
V[08:58:02.414] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

V[08:58:02.414] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
I[08:58:02.452] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (307 symbols, 2664 refs, 26 files)
I[08:58:02.644] --> $/progress
V[08:58:02.644] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[08:58:02.644] --> $/progress
V[08:58:02.644] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

V[08:58:02.645] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
I[08:58:02.647] --> $/progress
V[08:58:02.647] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[08:58:02.647] --> $/progress
V[08:58:02.647] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

V[08:58:02.647] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[08:58:02.649] --> $/progress
V[08:58:02.649] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[08:58:02.649] --> $/progress
V[08:58:02.649] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

V[08:58:02.650] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[08:58:02.656] --> $/progress
V[08:58:02.656] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[08:58:02.656] --> $/progress
V[08:58:02.656] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

V[08:58:02.659] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
I[08:58:02.660] --> $/progress
V[08:58:02.660] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[08:58:02.660] --> $/progress
V[08:58:02.660] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

V[08:58:02.662] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
I[08:58:02.695] --> $/progress
V[08:58:02.695] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[08:58:02.695] --> $/progress
V[08:58:02.695] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[08:58:02.696] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
I[08:58:02.700] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (307 symbols, 2638 refs, 26 files)
I[08:58:02.708] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (309 symbols, 2689 refs, 26 files)
I[08:58:02.708] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (308 symbols, 2893 refs, 26 files)
I[08:58:02.712] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (308 symbols, 2724 refs, 26 files)
I[08:58:02.714] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (61 symbols, 201 refs, 5 files)
I[08:58:02.717] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (600 symbols, 3462 refs, 38 files)
I[08:58:02.802] --> $/progress
V[08:58:02.802] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[08:58:02.802] --> $/progress
V[08:58:02.802] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

V[08:58:02.829] System include extraction: target extracted: "avr"
V[08:58:02.829] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[08:58:02.829] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[08:58:02.829] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[08:58:02.829] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[08:58:02.829] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[08:58:02.850] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[08:58:02.851] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[08:58:02.851] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[08:58:02.851] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[08:58:02.851] Ignored diagnostic. too many errors emitted, stopping now
I[08:58:02.853] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[08:58:02.853] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[08:58:02.895] --> $/progress
V[08:58:02.895] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[08:58:02.895] --> $/progress
V[08:58:02.895] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

V[08:58:02.896] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
I[08:58:02.959] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (600 symbols, 3545 refs, 36 files)
I[08:58:03.235] --> $/progress
V[08:58:03.235] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[08:58:03.235] --> $/progress
V[08:58:03.235] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[08:58:03.236] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
I[08:58:03.251] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (42 symbols, 134 refs, 3 files)
I[08:58:03.284] --> $/progress
V[08:58:03.284] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

I[08:58:03.345] --> $/progress
V[08:58:03.345] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

I[08:58:03.499] --> $/progress
V[08:58:03.499] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[08:58:03.660] --> $/progress
V[08:58:03.660] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[08:58:04.026] --> $/progress
V[08:58:04.026] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

V[08:58:04.037] BackgroundIndex: building version 2 when background indexer is idle
V[08:58:04.048] BackgroundIndex: serving version 2 (1779786 bytes)
I[08:58:04.049] --> $/progress
V[08:58:04.049] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[09:56:21.067] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":17,"line":18},"start":{"character":17,"line":18}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch/avoidance.ino.cpp"}}}

I[09:56:21.067] <-- textDocument/codeAction("2")
V[09:56:21.069] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp
I[09:56:21.069] --> reply:textDocument/codeAction("2") 2 ms
V[09:56:21.069] >>> {"id":"2","jsonrpc":"2.0","result":[]}

V[09:56:21.685] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":17},"start":{"character":27,"line":17}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch/avoidance.ino.cpp"}}}

I[09:56:21.685] <-- textDocument/codeAction("3")
V[09:56:21.686] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp
I[09:56:21.686] --> reply:textDocument/codeAction("3") 0 ms
V[09:56:21.686] >>> {"id":"3","jsonrpc":"2.0","result":[]}

V[09:56:22.108] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":18,"line":16},"start":{"character":18,"line":16}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch/avoidance.ino.cpp"}}}

I[09:56:22.108] <-- textDocument/codeAction("4")
V[09:56:22.108] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp
I[09:56:22.108] --> reply:textDocument/codeAction("4") 0 ms
V[09:56:22.108] >>> {"id":"4","jsonrpc":"2.0","result":[]}

V[09:57:11.012] <<< {"id":"5","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":3},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2215796985/sketch/avoidance.ino.cpp"}}}

I[09:57:11.012] <-- textDocument/hover("5")
V[09:57:11.013] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2215796985\sketch\avoidance.ino.cpp
I[09:57:11.014] --> reply:textDocument/hover("5") 1 ms
V[09:57:11.014] >>> {"id":"5","jsonrpc":"2.0","result":null}

V[09:57:21.458] <<< {"id":"6","jsonrpc":"2.0","method":"shutdown","params":null}

I[09:57:21.458] <-- shutdown("6")
I[09:57:21.458] --> reply:shutdown("6") 0 ms
V[09:57:21.458] >>> {"id":"6","jsonrpc":"2.0","result":null}








Started logging.
I[11:33:11.164] clangd version 14.0.0
I[11:33:11.165] Features: windows
I[11:33:11.165] PID: 17816
I[11:33:11.165] Working directory: e:\5-教程\1.tutorial\ZYC0055)Mini DIY obstacle avoidance car\ZYC0055\Part2.0 Module learning\code\avoidance
I[11:33:11.165] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[11:33:11.165] argv[1]: -log=verbose
I[11:33:11.165] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168
I[11:33:11.165] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[11:33:11.169] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[11:33:11.169] Starting LSP over stdin/stdout
V[11:33:11.169] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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]},"contextSupport":true,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":12948,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3210763168\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch","trace":"off","workspaceFolders":[{"name":"avoidance","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0055%29Mini%20DIY%20obstacle%20avoidance%20car/ZYC0055/Part2.0%20Module%20learning/code/avoidance"}]}}

I[11:33:11.169] <-- initialize("1")
I[11:33:11.188] --> reply:initialize("1") 18 ms
V[11:33:11.188] >>> {"id":"1","jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 14.0.0 windows x86_64-pc-windows-msvc"}}}

V[11:33:11.189] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[11:33:11.189] <-- initialized
V[11:33:11.191] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\n//2021.6.7\n//Define the direction of car movement\n#define  stop     0\n#define  forward  1\n#define  back     2\n#define  left     3\n#define  right    4\n\n//Definition of ultrasonic pin\n#define  Trig A4 \n#define  Echo A5\n\n//Data variable definition\nint MotSpeed1 = 0; \nint MotSpeed2 = 0;\nint Speed_adjustment = 120;\nint stop_bit = 0;\n\n//Program initialization\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid loop();\n#line 49 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nfloat GetDistance();\n#line 70 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor1(int steep1, int steep2);\n#line 77 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor2(int steep1, int steep2);\n#line 84 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid avoidance(int set_dis);\n#line 135 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid motor(int dir ,int speed1, int speed2);\n#line 20 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\avoidance\\\\avoidance.ino\"\nvoid setup()  \n{\n    Serial.begin(9600); \n\n    pinMode(5, OUTPUT);\n    pinMode(6, OUTPUT);\n    pinMode(9, OUTPUT);\n    pinMode(10, OUTPUT);\n\n    pinMode(Trig,OUTPUT);   \n    pinMode(Echo,INPUT); \n    // Define ultrasonic sensor pins\n    \n\n}\n\n//Principal function\nvoid loop()\n{ \n   avoidance(18);  //In brackets is the obstacle avoidance distance in cm\n}\n\n/*\nFunction: obtain ultrasonic sensor ranging data\nParameters: Trig, Echo\nParameter description: sensor connected to the motherboard pin port A4,A5\nTrig -------> pin A4\nEcho -------> pin A5\n*/\nfloat GetDistance()\n{\n    float distance;\n  \n\tdigitalWrite(Trig, LOW); \n\tdelayMicroseconds(2); \n\tdigitalWrite(Trig, HIGH); \n\tdelayMicroseconds(10);\n\tdigitalWrite(Trig, LOW);\n\n  distance = pulseIn(Echo, HIGH) / 58.00;\n     \n\treturn distance;  //Return distance\n}\n\n/*\n* Function: Obstacle avoidance\n* Parameter: set_dis sets the obstacle avoidance distance\n*/\n\n//Motor 1 output definition\nvoid motor1(int steep1, int steep2) \n{\n   analogWrite(5,steep1);\n   analogWrite(6,steep2); \n}\n\n//Motor 2 output definition\nvoid motor2(int steep1, int steep2)\n{\n   analogWrite(9,steep1);\n   analogWrite(10,steep2); \n}\n\n//Obstacle avoidance function\nvoid avoidance(int set_dis)\n{\n    int distance;\n    distance = GetDistance(); \n    Serial.println(distance);  //Print distance in serial port\n    if(distance < 30)     //Judge that the distance is less than 40cm and start to decelerate\n    {\n\t  Speed_adjustment--;\n\t  //delay(5);     //Car deceleration speed\n\t  if(Speed_adjustment<=120)Speed_adjustment=120;\n      MotSpeed1 = Speed_adjustment+20;  //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n\n   if(distance > 30)  //Judge if the distance is more than 40cm and start to accelerate\n    {\n\t  Speed_adjustment++;\n\t  //delay(5);\n\t  if(Speed_adjustment>=235)Speed_adjustment=235; //The maximum limit is 255\n      MotSpeed1 = Speed_adjustment+20; //In order to make up for the car's yaw, a value can be added according to the actual situation //as:Speed_adjustment+20\n      MotSpeed2 = Speed_adjustment;\n    }\n     \n\tif(distance < set_dis)  //Judge that the car is less than the obstacle avoidance distance and start to turn backward\n\t{\n\t\tdelay(10);\n\t\tdistance = GetDistance(); \n\t\tif(distance < set_dis)\n\t\t{\n\t\t\tif(stop_bit==0)\n\t\t\t{\n\t\t\t\tmotor(stop,0,0);//stop\n\t\t\t\tdelay(300);\n\t\t\t\tstop_bit=1;\n\t\t\t}\n\t\t\tmotor(back,140,140); //Car back\n\t\t\tdelay(600);\n\t\t\tmotor(left,140,140); //The car turns left\n\t\t\tdelay(200);          \n\t\t\tSpeed_adjustment=120;\n\t\t}\n\t}\n    else\n    {\n        motor(forward,MotSpeed1,MotSpeed2);//If there is no less than the obstacle avoidance distance, move forward\n\t\t    stop_bit=0;\n    }\n  \n}\n\n//Motor direction function to determine the direction of the car\nvoid motor(int dir ,int speed1, int speed2)  \n{  \n    switch (dir)\n    {\n    case stop:\n        motor1(0, 0);\n        motor2(0, 0);\n       \n        break;\n\n    case forward:  //Go ahead\n       \n       motor1(speed1,0); //If the circuit is not connected correctly, modify here to correct the motor direction\n       motor2(speed2,0); \n       \n        break;\n\n    case back:  //Back up\n        \n        motor1(0,speed1);\n        motor2(0,speed2);\n        \n        break;\n\n    case left:   //Turn left\n        motor1(0, speed1);\n        motor2(speed2, 0);\n        \n        break;\n\n    case right:   //Turn right\n        \n        motor1(speed1, 0);\n        motor2(0, speed2);\n       \n        break;\n    \n    default:\n        break;\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp","version":1}}}

I[11:33:11.191] <-- textDocument/didOpen
V[11:33:11.192] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:11.192] <-- textDocument/documentSymbol("2")
V[11:33:11.193] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\.clangd:1:0: Parsing config fragment
V[11:33:11.193] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\.clangd:1:0: Parsed 1 fragments from file
V[11:33:11.193] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\.clangd:1 -> 0x0000013FA6B46870 (trusted=false)
I[11:33:11.193] --> textDocument/publishDiagnostics
V[11:33:11.193] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/.clangd"}}

I[11:33:11.194] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\compile_commands.json
V[11:33:11.194] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168
I[11:33:11.195] --> window/workDoneProgress/create(0)
V[11:33:11.195] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[11:33:11.195] Enqueueing 26 commands for indexing
V[11:33:11.195] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[11:33:11.195] <-- reply(0)
I[11:33:11.195] --> $/progress
V[11:33:11.195] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[11:33:11.195] --> $/progress
V[11:33:11.195] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[11:33:11.196] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[11:33:11.197] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[11:33:11.207] --> $/progress
V[11:33:11.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[11:33:11.207] --> $/progress
V[11:33:11.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[11:33:11.207] --> $/progress
V[11:33:11.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[11:33:11.207] --> $/progress
V[11:33:11.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[11:33:11.207] --> $/progress
V[11:33:11.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[11:33:11.207] --> $/progress
V[11:33:11.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[11:33:11.207] --> $/progress
V[11:33:11.208] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[11:33:11.208] --> $/progress
V[11:33:11.208] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[11:33:11.228] System include extraction: target extracted: "avr"
V[11:33:11.228] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.228] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.228] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.228] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[11:33:11.229] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp version 1 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3210763168\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3210763168\\sketch\\avoidance.ino.cpp"
V[11:33:11.239] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name avoidance.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3210763168\\sketch\\avoidance.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3210763168\\sketch\\avoidance.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_NANO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\eightanaloginputs" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3210763168\\sketch\\avoidance.ino.cpp"
V[11:33:11.239] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp version 1
V[11:33:11.241] System include extraction: target extracted: "avr"
V[11:33:11.241] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.241] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.241] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.241] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:11.244] System include extraction: target extracted: "avr"
V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.244] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:11.244] System include extraction: target extracted: "avr"
V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.244] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:11.244] System include extraction: target extracted: "avr"
V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.244] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:11.244] System include extraction: target extracted: "avr"
V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.244] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.244] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:11.312] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp version 1:
  symbol slab: 2507 symbols, 713262 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
V[11:33:11.340] System include extraction: target extracted: "avr"
V[11:33:11.340] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:11.340] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:11.340] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:11.340] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:11.341] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
V[11:33:11.341] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
V[11:33:11.341] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[11:33:11.341] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
V[11:33:11.341] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
V[11:33:11.341] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
V[11:33:11.345] Build dynamic index for header symbols with estimated memory usage of 2169042 bytes
V[11:33:11.346] Built preamble of size 428724 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp version 1
V[11:33:11.373] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp version 1:
  symbol slab: 18 symbols, 8400 bytes
  ref slab: 33 symbols, 117 refs, 5240 bytes
  relations slab: 0 relations, 24 bytes
V[11:33:11.373] Build dynamic index for main-file symbols with estimated memory usage of 24120 bytes
I[11:33:11.373] --> textDocument/publishDiagnostics
V[11:33:11.373] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"readability-misleading-indentation","message":"Different indentation for 'if' and corresponding 'else'","range":{"end":{"character":8,"line":142},"start":{"character":4,"line":142}},"relatedInformation":[],"severity":2,"source":"clang-tidy"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp","version":1}}

V[11:33:11.373] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:11.374] --> reply:textDocument/documentSymbol("2") 182 ms
V[11:33:11.374] >>> {"id":"2","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

V[11:33:11.390] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:11.390] <-- textDocument/documentSymbol("3")
V[11:33:11.390] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:11.391] --> reply:textDocument/documentSymbol("3") 0 ms
V[11:33:11.392] >>> {"id":"3","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"MotSpeed1","range":{"end":{"character":17,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":13,"line":15},"start":{"character":4,"line":15}}},{"detail":"int","kind":13,"name":"MotSpeed2","range":{"end":{"character":17,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":13,"line":16},"start":{"character":4,"line":16}}},{"detail":"int","kind":13,"name":"Speed_adjustment","range":{"end":{"character":26,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":20,"line":17},"start":{"character":4,"line":17}}},{"detail":"int","kind":13,"name":"stop_bit","range":{"end":{"character":16,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":12,"line":18},"start":{"character":4,"line":18}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":10,"line":22},"start":{"character":5,"line":22}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":9,"line":24},"start":{"character":5,"line":24}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":26},"start":{"character":0,"line":26}},"selectionRange":{"end":{"character":17,"line":26},"start":{"character":6,"line":26}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":35,"line":28},"start":{"character":0,"line":28}},"selectionRange":{"end":{"character":11,"line":28},"start":{"character":5,"line":28}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":35,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":11,"line":30},"start":{"character":5,"line":30}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":27,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":14,"line":32},"start":{"character":5,"line":32}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":43,"line":34},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":10,"line":34},"start":{"character":5,"line":34}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":50},"start":{"character":0,"line":36}},"selectionRange":{"end":{"character":10,"line":36},"start":{"character":5,"line":36}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":56},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":9,"line":53},"start":{"character":5,"line":53}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":78},"start":{"character":0,"line":65}},"selectionRange":{"end":{"character":17,"line":65},"start":{"character":6,"line":65}}},{"detail":"void (int, int)","kind":12,"name":"motor1","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":86}},"selectionRange":{"end":{"character":11,"line":86},"start":{"character":5,"line":86}}},{"detail":"void (int, int)","kind":12,"name":"motor2","range":{"end":{"character":1,"line":97},"start":{"character":0,"line":93}},"selectionRange":{"end":{"character":11,"line":93},"start":{"character":5,"line":93}}},{"detail":"void (int)","kind":12,"name":"avoidance","range":{"end":{"character":1,"line":148},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":14,"line":100},"start":{"character":5,"line":100}}},{"detail":"void (int, int, int)","kind":12,"name":"motor","range":{"end":{"character":1,"line":191},"start":{"character":0,"line":151}},"selectionRange":{"end":{"character":10,"line":151},"start":{"character":5,"line":151}}}]}

I[11:33:11.409] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (312 symbols, 2776 refs, 26 files)
V[11:33:11.411] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":173},"start":{"character":14,"line":173}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:11.411] <-- textDocument/codeAction("4")
V[11:33:11.411] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:11.412] --> reply:textDocument/codeAction("4") 0 ms
V[11:33:11.412] >>> {"id":"4","jsonrpc":"2.0","result":[]}

I[11:33:11.424] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (602 symbols, 3500 refs, 38 files)
V[11:33:11.429] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[11:33:11.429] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[11:33:11.433] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (600 symbols, 3584 refs, 36 files)
I[11:33:11.443] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (602 symbols, 3518 refs, 38 files)
I[11:33:11.443] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
I[11:33:11.445] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (603 symbols, 3529 refs, 38 files)
I[11:33:11.473] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (600 symbols, 3433 refs, 37 files)
I[11:33:11.711] --> $/progress
V[11:33:11.711] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[11:33:11.711] --> $/progress
V[11:33:11.711] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

V[11:33:11.720] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp (digest:=A37B2823615D8FF0)
I[11:33:11.800] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp (323 symbols, 3054 refs, 36 files)
I[11:33:12.168] --> $/progress
V[11:33:12.168] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[11:33:12.168] --> $/progress
V[11:33:12.168] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[11:33:12.171] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
I[11:33:12.207] --> $/progress
V[11:33:12.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[11:33:12.207] --> $/progress
V[11:33:12.207] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

V[11:33:12.209] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[11:33:12.258] --> $/progress
V[11:33:12.258] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[11:33:12.258] --> $/progress
V[11:33:12.258] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[11:33:12.268] --> $/progress
V[11:33:12.268] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[11:33:12.268] --> $/progress
V[11:33:12.268] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[11:33:12.270] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[11:33:12.271] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (267 symbols, 2775 refs, 26 files)
V[11:33:12.275] BackgroundIndex: building version 1 after indexing enough files
V[11:33:12.286] BackgroundIndex: serving version 1 (1428722 bytes)
I[11:33:12.288] --> $/progress
V[11:33:12.288] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[11:33:12.288] --> $/progress
V[11:33:12.288] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[11:33:12.290] --> $/progress
V[11:33:12.290] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[11:33:12.290] --> $/progress
V[11:33:12.290] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

V[11:33:12.290] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
V[11:33:12.292] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
V[11:33:12.293] System include extraction: target extracted: "avr"
V[11:33:12.293] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[11:33:12.293] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[11:33:12.293] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[11:33:12.293] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[11:33:12.294] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
I[11:33:12.305] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (609 symbols, 3643 refs, 36 files)
V[11:33:12.307] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[11:33:12.307] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[11:33:12.307] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[11:33:12.308] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[11:33:12.309] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[11:33:12.309] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[11:33:12.309] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[11:33:12.309] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[11:33:12.309] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[11:33:12.309] Ignored diagnostic. too many errors emitted, stopping now
I[11:33:12.310] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (61 symbols, 201 refs, 5 files)
I[11:33:12.311] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[11:33:12.311] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[11:33:12.315] --> $/progress
V[11:33:12.315] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[11:33:12.315] --> $/progress
V[11:33:12.315] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

V[11:33:12.316] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
I[11:33:12.335] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (307 symbols, 2638 refs, 26 files)
I[11:33:12.344] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (602 symbols, 3679 refs, 39 files)
I[11:33:12.350] --> $/progress
V[11:33:12.350] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[11:33:12.350] --> $/progress
V[11:33:12.350] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[11:33:12.350] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[11:33:12.372] --> $/progress
V[11:33:12.372] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[11:33:12.372] --> $/progress
V[11:33:12.372] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

V[11:33:12.373] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
I[11:33:12.381] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (600 symbols, 3545 refs, 36 files)
I[11:33:12.408] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (602 symbols, 3437 refs, 36 files)
I[11:33:12.430] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (600 symbols, 3433 refs, 37 files)
I[11:33:12.926] --> $/progress
V[11:33:12.926] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[11:33:12.926] --> $/progress
V[11:33:12.926] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

V[11:33:12.934] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
I[11:33:12.981] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (307 symbols, 2664 refs, 26 files)
I[11:33:13.205] --> $/progress
V[11:33:13.205] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[11:33:13.206] --> $/progress
V[11:33:13.206] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

V[11:33:13.206] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
I[11:33:13.221] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[11:33:13.240] --> $/progress
V[11:33:13.240] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[11:33:13.240] --> $/progress
V[11:33:13.240] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

V[11:33:13.241] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
I[11:33:13.269] --> $/progress
V[11:33:13.269] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[11:33:13.269] --> $/progress
V[11:33:13.269] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

V[11:33:13.269] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[11:33:13.315] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (620 symbols, 3568 refs, 37 files)
I[11:33:13.329] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (600 symbols, 3462 refs, 38 files)
I[11:33:13.331] --> $/progress
V[11:33:13.331] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[11:33:13.331] --> $/progress
V[11:33:13.331] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

V[11:33:13.332] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
I[11:33:13.384] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (299 symbols, 2470 refs, 18 files)
I[11:33:13.456] --> $/progress
V[11:33:13.456] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[11:33:13.456] --> $/progress
V[11:33:13.456] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

V[11:33:13.456] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
I[11:33:13.457] --> $/progress
V[11:33:13.458] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[11:33:13.458] --> $/progress
V[11:33:13.458] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[11:33:13.459] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[11:33:13.469] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[11:33:13.473] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (42 symbols, 134 refs, 3 files)
I[11:33:13.502] --> $/progress
V[11:33:13.502] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[11:33:13.502] --> $/progress
V[11:33:13.502] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

V[11:33:13.503] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
I[11:33:13.560] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (600 symbols, 3462 refs, 38 files)
I[11:33:13.562] --> $/progress
V[11:33:13.562] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[11:33:13.562] --> $/progress
V[11:33:13.562] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

V[11:33:13.564] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[11:33:13.603] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (309 symbols, 2689 refs, 26 files)
I[11:33:13.657] --> $/progress
V[11:33:13.657] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[11:33:13.657] --> $/progress
V[11:33:13.657] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[11:33:13.658] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
I[11:33:13.697] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (308 symbols, 2724 refs, 26 files)
I[11:33:13.792] --> $/progress
V[11:33:13.792] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

I[11:33:14.097] --> $/progress
V[11:33:14.097] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

I[11:33:14.098] --> $/progress
V[11:33:14.098] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[11:33:14.099] --> $/progress
V[11:33:14.099] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[11:33:14.111] --> $/progress
V[11:33:14.111] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

V[11:33:14.116] BackgroundIndex: building version 2 when background indexer is idle
V[11:33:14.127] BackgroundIndex: serving version 2 (1779786 bytes)
I[11:33:14.127] --> $/progress
V[11:33:14.128] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[11:33:26.752] <<< {"id":"5","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":136},"start":{"character":14,"line":136}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:26.752] <-- textDocument/codeAction("5")
V[11:33:26.753] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:26.753] --> reply:textDocument/codeAction("5") 1 ms
V[11:33:26.753] >>> {"id":"5","jsonrpc":"2.0","result":[]}

V[11:33:27.071] <<< {"id":"6","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":42,"line":137},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:27.071] <-- textDocument/hover("6")
V[11:33:27.071] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:27.072] --> reply:textDocument/hover("6") 0 ms
V[11:33:27.072] >>> {"id":"6","jsonrpc":"2.0","result":null}

V[11:33:46.779] <<< {"id":"7","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":24,"line":43},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:46.779] <-- textDocument/hover("7")
V[11:33:46.780] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:46.781] --> reply:textDocument/hover("7") 1 ms
V[11:33:46.781] >>> {"id":"7","jsonrpc":"2.0","result":null}

V[11:33:53.011] <<< {"id":"8","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":40},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:33:53.011] <-- textDocument/hover("8")
V[11:33:53.016] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:33:53.022] --> reply:textDocument/hover("8") 10 ms
V[11:33:53.023] >>> {"id":"8","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `OUTPUT`  \n\n---\n```cpp\n#define OUTPUT 0x1\n```"},"range":{"end":{"character":21,"line":40},"start":{"character":15,"line":40}}}}

V[11:34:16.878] <<< {"id":"9","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":47},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:34:16.878] <-- textDocument/hover("9")
V[11:34:16.879] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:34:16.879] --> reply:textDocument/hover("9") 1 ms
V[11:34:16.879] >>> {"id":"9","jsonrpc":"2.0","result":null}

V[11:34:17.187] <<< {"id":"10","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":47},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:34:17.187] <-- textDocument/hover("10")
V[11:34:17.187] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:34:17.188] --> reply:textDocument/hover("10") 0 ms
V[11:34:17.188] >>> {"id":"10","jsonrpc":"2.0","result":null}

V[11:35:41.375] <<< {"id":"11","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":37},"start":{"character":1,"line":37}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[11:35:41.375] <-- textDocument/codeAction("11")
V[11:35:41.376] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[11:35:41.376] --> reply:textDocument/codeAction("11") 1 ms
V[11:35:41.376] >>> {"id":"11","jsonrpc":"2.0","result":[]}

V[15:23:12.993] <<< {"id":"12","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":38,"line":109},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3210763168/sketch/avoidance.ino.cpp"}}}

I[15:23:12.995] <-- textDocument/hover("12")
V[15:23:12.997] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3210763168\sketch\avoidance.ino.cpp
I[15:23:13.025] --> reply:textDocument/hover("12") 29 ms
V[15:23:13.025] >>> {"id":"12","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Speed_adjustment`  \n\n---\nType: `int`  \nValue = `120 (0x78)`  \n\n---\n```cpp\nint Speed_adjustment = 120\n```"},"range":{"end":{"character":44,"line":109},"start":{"character":28,"line":109}}}}

V[15:23:17.537] <<< {"id":"13","jsonrpc":"2.0","method":"shutdown","params":null}

I[15:23:17.537] <-- shutdown("13")
I[15:23:17.537] --> reply:shutdown("13") 0 ms
V[15:23:17.537] >>> {"id":"13","jsonrpc":"2.0","result":null}

