Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ros_lib_kinetic
MLSettings.h@36:4459be8296e9, 2019-07-09 (annotated)
- Committer:
- WD40andTape
- Date:
- Tue Jul 09 18:46:44 2019 +0000
- Revision:
- 36:4459be8296e9
- Parent:
- 31:08cb04eb75fc
- Child:
- 41:0e3898b29230
tested and working with 9 stages
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dofydoink | 12:595ed862e52f | 1 | // MLSettings.h |
dofydoink | 12:595ed862e52f | 2 | |
dofydoink | 12:595ed862e52f | 3 | #ifndef MLSETTINGS_H |
dofydoink | 12:595ed862e52f | 4 | #define MLSETTINGS_H |
dofydoink | 12:595ed862e52f | 5 | |
dofydoink | 12:595ed862e52f | 6 | // GENERAL SETTINGS |
WD40andTape | 36:4459be8296e9 | 7 | const unsigned short int N_CHANNELS = 9; // Number of channels to control |
dofydoink | 12:595ed862e52f | 8 | // 1-3: front segment; 4-6: rear segment; 7-8: mid segment |
WD40andTape | 28:8e0c502c1a50 | 9 | const int BAUD_RATE = 115200; //9600; //115200 |
dofydoink | 12:595ed862e52f | 10 | |
dofydoink | 12:595ed862e52f | 11 | // HL COMMUNICATION SETTINGS |
dofydoink | 12:595ed862e52f | 12 | const bool IS_DHCP = false; |
WD40andTape | 31:08cb04eb75fc | 13 | const unsigned short int HL_COMMS_FREQ_HZ = 200; // Frequency at which communications can happen with HL, if messages are waiting |
WD40andTape | 24:bc852aa89e7a | 14 | |
WD40andTape | 24:bc852aa89e7a | 15 | // REAL TIME FREQUENCIES |
WD40andTape | 28:8e0c502c1a50 | 16 | const short int SENSOR_FEEDBACK_HZ = 20; // Frequency at which sensor messages are queued / published to HL |
WD40andTape | 27:6853ee8ffefd | 17 | const float LL_DEMANDS_FREQ_HZ = 50; |
dofydoink | 12:595ed862e52f | 18 | const unsigned int LOW_LEVEL_SPI_FREQUENCY = 10000000; |
dofydoink | 12:595ed862e52f | 19 | |
WD40andTape | 26:7c59002c9cd7 | 20 | const float MAX_PRESSURE_LIMIT = 10.0; |
WD40andTape | 26:7c59002c9cd7 | 21 | |
dofydoink | 12:595ed862e52f | 22 | // PATH GENERATION SETTINGS |
WD40andTape | 27:6853ee8ffefd | 23 | const float MAX_ACTUATOR_LIMIT_MM = 40.0; |
WD40andTape | 26:7c59002c9cd7 | 24 | const float MAX_ACTUATOR_LENGTH_MM = 52.2; |
dofydoink | 12:595ed862e52f | 25 | const float MAX_SPEED_MMPS = 24.3457; |
dofydoink | 12:595ed862e52f | 26 | |
dofydoink | 12:595ed862e52f | 27 | #endif |