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.82k stars 529 forks source link

firmware #293

Closed mjanddy closed 2 years ago

mjanddy commented 2 years ago

when I upload the firmware,it is error which that is some fuction is declared after. How should I fix it? image

quentin-leboutet commented 2 years ago

Hello mjanddy,

thank you for using OpenBot ! Could you give us more information about the context in which you encounter this error so that we can reproduce it ? For instance, on which board are you trying to flash this code ? Did you modify the firmware ? In which way ?

Thank you

Quentin

mjanddy commented 2 years ago

Hi,I just use the DIY model, and I am not changed any code for the firmware in the github. And the board is CH340 for arduion nano

quentin-leboutet commented 2 years ago

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

mjanddy commented 2 years ago

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

I use arduion ide 1.8.19; just as github setting

mjanddy commented 2 years ago

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

I use arduion ide 1.8.19; just as github setting

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

and now I moved the position of the function, but I'm not sure if it's correct

quentin-leboutet commented 2 years ago

Did you try compiling the firmware using the Arduino cloud IDE ?

mjanddy commented 2 years ago

the Arduino cloud IDE ?

ok,I will try it ,thanks!

mjanddy commented 2 years ago

Did you try compiling the firmware using the Arduino cloud IDE ?

It is ok,thank you!