Skip to content

Commit

Permalink
TODO: startNode
Browse files Browse the repository at this point in the history
  • Loading branch information
misha7b committed May 31, 2024
1 parent f879024 commit 4eae13e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/navigation/control/navigator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Navigator : public INavigator {
AccelerometerPreprocessor accelerometer_preprocessor_;
OpticalPreprocessor optical_preprocessor_;

// previous readings
// previous readings
core::Float previous_optical_reading_;
core::Float previous_keyence_reading_;
core::Float previous_accelerometer_data_;
Expand Down
4 changes: 1 addition & 3 deletions src/pod/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <core/types.hpp>
#include <core/wall_clock.hpp>
#include <io/hardware_gpio.hpp>
#include <navigation/control/navigator.hpp>
#include <state_machine/state_machine.hpp>
#include <state_machine/transition_table.hpp>
#include <toml++/toml.hpp>
Expand Down Expand Up @@ -76,9 +77,6 @@ int main(int argc, char **argv)
if (node_name == "state_machine") {
auto state_machine_config = config["state_machine"];
hyped::state_machine::StateMachine::startNode(state_machine_config, mqtt_ip, mqtt_port);
else if (node_name == "navigator") {
auto navigator_config = config["navigator"];
hyped::navigation::Navigator::startNode(navigator_config, mqtt_ip, mqtt_port);
} else {
std::cerr << "Unknown node: " << node_name << "\n";
return 1;
Expand Down

0 comments on commit 4eae13e

Please sign in to comment.