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:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LCD Display
#71
I tested this succesfully in the following way. I installed pypilot on an RP4 openplotter image from github, then ran pypilot at the prompt in one terminal window, pypilot_hat in another window, pypilot_web in a third window. Then I connected a browser to the :33333 port for the hat config screen, and another browser window to the :8000 port for the autopilot screen. I connected GPIO26 to a switch to ground and clicked the switch. In the hat config screen, this was visible and I connected it to the 'engage' function. From then on, I could see that the AP slide in the autopilot screen was switched to 'on' each time I clicked the switch.

So here is a positive scenario that you could replicate. If you succeed, work from here, changing one thing at a time, towards what you want. If you don't succeed, Francesco: post output! Attached mine.

Some notes:
  • something went wrong in the installation from github; I removed the whole git clone directory and started again. Then, pypilot would start (at the prompt).
  • Pypilot nowadays complains a lot about 'autopilot iteration running too slow' but that seems to be the latest fashion; just filter the message (e.g., run at the prompt: pypilot | grep -v "autopilot iteration running too slow")
  • the test was done without motor controller or imu
  • to get pypilot_hat running I had to set pi:ir to false in the hat.conf. At first, this file is not present but it is when you run pypilot_hat a second time.
Good luck!


Attached Files
.txt   tid=3093.txt (Size: 2.8 KB / Downloads: 122)
Reply


