Skip to content

Commit

Permalink
Remove unfinished programs
Browse files Browse the repository at this point in the history
  • Loading branch information
tabiosg committed Oct 7, 2023
1 parent 208c767 commit 27f57e5
Show file tree
Hide file tree
Showing 466 changed files with 2 additions and 587,663 deletions.
30 changes: 2 additions & 28 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,7 @@ if (${DEVICE} MATCHES "raspi4")
# define an add and link macro
# Put items here to build
macro(add_and_link_macro)
add_cpp_node_macro(arm_bridge "src/esw/arm_bridge/*")
add_cpp_node_macro(cache_bridge "src/esw/cache_bridge/*")
add_cpp_node_macro(can_node "src/esw/can_node/*")
add_cpp_node_macro(drive_bridge "src/esw/drive_bridge/*")
add_cpp_node_macro(led_hw_bridge "src/esw/led_hw_bridge/*")
add_cpp_node_macro(mast_gimbal_bridge "src/esw/mast_gimbal_bridge/*")
add_cpp_node_macro(pdb_bridge "src/esw/pdb_bridge/*")
add_cpp_node_macro(sa_bridge "src/esw/sa_bridge/*")
add_cpp_node_macro(science_bridge "src/esw/science_bridge/*")
# add_cpp_node_macro(arm_bridge "src/esw/arm_bridge/*")
endmacro()
else ()
# -=-=-=-=-
Expand Down Expand Up @@ -248,25 +240,7 @@ else ()
add_cpp_library_macro(lie src/util/lie/*.cpp src/util/lie)

add_cpp_interface_library_macro(moteus deps/moteus/lib/cpp/mjbots)
add_cpp_interface_library_macro(can_library src/esw/can_library)
add_cpp_library_macro(motor_library src/esw/motor_library/*.cpp src/esw/motor_library)
target_link_libraries(motor_library PRIVATE can_library)

macro(add_esw_bridge_cpp_node_macro name sources)
add_cpp_node_macro(${name} ${sources})
target_link_libraries(${name} PRIVATE can_library motor_library)
endmacro()

add_esw_bridge_cpp_node_macro(arm_bridge src/esw/arm_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(cache_bridge src/esw/cache_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(can_node src/esw/can_node/*.cpp)
add_esw_bridge_cpp_node_macro(drive_bridge src/esw/drive_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(led_hw_bridge src/esw/led_hw_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(mast_gimbal_bridge src/esw/mast_gimbal_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(pdb_bridge src/esw/pdb_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(sa_bridge src/esw/sa_bridge/*.cpp)
add_esw_bridge_cpp_node_macro(science_bridge src/esw/science_bridge/*.cpp)


add_gazebo_plugin_macro(differential_drive_plugin_6w src/gazebo/differential_drive_6w.cpp src)

add_gazebo_plugin_macro(kinect_plugin src/gazebo/gazebo_ros_openni_kinect.cpp src/gazebo)
Expand Down
19 changes: 0 additions & 19 deletions src/esw/arm_bridge/main.cpp

This file was deleted.

21 changes: 0 additions & 21 deletions src/esw/cache_bridge/main.cpp

This file was deleted.

89 changes: 0 additions & 89 deletions src/esw/can_library/can_manager.hpp

This file was deleted.

50 changes: 0 additions & 50 deletions src/esw/can_node/CanNode.cpp

This file was deleted.

95 changes: 0 additions & 95 deletions src/esw/can_node/CanNode.hpp

This file was deleted.

27 changes: 0 additions & 27 deletions src/esw/can_node/main.cpp

This file was deleted.

Loading

0 comments on commit 27f57e5

Please sign in to comment.