Skip to content

Commit

Permalink
WIP - MCAP Replay
Browse files Browse the repository at this point in the history
Still need to: integrate w/ DB exec, vCAN
  • Loading branch information
mileskent committed Nov 14, 2024
1 parent 636c43c commit e156f13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,16 @@ add_library(socket ${REPLAY_DIR}/src/socket.cpp)
add_library(helper ${REPLAY_DIR}/src/helper.cpp)

add_executable(test_mcap_replay_client ${REPLAY_DIR}/src/client.cpp)
add_executable(test_mcap_replay_server ${REPLAY_DIR}/src/server.cpp)
#add_executable(test_mcap_replay_server ${REPLAY_DIR}/src/server.cpp)

target_include_directories(socket PUBLIC ${REPLAY_DIR}/include)
target_include_directories(helper PUBLIC ${REPLAY_DIR}/include)

set_props(test_mcap_replay_client)
set_props(test_mcap_replay_server)
#set_props(test_mcap_replay_server)

install(TARGETS test_mcap_replay_client test_mcap_replay_server
install(TARGETS test_mcap_replay_client
#test_mcap_replay_server
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

Expand Down
4 changes: 2 additions & 2 deletions test/test_mcap_replay/src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ int main(int argc, char** argv) {

// DEBUG
// Exit out early
if (c > 3) break;
// if (c > 3) break;
}

reader.close();
socket.close();
return 0;
}
}

0 comments on commit e156f13

Please sign in to comment.