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) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pypilot on openplotter 3
#15
(2022-09-05, 04:51 AM)ironman Wrote:
(2022-09-01, 06:31 PM)ardzeiem Wrote: Unable to access the X Display, is $DISPLAY set properly?

This typically happens when you run an application that requires X from an ssh session. Run openplotter-pypilot from a terminal that was started from the graphic environment.

You can use ssh -X as well.
(2022-09-05, 04:51 AM)ironman Wrote:
  • Openplotter-pypilot provides a message when started without hardware-serial enabled. There might be users who run the motor.ino arduino off a USB connection. For them, the message might be unsuited.
Perhaps.. but I really dont recommend this setup, and they can ignore the message for now
Quote:
  • What's the usage of adding serial devices in the serial tab?
  • To inform pypilot that it can probe these ports. This prevents pypilot from taking over serial ports not intended to be used with it.
    Quote:
  • Reinstall finishes without a message that it's finished. The only clue is the fact that the Update button is enabled again. A message 'pypilot has been updated from source and is running again; no reboot is required.' coud be useful.
  • Good idea.
    Quote:
  • Reinstall provides some error messages E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) and 
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
  • I saw this but dont think it matters... It is a confusing warning though.
    Quote:Running pypilot at the prompt, there appear to be no error messages for signalk; it simply works for gps and wind. I do still have 'autopilot iteration running too slow' on the raspberry 3b+ which is really annoying.
    Is there an imu connected? I only get this without a working IMU. Its because it is trying very hard to probe the IMU which slows the loop down. I should fix it so it does not produce this error while probing the imu.

    (2022-09-04, 06:19 PM)ironman Wrote: I reran the install with regard to the serial interface:
    • On a clean 32-bit Openplotter 3.0 image on a raspberry 3b+, there is only a ttyAMA0 interface; serial1 points to it. 
    • When serial port is enabled in raspi-config, and serial console disabled, ttyS0 is added and serial0 points to it.
    • When openplotter-pypilot has done its 'enable hardware serial' thing, serial0 and serial1 are swapped, and hciuart is disabled.

    That means it does not matter, and it is not necessary, to enable the serial port in raspi-config manually; you have to do it through openplotter-pypilot anyway. I believe this was different in the previous version of openplotter/raspbian, when the raspi-config actions were enough to make pypilot access the serial. Still, this is no problem for the rollout to openplotter, but it needs to be part of the release notes / install instructions, otherwise it might confuse those who are new to this arena.
    You can enable the hardware serial by editing /boot/config.txt instead which is all openplotter-pypilot helper script does anyway... I dont think it was ever possible through raspi-config.
    Quote:When openplotter does its thing, serial0 and serial1 are swapped, and hciuart is disabled.
    correct
    Reply


    Messages In This Thread
    pypilot on openplotter 3 - by seandepagnier - 2022-08-31, 10:39 PM
    RE: pypilot on openplotter 3 - by ardzeiem - 2022-09-01, 06:31 PM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-05, 04:51 AM
    RE: pypilot on openplotter 3 - by seandepagnier - 2022-09-05, 10:26 AM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-05, 11:08 AM
    RE: pypilot on openplotter 3 - by seandepagnier - 2022-09-05, 04:58 PM
    RE: pypilot on openplotter 3 - by Gennady - 2022-09-02, 01:58 AM
    RE: pypilot on openplotter 3 - by seandepagnier - 2022-09-02, 08:11 AM
    RE: pypilot on openplotter 3 - by Gennady - 2022-09-02, 11:31 PM
    RE: pypilot on openplotter 3 - by seandepagnier - 2022-09-03, 02:00 AM
    RE: pypilot on openplotter 3 - by Max1947 - 2022-09-03, 10:51 AM
    RE: pypilot on openplotter 3 - by Gennady - 2022-09-03, 05:09 PM
    RE: pypilot on openplotter 3 - by seandepagnier - 2022-09-03, 10:36 PM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-04, 08:31 AM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-04, 04:59 PM
    RE: pypilot on openplotter 3 - by seandepagnier - 2022-09-04, 06:04 PM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-04, 06:19 PM
    RE: pypilot on openplotter 3 - by Sailoog - 2022-09-10, 07:06 PM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-15, 11:22 AM
    RE: pypilot on openplotter 3 - by Sailoog - 2022-09-15, 11:55 AM
    RE: pypilot on openplotter 3 - by ironman - 2022-09-15, 09:58 PM
    RE: pypilot on openplotter 3 - by Gennady - 2022-11-13, 04:36 AM
    RE: pypilot on openplotter 3 - by ironman - 2022-11-15, 11:00 AM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-23, 03:14 AM
    RE: pypilot on openplotter 3 - by Sailoog - 2023-05-23, 01:09 PM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-23, 01:49 PM
    RE: pypilot on openplotter 3 - by seandepagnier - 2023-05-23, 04:56 AM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-23, 01:06 PM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-24, 02:43 AM
    RE: pypilot on openplotter 3 - by Sailoog - 2023-05-23, 02:01 PM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-23, 02:39 PM
    RE: pypilot on openplotter 3 - by Sailoog - 2023-05-23, 03:09 PM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-23, 08:38 PM
    RE: pypilot on openplotter 3 - by seandepagnier - 2023-05-25, 07:15 AM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-25, 11:05 PM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-29, 03:28 AM
    RE: pypilot on openplotter 3 - by mgrouch - 2023-05-29, 04:51 AM
    RE: pypilot on openplotter 3 - by seandepagnier - 2023-05-29, 05:34 AM
    RE: pypilot on openplotter 3 - by Sailoog - 2023-05-29, 12:21 PM
    RE: pypilot on openplotter 3 - by SVHM - 2023-05-29, 02:52 PM
    RE: pypilot on openplotter 3 - by Sailoog - 2023-05-29, 03:18 PM
    RE: pypilot on openplotter 3 - by aitonos - 2023-10-07, 06:03 PM
    RE: pypilot on openplotter 3 - by aitonos - 2023-10-07, 10:32 PM
    RE: pypilot on openplotter 3 - by Sailoog - 2023-10-08, 09:52 AM
    RE: pypilot on openplotter 3 - by aitonos - 2023-10-09, 07:23 PM
    RE: pypilot on openplotter 3 - by jim321 - 2023-10-10, 01:32 PM
    RE: pypilot on openplotter 3 - by aitonos - 2023-10-10, 01:53 PM
    RE: pypilot on openplotter 3 - by Hugo Bokman - 2023-11-28, 05:35 PM
    RE: pypilot on openplotter 3 - by ironman - 2023-11-28, 05:54 PM
    RE: pypilot on openplotter 3 - by partyvi - 2024-01-09, 06:07 AM
    RE: pypilot on openplotter 3 - by seandepagnier - 2024-01-09, 06:27 AM
    RE: pypilot on openplotter 3 - by partyvi - 2024-01-09, 03:50 PM
    RE: pypilot on openplotter 3 - by seandepagnier - 2024-01-09, 09:05 PM
    RE: pypilot on openplotter 3 - by Sailoog - 2024-01-10, 01:07 PM

    Forum Jump:


    Users browsing this thread: 1 Guest(s)