NXPCUP-libary
Library for car's control board on NXPCUP competition based on the Mbed framework.
Variables
nxpcup::alamak::kl25z::config Namespace Reference

Variables

nxpcup::Motor::Config MOTOR_LEFT { PTA4, PTA5 }
 
nxpcup::Motor::Config MOTOR_RIGHT { PTC9, PTC8 }
 
nxpcup::Camera::Config CAMERA1
 
nxpcup::Camera::Config CAMERA2
 
nxpcup::Servo::Config SERVO1
 
nxpcup::Servo::Config SERVO2
 
nxpcup::MotorControl::Config MOTOR_CONTROL {}
 
nxpcup::BorderDetector::Config BORDER_DETECTOR {}
 
nxpcup::ObstacleDetector::Config OBSTACLE_DETECTOR
 
nxpcup::Buttons::Config BUTTONS
 
detail::Bluetooth BLUETOOTH { PTE22, PTE23 }
 
nxpcup::Encoder::Config ENCODER_LEFT
 
nxpcup::Encoder::Config ENCODER_RIGHT
 
atoms::Pid< float >::Config STEERING_PID_CONFIG
 
static constexpr uint8_t LORISS_SEND_PERIOD_MS = 150
 

Variable Documentation

detail::Bluetooth nxpcup::alamak::kl25z::config::BLUETOOTH { PTE22, PTE23 }
nxpcup::BorderDetector::Config nxpcup::alamak::kl25z::config::BORDER_DETECTOR {}
nxpcup::Buttons::Config nxpcup::alamak::kl25z::config::BUTTONS
Initial value:
{
PTC0,
{ { 3, 3840 }, { 2, 40448 }, { 4, 47104 }, { 5, 51200 }, { 6, 56320 } }
}
nxpcup::Camera::Config nxpcup::alamak::kl25z::config::CAMERA1
Initial value:
{
PTC2,
PTB9,
PTB8,
4000
}
nxpcup::Camera::Config nxpcup::alamak::kl25z::config::CAMERA2
Initial value:
{
PTC1,
PTB11,
PTB10,
4000
}
nxpcup::Encoder::Config nxpcup::alamak::kl25z::config::ENCODER_LEFT
Initial value:
{
PTD4,
400
}
nxpcup::Encoder::Config nxpcup::alamak::kl25z::config::ENCODER_RIGHT
Initial value:
{
PTD6,
400
}
constexpr uint8_t nxpcup::alamak::kl25z::config::LORISS_SEND_PERIOD_MS = 150
static
nxpcup::MotorControl::Config nxpcup::alamak::kl25z::config::MOTOR_CONTROL {}
nxpcup::Motor::Config nxpcup::alamak::kl25z::config::MOTOR_LEFT { PTA4, PTA5 }
nxpcup::Motor::Config nxpcup::alamak::kl25z::config::MOTOR_RIGHT { PTC9, PTC8 }
nxpcup::ObstacleDetector::Config nxpcup::alamak::kl25z::config::OBSTACLE_DETECTOR
Initial value:
{
PTB2,
PTB3,
23000,
18,
0.8,
false
}
nxpcup::Servo::Config nxpcup::alamak::kl25z::config::SERVO1
Initial value:
{
PTA12,
-10,
45,
0,
true
}
nxpcup::Servo::Config nxpcup::alamak::kl25z::config::SERVO2
Initial value:
{
PTA13,
0,
45,
0
}
atoms::Pid<float>::Config nxpcup::alamak::kl25z::config::STEERING_PID_CONFIG
Initial value:
{
2.5,
0,
0.8,
-90,
90
}