new ntrip client
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
*
|
||||
*/
|
||||
enum DrivingStatus {stop,
|
||||
drive};
|
||||
drive,
|
||||
raw};
|
||||
|
||||
/**
|
||||
* @brief This class manages the motors and the encoders
|
||||
@@ -96,6 +97,9 @@ class MoveControl {
|
||||
*/
|
||||
void setRotationSpeed(double speed);
|
||||
|
||||
void setRawPowerLeft(int16_t power);
|
||||
void setRawPowerRight(int16_t power);
|
||||
|
||||
/**
|
||||
* @brief Set the pid tunings
|
||||
*
|
||||
@@ -164,5 +168,7 @@ class MoveControl {
|
||||
double right_pid_out;
|
||||
|
||||
uint8_t delay = 30;
|
||||
int8_t rawPowerLeft = 0;
|
||||
int8_t rawPowerRight = 0;
|
||||
};
|
||||
#endif // MOVE_CONTROL_H
|
||||
|
||||
+9
-12
@@ -30,15 +30,15 @@
|
||||
*/
|
||||
#define WLAN_CONNECT_LOOP_TIME 500
|
||||
#define WLAN_DNS_SERVER "8.8.8.8"
|
||||
#define DORO
|
||||
#define HOTSPOT
|
||||
|
||||
#define NTRIP_NS
|
||||
#define NTRIP_NRW
|
||||
|
||||
// NTRIP config NRW
|
||||
#ifdef NTRIP_NRW
|
||||
#define NTRIP_HOST "80.158.61.104"
|
||||
#define NTRIP_HOST "www.sapos-nw-ntrip.de"
|
||||
#define NTRIP_PORT 2101
|
||||
#define NTRIP_MOUNT_POINT "EPS_NW"
|
||||
#define NTRIP_MOUNT_POINT "VRS_3_3G_NW"
|
||||
#define NTRIP_USER "nw-916771"
|
||||
#define NTRIP_PASSWORD "Schalke#246"
|
||||
#endif // NTRIP_NRW
|
||||
@@ -67,15 +67,12 @@
|
||||
#ifdef HOTSPOT
|
||||
#define WLAN_SSID "Kleiax Handy"
|
||||
#define WLAN_PASSWORD "12345677"
|
||||
#define WLAN_IP "192.168.11.4"
|
||||
#define WLAN_IP "192.168.43.4"
|
||||
#define WLAN_SUBNETMASK "255.255.128.0"
|
||||
#define WLAN_GATEWAY "192.168.0.1"
|
||||
#define MQTT
|
||||
#define MQTT_SERVER "192.168.1.7"
|
||||
#define MQTT_PORT 1883
|
||||
#define MQTT_AUTH
|
||||
#define MQTT_USER "kleiax"
|
||||
#define MQTT_PASSWORD "p?{$_~5%hBM7wrcFkr55KWr#"
|
||||
#define WLAN_GATEWAY "192.168.43.1"
|
||||
// Only for defines reasons
|
||||
#define MQTT_SERVER "172.22.64.216"
|
||||
#define MQTT_PORT 1883
|
||||
#endif //HOTSPOT
|
||||
|
||||
//Network config Rhede
|
||||
|
||||
Reference in New Issue
Block a user