Smartcar Shield
Smartcar.h
Go to the documentation of this file.
1 
8 #pragma once
9 
12 #include "car/simple/SimpleCar.hpp"
13 #include "car/smart/SmartCar.hpp"
18 #include "motor/dual/DualMotor.hpp"
28 #include "utilities/Utilities.hpp"
29 
30 namespace smartcarlib
31 {
32 namespace pins
33 {
38 namespace v1
39 {
40 const BrushedMotorPins leftMotorPins{ 8, 10, 9 };
41 const BrushedMotorPins rightMotorPins{ 12, 13, 11 };
42 } // namespace v1
43 
48 namespace v2
49 {
50 const BrushedMotorPins leftMotorPins{ 12, 14, 13 };
51 const BrushedMotorPins rightMotorPins{ 25, 26, 27 };
52 const uint8_t leftOdometerPin = 35;
53 const uint8_t rightOdometerPin = 36;
56 } // namespace v2
57 } // namespace pins
58 } // namespace smartcarlib
59 
DirectionalOdometer.hpp
GP2Y0A02.hpp
smartcarlib
Definition: DistanceCar.hpp:11
BrushedMotorPins
Helper class to represent brushed motor pins.
Definition: BrushedMotor.hpp:20
BrushedMotor.hpp
HeadingCar.hpp
smartcarlib::pins::v2::leftMotorPins
const BrushedMotorPins leftMotorPins
Definition: Smartcar.h:50
SimpleCar.hpp
ArduinoRuntime.hpp
SR04.hpp
GY50.hpp
smartcarlib::pins::v2::rightOdometerPin
const uint8_t rightOdometerPin
Definition: Smartcar.h:53
ServoMotor.hpp
v2
smartcarlib::pins::v2::rightOdometerPins
const DirectionalOdometerPins rightOdometerPins
Definition: Smartcar.h:55
AckermanControl.hpp
GP2Y0A21.hpp
Utilities.hpp
DifferentialControl.hpp
SRF08.hpp
GP2D120.hpp
smartcarlib::pins::v2::rightMotorPins
const BrushedMotorPins rightMotorPins
Definition: Smartcar.h:51
smartcarlib::pins::v2::leftOdometerPin
const uint8_t leftOdometerPin
Definition: Smartcar.h:52
v1
DirectionalOdometerPins
Helper class to represent directional odometer pins.
Definition: DirectionalOdometer.hpp:14
DirectionlessOdometer.hpp
smartcarlib::pins::v1::leftMotorPins
const BrushedMotorPins leftMotorPins
Definition: Smartcar.h:40
smartcarlib::pins::v1::rightMotorPins
const BrushedMotorPins rightMotorPins
Definition: Smartcar.h:41
smartcarlib::pins::v2::leftOdometerPins
const DirectionalOdometerPins leftOdometerPins
Definition: Smartcar.h:54
SmartCar.hpp
DistanceCar.hpp
DualMotor.hpp