Folgende Warnungen sind aufgetreten:
Warning [2] Undefined variable $unreadreports - Line: 34 - File: global.php(961) : eval()'d code PHP 8.2.2 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/global.php(961) : eval()'d code 34 errorHandler->error_callback
/global.php 961 eval
/showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 43 - File: showthread.php(1621) : eval()'d code PHP 8.2.2 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1621) : eval()'d code 43 errorHandler->error_callback
/showthread.php 1621 eval




Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
RoyalTek RGM 2000
#2
Zitat:4. Setup the GPS receiver
Open the file /home/pi/startup/StartCarPC and find the line gpsd /dev/ttyAMA0
Replace /dev/ttyAMA0 with your gps device file name. Here is how to find the file name:
1. For USB devices. After plugging the device into the usb port type dmesg and you should see somewhere that a new device was mapped on /dev/tty... Most probably the file name would be /dev/ttyACM0.
2. For Serial(UART) modules, using UART TX/RX pins the device will have the file name /dev/ttyAMA0.
You can test that the device is connected to a file name by calling cat /dev/ttyAMA0, for example and you should see some NMEA output.

Wie schon im anderen Forum geschrieben, müsste Dein GPS-Modul über UART arbeiten können...

Siehe zitierten Text oben von Andrei's Website.

Du musst die Datei "/home/pi/startup/StartCarPC" garnicht editieren, wenn die Zeile schon "gpsd /dev/ttyAMA0" beinhaltet. Je nachdem welche Version vom Projekt Du nutzt, kanns auch sein, dass der Pfad ein wenig anders ist, und sich die Datei im opt-Ordner finden lässt...Wäre dann wahrscheinlich /opt/startup/StartCarPC...
Raspberry Pi 2, HifiBerry, Jessie und Kodi 15.2
Zitieren


Nachrichten in diesem Thema
RoyalTek RGM 2000 - von OP3LDOC - 03.05.2015, 16:44
RE: RoyalTek RGM 2000 - von nichnormal - 03.05.2015, 17:32
RE: RoyalTek RGM 2000 - von OP3LDOC - 03.05.2015, 17:36
RE: RoyalTek RGM 2000 - von nichnormal - 03.05.2015, 17:56
RE: RoyalTek RGM 2000 - von OP3LDOC - 03.05.2015, 18:31
RE: RoyalTek RGM 2000 - von nichnormal - 03.05.2015, 19:18
RE: RoyalTek RGM 2000 - von OP3LDOC - 03.05.2015, 19:19
RE: RoyalTek RGM 2000 - von nichnormal - 03.05.2015, 20:18
RE: RoyalTek RGM 2000 - von OP3LDOC - 03.05.2015, 20:37
RE: RoyalTek RGM 2000 - von OP3LDOC - 04.05.2015, 07:03

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
RasPiCarProjekt