refactor(controller): Update TrajectoryFollow method signature and improve path handling
- Changed the signature of TrajectoryFollow to accept a vector of unitree::robot::go2::PathPoint instead of std::array<float, 6>. - Updated the implementation of TrajectoryFollow in controller.cpp to utilize the new path type. - Removed unnecessary status message in CMakeLists.txt related to unitree_sdk2 detection. - Added a new function in custom_robot.cpp to create example trajectories for different path types (line, square, circle) and integrated it into the command processing for TrajectoryFollow.
This commit is contained in:
@@ -18,7 +18,6 @@ if(NOT PahoMqttC_FOUND)
|
||||
endif()
|
||||
|
||||
find_package(unitree_sdk2 REQUIRED)
|
||||
message(STATUS "Found unitree_sdk2 in: ${unitree_sdk2_DIR}")
|
||||
|
||||
# Include directories
|
||||
include_directories(
|
||||
|
||||
Reference in New Issue
Block a user