Skip to content

Commit

Permalink
Fix remove quotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Apr 16, 2024
1 parent cc138e0 commit 8ad2154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/rpi/daemon/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ class rpi_daemon : public daemon
dlog::info("Created the CameraDevice");

std::unique_ptr<LidarDevice> lidar_device = getLidarDevice(configuration);
dlog::info("Created the LidarDevice");

std::unique_ptr<DeviceManager> device_manager = std::make_unique<DeviceManager>(std::move(camera_device), std::move(lidar_device));

Expand Down Expand Up @@ -308,7 +307,7 @@ std::unique_ptr<LidarDevice> getLidarDevice(std::shared_ptr<Configuration> confi
}
else
{
dlog::warning("Unable to connect to the Lidar Scanner, defaulting to LidarDummy\n");
dlog::warning(fmt::format("Unable to connect to the Lidar Scanner [{}], defaulting to LidarDummy; Error: {}\n", configuration->lidar_port, maybe_scanner.error()));
return std::make_unique<LidarDummy>();
}
}
Expand Down
3 changes: 1 addition & 2 deletions app/rpi/daemon/systemd/rpi_daemon.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ connection_interval=3

; Local host configuration (Electron Websocket Server)
host=

lidar_port="/dev/ttyUSB0"
lidar_port=/dev/ttyUSB0

0 comments on commit 8ad2154

Please sign in to comment.