Dependencies: ros_lib_kinetic
Diff: MLSettings.h
- Revision:
- 28:8e0c502c1a50
- Parent:
- 27:6853ee8ffefd
- Child:
- 29:10a5cf37a875
--- a/MLSettings.h Tue Jan 29 14:58:45 2019 +0000 +++ b/MLSettings.h Wed Feb 06 16:10:18 2019 +0000 @@ -6,15 +6,15 @@ // GENERAL SETTINGS const unsigned short int N_CHANNELS = 8; // Number of channels to control // 1-3: front segment; 4-6: rear segment; 7-8: mid segment -const int BAUD_RATE = 9600; //115200 +const int BAUD_RATE = 115200; //9600; //115200 // HL COMMUNICATION SETTINGS const bool IS_PRINT_OUTPUT = false; const bool IS_DHCP = false; -const unsigned short int SERVER_PORT = 80; +const unsigned short int HL_COMMS_FREQ_HZ = 100; // Frequency at which communications can happen with HL, if messages are waiting // REAL TIME FREQUENCIES -const short int SENSOR_FEEDBACK_HZ = 1; //10; +const short int SENSOR_FEEDBACK_HZ = 20; // Frequency at which sensor messages are queued / published to HL const float LL_DEMANDS_FREQ_HZ = 50; const unsigned int LOW_LEVEL_SPI_FREQUENCY = 10000000;