modify CmakeLists.txt and package.xml to catkin_make success!

This commit is contained in:
charry
2025-11-21 14:25:49 +08:00
parent 233d5047da
commit cb61a88751
3 changed files with 49 additions and 9 deletions

34
.gitignore vendored Normal file
View File

@@ -0,0 +1,34 @@
models/OpenGVLab
scripts/ai_agent/agents/uav_agent*
scripts/ai_agent/models/models_manager_*.py
scripts/ai_agent/models/models_server_sample*.py
scripts/ai_agent/tools/mcp_clients_sample*
scripts/ai_agent/tools/mcp_*_sample*
scripts/ai_agent/memory/knowledge_base/map/vector_store/osm_map_*
scripts/ai_agent/tools/memory_mag/rag/__pycache__/rag_manager.cpython-310.pyc
scripts/ai_agent/tools/memory_mag/rag/__pycache__/llama_cpp_embeddings.cpython-310.pyc
scripts/ai_agent/tools/memory_mag/rag/__pycache__/llama_cpp_embeddings.cpython-310.pyc
scripts/ai_agent/tools/memory_mag/rag/__pycache__/
scripts/ai_agent/tools/core/__pycache__
scripts/ai_agent/tools/core/__pycache__/common_functions.cpython-310.pyc
scripts/ai_agent/agents/__pycache__
scripts/ai_agent/agents/__pycache__/memory_manager.cpython-310.pyc
scripts/ai_agent/agents/__pycache__/multimodal_large_model_agent.cpython-310.pyc
scripts/ai_agent/agents/__pycache__/multimodal_processor.cpython-310.pyc
scripts/ai_agent/agents/__pycache__/prompt_manager.cpython-310.pyc
scripts/ai_agent/agents/__pycache__/rag_manager.cpython-310.pyc
scripts/ai_agent/models/__pycache__
scripts/ai_agent/models/__pycache__/models_client.cpython-310.pyc
scripts/ai_agent/models/__pycache__/models_controller.cpython-310.pyc
scripts/ai_agent/models/__pycache__/models_server.cpython-310.pyc
scripts/ai_agent/models/__pycache__/models_server1.cpython-310.pyc
scripts/ai_agent/pnc/__pycache__
scripts/ai_agent/pnc/__pycache__/pnc.cpython-310.pyc

View File

@@ -6,17 +6,17 @@ project(uav_agent)
find_package(catkin REQUIRED COMPONENTS find_package(catkin REQUIRED COMPONENTS
rospy rospy
std_msgs std_msgs
prometheus_msgs #prometheus_msgs
iscas_msgs iscas_msgs
geometry_msgs geometry_msgs
message_generation message_generation
) )
# Service files to be built # Service files to be built
add_message_files( #add_message_files(
FILES # FILES
DetectionResult_tmp.msg # DetectResult.msg
) #)
# add_service_files( # add_service_files(
# FILES # FILES
@@ -34,7 +34,13 @@ add_message_files(
# catkin_package() settings # catkin_package() settings
# Added CATKIN_DEPENDS for runtime dependencies # Added CATKIN_DEPENDS for runtime dependencies
catkin_package( catkin_package(
CATKIN_DEPENDS rospy std_msgs prometheus_msgs iscas_msgs geometry_msgs message_runtime CATKIN_DEPENDS
rospy
std_msgs
#prometheus_msgs
iscas_msgs
geometry_msgs
message_runtime
) )
# Other install rules # Other install rules
@@ -43,7 +49,7 @@ catkin_package(
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} # DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# ) # )
catkin_install_python(PROGRAMS catkin_install_python(PROGRAMS
AI_Agent/scripts/ai_agent/ros_uav_agent_node/uav_agent_ros_node.py scripts/ai_agent/ros_uav_agent_node/uav_agent_ros_node.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
) )

View File

@@ -11,9 +11,9 @@
<depend>rospy</depend> <depend>rospy</depend>
<!-- <depend>py_trees</depend> <!-- <depend>py_trees</depend>
<depend>prometheus_msgs</depend> <depend>prometheus_msgs</depend>-->
<depend>geometry_msgs</depend> <depend>geometry_msgs</depend>
<depend>iscas_msgs</depend> --> <depend>iscas_msgs</depend>
<depend>std_msgs</depend> <depend>std_msgs</depend>