Skip to content

Commit

Permalink
Remove vestigial and unused code (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaybd authored and Geeoon committed Jan 8, 2024
1 parent ff4a247 commit 80965ab
Show file tree
Hide file tree
Showing 32 changed files with 0 additions and 2,560 deletions.
Empty file removed .gitmodules
Empty file.
2 changes: 0 additions & 2 deletions rover-config/.motion/camera0.conf

This file was deleted.

2 changes: 0 additions & 2 deletions rover-config/.motion/camera1.conf

This file was deleted.

2 changes: 0 additions & 2 deletions rover-config/.motion/camera2.conf

This file was deleted.

30 changes: 0 additions & 30 deletions rover-config/.motion/motion.conf

This file was deleted.

1 change: 0 additions & 1 deletion rover-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ filesystem.

| **File/Directory** | **Location on Rover** | **Description** |
| ----------------- | -------------------- | -------------- |
| `.motion/` | `/home/$USER/` | Configuration files for Motion (currently handles our video streaming.) |
| `50-usb-hokuyo-lidar.rules` | `/etc/udev/rules.d/` | `udev` rules for making sure we have permissions to access the lidar over USB. |
| `50-rover-cameras.rules` | `/etc/udev/rules.d/` | `udev` rules for making sure cameras have stable IDs. |

Expand Down
9 changes: 0 additions & 9 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,8 @@ list(APPEND simulator_libs
add_executable(Rover Rover.cpp)
add_library(rover_common SHARED
Globals.cpp
rospub.cpp
network/websocket/WebSocketServer.cpp
network/websocket/WebSocketProtocol.cpp
worldmap/GlobalMap.cpp
worldmap/TrICP.cpp
worldmap/QuadTree.cpp
planning/plan.cpp
)
target_link_libraries(rover_common
utils
Expand Down Expand Up @@ -318,7 +313,6 @@ target_link_libraries(TunePID ${vision_libs})
if(WITH_TESTS)
add_executable(tests
Tests.cpp
rospub_test.cpp
# AR Detection tests
ar/DetectorTests.cpp
ar/MarkerSetTests.cpp
Expand All @@ -341,9 +335,6 @@ if(WITH_TESTS)
../tests/filters/MultiSensorEKFTest.cpp
../tests/filters/StateSpaceUtilsTest.cpp
../tests/filters/FullPoseEstimatorTest.cpp
../tests/worldmap/TrICPTest.cpp
../tests/worldmap/GlobalMapTest.cpp
../tests/worldmap/QuadTreeTest.cpp
# Command tests
../tests/commands/DriveToWaypointCommandTest.cpp
# Util tests
Expand Down
3 changes: 0 additions & 3 deletions src/Rover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "Globals.h"
#include "navtypes.h"
#include "network/MissionControlProtocol.h"
#include "rospub.h"
#include "world_interface/world_interface.h"

#include <array>
Expand Down Expand Up @@ -30,7 +29,6 @@ using namespace robot::types;

void closeRover(int signum) {
robot::emergencyStop();
rospub::shutdown();
Globals::websocketServer.stop();
raise(SIGTERM);
}
Expand Down Expand Up @@ -188,7 +186,6 @@ int main(int argc, char** argv) {
robot::world_interface_init();
auto mcProto = std::make_unique<net::mc::MissionControlProtocol>(Globals::websocketServer);
Globals::websocketServer.addProtocol(std::move(mcProto));
rospub::init();
// Ctrl+C doesn't stop the simulation without this line
signal(SIGINT, closeRover);

Expand Down
11 changes: 0 additions & 11 deletions src/WorldData.h

This file was deleted.

12 changes: 0 additions & 12 deletions src/gps/example_gps_legs.txt

This file was deleted.

17 changes: 0 additions & 17 deletions src/gps/simulator_legs.txt

This file was deleted.

16 changes: 0 additions & 16 deletions src/gps/zero_legs.txt

This file was deleted.

9 changes: 0 additions & 9 deletions src/math/PointXY.h

This file was deleted.

Loading

0 comments on commit 80965ab

Please sign in to comment.