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
ESP32
#6
With enough ram, like 4mb, it should be possible to run an rtos like freertos or chibirtos, and in each thread run an instance of micropython. From there, it would be possible to implement the standard python multiprocessing library including communications pipes. This might make it possible to use pypilot with few modifications which is preferred since linux will continue to be the development environment (for ease of debugging etc..) Of course, they will have separate stacks and can't share garbage collection, but it should be fine.

It also might be possible to compile it with cython and run that using an rtos rather than micropython.

The other option, is, if dual core, use one core for the autopilot control loop and sensors, and the other core for data requests and automatic calibration. This probably would basically work as well.

The m5 stack is more expensive than the raspberry pi zero. The main advantages I can see are lower power and faster boot time although the raspberry is already acceptable. And possibly they could drive something like VNH2SP30 directly without a separate microprocessor for the controller.

micropython is definately missing some standard modules, but they should be possible to reimplement for our use.

I would research this more, but at this time I don't have the hardware.
Reply


Messages In This Thread
ESP32 - by quetzal - 2018-05-17, 10:58 AM
RE: ESP32 - by Sailoog - 2018-05-17, 05:31 PM
RE: ESP32 - by seandepagnier - 2018-05-18, 02:54 AM
RE: ESP32 - by JeroenAdam - 2018-05-18, 12:30 PM
RE: ESP32 - by quetzal - 2018-05-18, 12:58 PM
RE: ESP32 - by seandepagnier - 2018-05-18, 02:02 PM
RE: ESP32 - by Ingo - 2018-05-21, 02:28 AM
RE: ESP32 - by seandepagnier - 2018-05-21, 03:12 AM
RE: ESP32 - by quetzal - 2018-05-23, 10:08 AM
RE: ESP32 - by seandepagnier - 2021-12-26, 08:57 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)