|
NXPCUP-libary
Library for car's control board on NXPCUP competition based on the Mbed framework.
|
Go to the source code of this file.
Functions | |
| template<typename T > | |
| void | send32bits (Serial &serial, T data) |
| template<typename T > | |
| void | send16bits (Serial &serial, T data) |
| template<> | |
| void | send32bits< float > (Serial &serial, float data) |
| template<typename T > | |
| void | send64bits (Serial &serial, T data) |
| template<> | |
| void | send64bits< double > (Serial &serial, double data) |
| void | sendCameraDataLorris (Serial &serial, const std::array< uint16_t, 128 > &data) |
| void | sendDetectorDataLorris (Serial &serial, nxpcup::BorderDetector &detector) |
| void | sendTimeDataLorris (Serial &serial, Timer &loopTime, const uint16_t loopTimePeriodOverflowCounter) |
| void | sendEncoderDataLorris (Serial &serial, uint16_t dataLeft, uint16_t dataRight) |
| void | sendPeaksDataLorris (Serial &serial, const int16_t peaks) |
| void | sendObstacleDataLorris (Serial &serial, const int obstacleDistance, const int obstacleAngle, const int distanceThatTriggered, const int avoidingObstacle) |
| void | sendObstacleDetectorDataLorris (Serial &serial, const int leftSensorValue, const int rightSensorValue, const int avoidingObstacle) |
| void | sendSteeringDataLorris (Serial &serial, nxpcup::BorderDetector &detector, const int roadError) |
| void | sendMotorDataLorris (Serial &serial, const float motorLD, const float motorLA, const float motorRD, const float motorRA) |
| void | sendEncoderDistanceLorris (Serial &serial, float distanceLeft, float distanceRight) |
| void | sendCameraDataTerminal (Serial &serial, const std::array< uint16_t, 128 > &data) |
| void send16bits | ( | Serial & | serial, |
| T | data | ||
| ) |
| void send32bits | ( | Serial & | serial, |
| T | data | ||
| ) |
| void send32bits< float > | ( | Serial & | serial, |
| float | data | ||
| ) |
| void send64bits | ( | Serial & | serial, |
| T | data | ||
| ) |
| void send64bits< double > | ( | Serial & | serial, |
| double | data | ||
| ) |
| void sendCameraDataLorris | ( | Serial & | serial, |
| const std::array< uint16_t, 128 > & | data | ||
| ) |
| void sendCameraDataTerminal | ( | Serial & | serial, |
| const std::array< uint16_t, 128 > & | data | ||
| ) |
| void sendDetectorDataLorris | ( | Serial & | serial, |
| nxpcup::BorderDetector & | detector | ||
| ) |
| void sendEncoderDataLorris | ( | Serial & | serial, |
| uint16_t | dataLeft, | ||
| uint16_t | dataRight | ||
| ) |
| void sendEncoderDistanceLorris | ( | Serial & | serial, |
| float | distanceLeft, | ||
| float | distanceRight | ||
| ) |
| void sendMotorDataLorris | ( | Serial & | serial, |
| const float | motorLD, | ||
| const float | motorLA, | ||
| const float | motorRD, | ||
| const float | motorRA | ||
| ) |
| void sendObstacleDataLorris | ( | Serial & | serial, |
| const int | obstacleDistance, | ||
| const int | obstacleAngle, | ||
| const int | distanceThatTriggered, | ||
| const int | avoidingObstacle | ||
| ) |
| void sendObstacleDetectorDataLorris | ( | Serial & | serial, |
| const int | leftSensorValue, | ||
| const int | rightSensorValue, | ||
| const int | avoidingObstacle | ||
| ) |
| void sendPeaksDataLorris | ( | Serial & | serial, |
| const int16_t | peaks | ||
| ) |
| void sendSteeringDataLorris | ( | Serial & | serial, |
| nxpcup::BorderDetector & | detector, | ||
| const int | roadError | ||
| ) |
| void sendTimeDataLorris | ( | Serial & | serial, |
| Timer & | loopTime, | ||
| const uint16_t | loopTimePeriodOverflowCounter | ||
| ) |
1.8.11