#include "CollisionModel.h"
CollisionModel::CollisionModel()
{<--- Member variable 'CollisionModel::isLeftFootColliding' is not initialized in the constructor.<--- Member variable 'CollisionModel::isRightFootColliding' is not initialized in the constructor.<--- Member variable 'CollisionModel::collision_left_bumper' is not initialized in the constructor.<--- Member variable 'CollisionModel::collision_right_bumper' is not initialized in the constructor.
}
CollisionModel::~CollisionModel()
{
}
void CollisionModel::print(std::ostream &stream) const
{
stream << "isLeftFootColliding=" << (isLeftFootColliding ? "true" : "false") << std::endl;
stream << "isRightFootColliding=" << (isRightFootColliding ? "true" : "false") << std::endl;
stream << "Last computed collision Left: " << lastComputedCollisionLeft.getFrameNumber() << std::endl;
stream << "Last computed collision Right: " << lastComputedCollisionRight.getFrameNumber() << std::endl;
}