Newer
Older
//
// Created by philipp on 12.02.18.
//
#ifndef CAR_PLATOONCONTROLLER_H
#define CAR_PLATOONCONTROLLER_H
// #include "PlatoonProtocolLib/Vehicle.h"
#include "C2CBase.h"
#include "PC2CarLib/CommandReceiver.h"
#include "EgoMotion.h"
pc2car::CommandReceiver::Ptr pc,
EgoMotion& egoMotion);
pc2car::CommandReceiver::Ptr pc;
EgoMotion& egoMotion;
// TODO check these values!
PlatoonState curState = PlatoonState::CACC_FV;
// TODO check these values!
float desSpeed = 0.0;
// METHODS
void run_ACC();
void run_CACC_FV();
void run_CACC_LV();