change default trajectory

This commit is contained in:
Agnel Wang 2022-11-11 20:41:14 +08:00
parent 6e865f0f56
commit 05bc586847
4 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O3")
set(COMMUNICATION UDP) # UDP
# set(COMMUNICATION ROS) # ROS
# ----------------------configurations----------------------
# COMMUNICATION
if(${COMMUNICATION} STREQUAL "UDP")
@ -59,7 +60,6 @@ include_directories(
link_directories(lib)
# ----------------------add executable----------------------
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../build) # EXECUTABLE:CMAKE_RUNTIME_OUTPUT_DIRECTORY
add_executable(z1_ctrl main.cpp)

View File

@ -37,6 +37,7 @@ public:
bool isCollisionOpen;
double collisionTLimit;
bool isPlot;
int trajChoose = 1;
void geneObj();
void writeData();

Binary file not shown.

Binary file not shown.