ntripClient runs now - gnss to spi
This commit is contained in:
@@ -17,7 +17,10 @@ Modi& operator++(Modi& m, int) {
|
||||
|
||||
DriveManager::DriveManager(MoveControl *moveControl, bool wifi) {
|
||||
this->moveControl = moveControl;
|
||||
this->navigation = new Navigation();
|
||||
|
||||
SPIClass spiPort(HSPI);
|
||||
spiPort.begin(UBLOX_GNSS_SPI_SCK, UBLOX_GNSS_SPI_CIPO, UBLOX_GNSS_SPI_COPI, UBLOX_GNSS_SPI_CS);
|
||||
this->navigation = new Navigation(spiPort, UBLOX_GNSS_SPI_CS);
|
||||
if (wifi)
|
||||
this->navigation->initNtrip(NTRIP_HOST, NTRIP_PORT, NTRIP_MOUNT_POINT, NTRIP_USER, NTRIP_PASSWORD);
|
||||
// if (wifi)
|
||||
|
||||
Reference in New Issue
Block a user