isl-org / OpenBot

OpenBot leverages smartphones as brains for low-cost robots. We have designed a small electric vehicle that costs about $50 and serves as a robot body. Our software stack for Android smartphones supports advanced robotics workloads such as person following and real-time autonomous navigation.
https://www.openbot.org
MIT License
2.77k stars 513 forks source link

Running without stopping #378

Closed A-janjan closed 1 month ago

A-janjan commented 8 months ago

When I go to the Robot info section and then click the forward or backward command in the send command section, I see that my motors start running without stopping. Additionally, when I click stop, nothing changes.

I use POCO X3 Pro.

hardikgarg02 commented 8 months ago

Please ensure that the app maintains a stable Bluetooth connection with the robot, without any disconnections between commands.

A-janjan commented 8 months ago

No, I didn't use Bluetooth. I just used the main application and the following sections:

openbot_err1

A-janjan commented 7 months ago

I did the firmware testing with an Arduino serial monitor, and at first, I sent, for example, c100,100 and then the motors started running. but after I sent c0,0 and the motors didn't stop. I don't know why motors can't be stopped.

Eashika2504 commented 6 months ago

Ensure that your motor connections are accurate, and double-check that the specified serial pin numbers in the code align with the actual hardware configuration. Please review the configuration file [README]https://github.com/isl-org/OpenBot/tree/master/body/diy)

A-janjan commented 4 months ago

After I sent a command via a serial monitor (e.g., c50,0), the motors moved correctly, but the serial connection disconnected, and I couldn't send a new command.

A-janjan commented 3 months ago

The main problem arises when I enable #define HAS_OLED 1 in the DIY body firmware. Consequently, other commands fail to send correctly. However, after disabling the OLED, everything is fixed.