Skip to content

Commit

Permalink
Remove unused features from world interface (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaybd authored Jun 4, 2023
1 parent 94228b3 commit bf351e2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/world_interface/real_world_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
#include "../Constants.h"
#include "../Globals.h"
#include "../Util.h"
#include "../ar/read_landmarks.h"
#include "../ardupilot/ArduPilotInterface.h"
#include "../camera/Camera.h"
#include "../gps/usb_gps/read_usb_gps.h"
#include "../lidar/read_hokuyo_lidar.h"
#include "../log.h"
#include "../navtypes.h"
#include "motor/can_motor.h"
Expand Down Expand Up @@ -139,8 +137,6 @@ void setupCameras() {
void world_interface_init(bool initOnlyMotors) {
if (!initOnlyMotors) {
setupCameras();
bool lidar_success = lidar::initializeLidar();
bool landmark_success = AR::initializeLandmarkDetection();
ardupilot::initArduPilotProtocol(Globals::websocketServer);
}
can::initCAN();
Expand Down Expand Up @@ -236,11 +232,11 @@ DataPoint<pose_t> getTruePose() {
}

landmarks_t readLandmarks() {
return AR::readLandmarks();
return {};
}

DataPoint<points_t> readLidarScan() {
return lidar::readLidar();
return {};
}

DataPoint<pose_t> readVisualOdomVel() {
Expand Down

0 comments on commit bf351e2

Please sign in to comment.