trick/trick_sims/SIM_wheelbot/models/Electrical/include/ElectricalCircuit.hh

25 lines
541 B
C++

/**************************************************************
PURPOSE: (Electrical Model)
***************************************************************/
#ifndef ELECTRICAL_CIRCUIT_H
#define ELECTRICAL_CIRCUIT_H
class DCBattery;
class DCMotor;
class ElectricalCircuit
{
public:
DCMotor* motor1;
DCMotor* motor2;
DCBattery* battery;
ElectricalCircuit();
void init (DCMotor* motor1, DCMotor* motor2, DCBattery* battery);
void update();
private:
double motorsCurrent;
};
#endif