This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rewrite pypilot in C++ using AI
#1
What would it take to rewrite pypilot in C++ using AI?
I think it's not that difficult and it would make it run and work much better. I think it can run on esp32 whole thing.
I've done compass with QMEKF Kalman filter and calibration running on esp32. PID controller and few NMEA interfaces shouldn't be that hard.
Web interface could be done cleaner with right prompts too.

What do you think?
Thanks
Download BBN Marine OS for raspberry piĀ 

https://bareboat-necessities.github.io/m...at-os.html

Video of actual installation:

https://www.youtube.com/watch?v=3zMjUs2X3qU


Reply
#2
I dont know what would be the purpose? It would be difficult to maintain.

What makes more sense to me would be to figure out a way to compile the python into c++, but if there are particular parts of the code that are bottlenecks rewriting them in c++ makes sense. Already a lot of pieces are in c++.

If you can do this with minimal effort go ahead, but it is unlikely "AI" will be able to do this without a lot of intervention.

Already the esp32 can probably just run pypilot as it is using micropython, at least the esp32 s3. Maybe not with the hat and web server, but then again pi zero W is $10 so what is really the advantage?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)