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
Question about the estimated heading in GPS mode
#14
(2023-04-16, 03:45 PM)seandepagnier Wrote: So your original IMU was bad?

Probably. I use the same RPI as before, with the same settings. I have just crossed from France to England, everything went perfectly well.

Quote:What kind of error message did you see related to pypilot_hat?    What do you mean the executable doesnt produce any results?

The LCD display shows nothing.

Code:
$ pypilot_hat
hat start 81252.403403063
have gpio for raspberry pi
hat import done 81252.440801153
loading config file: /home/guillaume/.pypilot/hat.conf
failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
host localhost
lcd process on 10824
lcd driver default False False
hat init complete 81253.649992655
10826 (process ID) old priority 0, new priority 19
have lirc for remote control 0.16617706899705809
web process 10826
web process on port 33333


Code:
jq . ~/.pypilot/hat.conf
{
  "host": "localhost",
  "actions": {
    "auto": [],
    "menu": [],
    "port1": [],
    "starboard1": [],
    "select": [],
    "port10": [],
    "starboard10": [],
    "tack": [],
    "dodge_port": [],
    "dodge_starboard": [],
    "engage": [],
    "disengage": [],
    "1": [],
    "-1": [],
    "2": [],
    "-2": [],
    "5": [],
    "-5": [],
    "10": [],
    "-10": [],
    "compassmode": [],
    "gpsmode": [],
    "windmode": [],
    "truewindmode": [],
    "center": [],
    "tackport": [],
    "tackstarboard": [],
    "none": [],
    "pilot_absolute": [],
    "pilot_basic": []
  },
  "pi.ir": true,
  "arduino.ir": false,
  "arduino.nmea.in": false,
  "arduino.nmea.out": false,
  "arduino.nmea.baud": 4800,
  "lcd": {},
  "hat": {
    "lcd": {
      "driver": "default",
      "port": "/dev/spidev0.0"
    },
    "lirc": "gpio4"
  }
}

I tried to change the value of "driver" without success.
Reply


Messages In This Thread
RE: Question about the estimated heading in GPS mode - by gponcon - 2023-04-20, 06:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)