Messages In This Thread
LCD Display - by Andreas29 - 2020-11-16, 07:01 PM
RE: LCD Display - by Andreas29 - 2020-11-17, 09:03 AM
RE: LCD Display - by rastam4n - 2020-11-17, 06:33 PM
RE: LCD Display - by Andreas29 - 2020-11-17, 09:05 PM
RE: LCD Display - by kaa39518 - 2020-12-06, 09:10 AM
RE: LCD Display - by rastam4n - 2020-11-18, 12:05 AM
RE: LCD Display - by CapnKernel - 2020-11-19, 12:38 AM
RE: LCD Display - by Andreas29 - 2020-11-18, 07:42 AM
RE: LCD Display - by CapnKernel - 2020-11-18, 02:09 PM
RE: LCD Display - by SYWindveer - 2020-11-18, 10:17 PM
RE: LCD Display - by rastam4n - 2020-11-19, 02:01 AM
RE: LCD Display - by Andreas29 - 2020-11-19, 08:11 AM
RE: LCD Display - by Jean-Marc Douroux - 2020-11-20, 04:06 PM
RE: LCD Display - by seandepagnier - 2020-11-21, 04:48 PM
RE: LCD Display - by Onno - 2020-11-24, 03:03 PM
RE: LCD Display - by seandepagnier - 2020-11-24, 11:19 PM
RE: LCD Display - by rastam4n - 2020-11-24, 11:38 PM
RE: LCD Display - by xfactor99 - 2020-11-25, 07:36 AM
RE: LCD Display - by Onno - 2020-11-25, 08:27 AM
RE: LCD Display - by Andreas29 - 2020-11-25, 07:56 AM
RE: LCD Display - by seandepagnier - 2020-11-25, 05:12 PM
RE: LCD Display - by rastam4n - 2020-11-25, 05:40 PM
RE: LCD Display - by seandepagnier - 2020-11-25, 10:15 PM
RE: LCD Display - by Andreas29 - 2020-12-09, 07:34 AM
RE: LCD Display - by seandepagnier - 2020-12-10, 05:45 AM
RE: LCD Display - by Andreas29 - 2020-12-10, 07:41 AM
RE: LCD Display - by seandepagnier - 2020-12-10, 08:07 PM
RE: LCD Display - by Andreas29 - 2020-12-11, 09:12 AM
RE: LCD Display - by Huevo - 2021-03-31, 11:36 PM
RE: LCD Display - by seandepagnier - 2021-04-02, 01:43 AM
RE: LCD Display - by Huevo - 2021-04-03, 02:02 PM
RE: LCD Display - by seandepagnier - 2021-04-04, 12:44 AM
RE: LCD Display - by Huevo - 2021-04-09, 08:32 PM
RE: LCD Display - by ironman - 2021-04-09, 09:51 PM
RE: LCD Display - by Huevo - 2021-04-10, 04:37 PM
RE: LCD Display - by seandepagnier - 2021-04-10, 05:14 PM
RE: LCD Display - by Huevo - 2021-04-11, 10:01 AM
RE: LCD Display - by ironman - 2021-04-11, 10:27 AM
RE: LCD Display - by seandepagnier - 2021-04-11, 03:55 PM
RE: LCD Display - by ironman - 2021-04-11, 09:53 PM
RE: LCD Display - by Huevo - 2021-04-12, 12:43 PM
RE: LCD Display - by xfactor99 - 2021-04-12, 08:49 PM
RE: LCD Display - by seandepagnier - 2021-04-12, 08:19 PM
RE: LCD Display - by Huevo - 2021-04-12, 10:11 PM
RE: LCD Display - by seandepagnier - 2021-04-13, 07:24 AM
RE: LCD Display - by Huevo - 2021-04-14, 02:04 PM
RE: LCD Display - by seandepagnier - 2021-04-14, 03:35 PM
RE: LCD Display - by Huevo - 2021-04-14, 09:22 PM
RE: LCD Display - by SYWindveer - 2021-08-08, 05:42 PM
RE: LCD Display - by CapnKernel - 2021-10-19, 06:01 AM
RE: LCD Display - by seandepagnier - 2021-08-08, 06:32 PM
RE: LCD Display - by SYWindveer - 2021-08-08, 09:10 PM
RE: LCD Display - by F. Scognamiglio - 2022-02-22, 02:39 PM
RE: LCD Display - by seandepagnier - 2022-02-23, 01:00 AM
RE: LCD Display - by fsnew - 2022-03-05, 08:32 PM
RE: LCD Display - by seandepagnier - 2022-03-06, 07:24 PM
RE: LCD Display - by fsnew - 2022-03-07, 01:30 PM
RE: LCD Display - by seandepagnier - 2022-03-07, 07:45 PM
RE: LCD Display - by fsnew - 2022-03-10, 10:53 AM
RE: LCD Display - by fsnew - 2022-04-20, 08:06 PM
RE: LCD Display - by fsnew - 2022-04-06, 08:55 PM
RE: LCD Display - by Max1947 - 2022-04-07, 11:07 AM
RE: LCD Display - by fsnew - 2022-04-07, 11:15 AM
RE: LCD Display - by seandepagnier - 2022-04-20, 11:11 PM
RE: LCD Display - by fsnew - 2022-04-21, 08:17 PM
RE: LCD Display - by ironman - 2022-04-22, 08:01 AM
RE: LCD Display - by fsnew - 2022-04-22, 02:16 PM
RE: LCD Display - by ironman - 2022-04-22, 10:37 PM
RE: LCD Display - by fsnew - 2022-04-23, 09:01 AM
RE: LCD Display - by seandepagnier - 2022-04-24, 01:58 PM
RE: LCD Display - by ironman - 2022-04-25, 09:56 PM
RE: LCD Display - by fsnew - 2022-04-29, 12:27 PM
RE: LCD Display - by ironman - 2022-04-29, 04:05 PM
RE: LCD Display - by fsnew - 2022-05-27, 06:36 PM
RE: LCD Display - by seandepagnier - 2022-04-26, 04:21 PM
RE: LCD Display - by ironman - 2022-04-26, 09:05 PM
RE: LCD Display - by seandepagnier - 2022-04-28, 11:02 PM
RE: LCD Display - by ironman - 2022-04-29, 09:49 AM
RE: LCD Display - by seandepagnier - 2022-05-28, 03:06 PM
RE: LCD Display - by fsnew - 2022-05-30, 11:29 AM
RE: LCD Display - by seandepagnier - 2022-05-31, 10:34 PM
RE: LCD Display - by fsnew - 2022-06-01, 07:58 PM
RE: LCD Display - by seandepagnier - 2022-06-02, 12:20 PM
RE: LCD Display - by fsnew - 2022-06-06, 05:18 PM
RE: LCD Display - by seandepagnier - 2022-06-06, 06:51 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)