Forum.

 

Need help or have a question? Join the conversation in our community topics and share your ideas, tips, or challenges—we’d love to hear from you! Before posting, be sure to check our

 

?

Example Project 'Av...
 
Notifiche
Cancella tutti

[Risolto] Example Project 'Avoid Obstacles' Not working; Also Syntax Errors during upload.

2 Post
2 Utenti
0 Reactions
3,552 Visualizzazioni
(@wilttm1)
New Member
Registrato: 11 mesi fa
Post: 1
Topic starter  

The Avoid Obstacles example project will run correctly when the robot is connected to the USB. However, when I download the program and it doesn't work correctly. The execute won't start until I trip the ulta sonic sensor and then it just moves the robot backwards in a circle. Also, when I upload the code into the robot, I get syntax errors. A snip fro what is displayed on the Monitor during upload is listed below. 

I have uploaded the latest firmawar and libraries. 

What am I doing wrong?

 

Traceback (most recent call last):                                                                                                                                         
  File "<stdin", line 1                                                                                                                                                    
SyntaxError: invalid syntax                                                                                                                                                
Traceback (most recent call last):                                                                                                                                         
  File "<stdin", line 1                                                                                                                                                    
SyntaxError: invalid syntax                                                                                                                                                
                                                                                                                                                                           
MicroPython v1.22.2 on 2024-02-22; Generic ESP32 module with ESP32                                                                                                         


   
Citazione
Tag argomenti
Camilo
(@cparrapa)
Developer Admin
Registrato: 3 anni fa
Post: 112
 

Hi @wilttm1

nothing wrong you did, there was a bug now it should be working, try again please



   
RispondiCitazione
Torna in alto
Saranno disponibili dopo il lancio del prodotto.