[Solved] Example Project 'Avoid Obstacles' Not working; Also Syntax Errors during upload.
Topic starter 03/02/2026 5:31 pm
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                                                                                                        Â
Quote
Topic Tags
Forum Information
- 16 Forums
- 60 Topics
- 295 Posts
- 1 Online
- 3,234 Members
Our newest member: Ondra
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed
