Skip to content

Commit

Permalink
Add CarWheelController to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Jan 10, 2024
1 parent db26456 commit 11dac62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/raspberry_pi/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "car/system/lidar/LidarDummy.cxx"

#include "car/system/movement/controller/DummyWheelController.cxx"
#include "car/system/movement/controller/CarWheelController.cxx"

std::string getWebSocketUrl()
{
Expand Down Expand Up @@ -54,7 +55,8 @@ int main()

std::unique_ptr<MessagingSystem> messaging_system = std::make_unique<MessagingSystem>(websocket_url);

std::unique_ptr<MovementSystem> movement_system = std::make_unique<MovementSystem>(std::make_unique<DummyWheelController>());
// std::unique_ptr<MovementSystem> movement_system = std::make_unique<MovementSystem>(std::make_unique<DummyWheelController>());
std::unique_ptr<MovementSystem> movement_system = std::make_unique<MovementSystem>(std::make_unique<CarWheelController>());

auto car_system = std::make_unique<CarSystem>(
websocket_url,
Expand Down

0 comments on commit 11dac62

Please sign in to comment.