Smartcar Shield
Namespaces | Variables
Smartcar.h File Reference

The entrypoint for the Smartcar library The entrypoint for the Smartcar platform on boards that are compatible with the Arduino API. Everything needed to control the platform (i.e. the vehicle as well as its sensors) are included through this header file. More...

#include "car/distance/DistanceCar.hpp"
#include "car/heading/HeadingCar.hpp"
#include "car/simple/SimpleCar.hpp"
#include "car/smart/SmartCar.hpp"
#include "control/ackerman/AckermanControl.hpp"
#include "control/differential/DifferentialControl.hpp"
#include "motor/analog/pwm/BrushedMotor.hpp"
#include "motor/digital/servo/ServoMotor.hpp"
#include "motor/dual/DualMotor.hpp"
#include "runtime/arduino_runtime/ArduinoRuntime.hpp"
#include "sensors/distance/infrared/analog/sharp/GP2D120.hpp"
#include "sensors/distance/infrared/analog/sharp/GP2Y0A02.hpp"
#include "sensors/distance/infrared/analog/sharp/GP2Y0A21.hpp"
#include "sensors/distance/ultrasound/i2c/SRF08.hpp"
#include "sensors/distance/ultrasound/ping/SR04.hpp"
#include "sensors/heading/gyroscope/GY50.hpp"
#include "sensors/odometer/interrupt/DirectionalOdometer.hpp"
#include "sensors/odometer/interrupt/DirectionlessOdometer.hpp"
#include "utilities/Utilities.hpp"
Include dependency graph for Smartcar.h:

Go to the source code of this file.

Namespaces

 smartcarlib
 
 smartcarlib::pins
 
 v1
 
 smartcarlib::pins::v1
 
 v2
 
 smartcarlib::pins::v2
 

Variables

const BrushedMotorPins smartcarlib::pins::v1::leftMotorPins { 8, 10, 9 }
 
const BrushedMotorPins smartcarlib::pins::v1::rightMotorPins { 12, 13, 11 }
 
const BrushedMotorPins smartcarlib::pins::v2::leftMotorPins { 12, 14, 13 }
 
const BrushedMotorPins smartcarlib::pins::v2::rightMotorPins { 25, 26, 27 }
 
const uint8_t smartcarlib::pins::v2::leftOdometerPin = 35
 
const uint8_t smartcarlib::pins::v2::rightOdometerPin = 36
 
const DirectionalOdometerPins smartcarlib::pins::v2::leftOdometerPins { leftOdometerPin, 34 }
 
const DirectionalOdometerPins smartcarlib::pins::v2::rightOdometerPins { rightOdometerPin, 39 }
 

Detailed Description

The entrypoint for the Smartcar library The entrypoint for the Smartcar platform on boards that are compatible with the Arduino API. Everything needed to control the platform (i.e. the vehicle as well as its sensors) are included through this header file.

Definition in file Smartcar.h.