latest pushes

This commit is contained in:
2023-10-03 23:16:46 -04:00
parent 24d117a13d
commit ed1800f078
9 changed files with 180 additions and 268 deletions

View File

@@ -4,26 +4,40 @@ project(humanoid_nav_msgs)
#List to make rest of code more readable
set(MESSAGE_DEPENDENCIES std_msgs geometry_msgs actionlib_msgs)
#Declare build dependencies
find_package(
catkin REQUIRED
COMPONENTS
message_generation
${MESSAGE_DEPENDENCIES}
)
#Add message files
add_message_files(DIRECTORY msg FILES StepTarget.msg)
if($ENV{ROS_VERSION} EQUAL 1)
find_package(
catkin REQUIRED
COMPONENTS
message_generation
${MESSAGE_DEPENDENCIES}
)
else()
find_package(ament_cmake REQUIRED)
endif()
if($ENV{ROS_VERSION} EQUAL 1)
add_service_files(
DIRECTORY srv
FILES
ClipFootstep.srv
PlanFootsteps.srv
PlanFootstepsBetweenFeet.srv
StepTargetService.srv
)
else()
ament_package()
endif()
add_message_files(
DIRECTORY
msg
FILES
StepTarget.msg
)
#Add service files
add_service_files(
DIRECTORY srv
FILES
ClipFootstep.srv
PlanFootsteps.srv
PlanFootstepsBetweenFeet.srv
StepTargetService.srv
)
#Add action files
add_action_files(