<commit_before>cmake_minimum_required(VERSION 2.8)
PROJECT(iit-coman-ros-pkg)

add_custom_target(  acm
                    COMMAND ${CMAKE_SOURCE_DIR}/coman_urdf/script/create_acm.sh coman)

add_custom_target(	remove_old_coman_urdf_gazebo ALL
    				COMMAND ${CMAKE_COMMAND} -E remove_directory 
        			"~/.gazebo/models/coman_urdf/")

add_custom_target(  remove_old_coman_gazebo ALL
                    COMMAND ${CMAKE_COMMAND} -E remove_directory 
                    "~/.gazebo/models/coman/")

add_custom_target(  compile_urdf_sdf ALL
                    COMMAND ${CMAKE_SOURCE_DIR}/coman_urdf/script/create_urdf_srdf_sdf.sh coman)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
    add_custom_target(	copy_coman_gazebo ALL
        				COMMAND ${CMAKE_COMMAND} -E copy_directory 
            			"${PROJECT_SOURCE_DIR}/coman_gazebo/sdf/" 
            			"~/.gazebo/models/coman/"
            			DEPENDS remove_old_coman_gazebo)
endif()
<commit_msg>Added install urdf and srdf folders in the correct path for coman<commit_after>cmake_minimum_required(VERSION 2.8)
PROJECT(iit-coman-ros-pkg)

add_custom_target(  acm
                    COMMAND ${CMAKE_SOURCE_DIR}/coman_urdf/script/create_acm.sh coman)

add_custom_target(	remove_old_coman_urdf_gazebo ALL
    				COMMAND ${CMAKE_COMMAND} -E remove_directory 
        			"~/.gazebo/models/coman_urdf/")

add_custom_target(  remove_old_coman_gazebo ALL
                    COMMAND ${CMAKE_COMMAND} -E remove_directory 
                    "~/.gazebo/models/coman/")

add_custom_target(  compile_urdf_sdf ALL
                    COMMAND ${CMAKE_SOURCE_DIR}/coman_urdf/script/create_urdf_srdf_sdf.sh coman)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
    add_custom_target(	copy_coman_gazebo ALL
        				COMMAND ${CMAKE_COMMAND} -E copy_directory 
            			"${PROJECT_SOURCE_DIR}/coman_gazebo/sdf/" 
            			"~/.gazebo/models/coman/"
            			DEPENDS remove_old_coman_gazebo)
endif()

# install urdf and srdf folders in the correct path
install(DIRECTORY coman_urdf/urdf/ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/robots/coman/urdf") #FILES_MATCHING PATTERN "*.urdf / .srdf"
install(DIRECTORY coman_srdf/srdf/ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/robots/coman/srdf") #FILES_MATCHING PATTERN "*.urdf / .srdf"

{'fraction_non_alphanumeric': 0.0900391474554154, 'fraction_numerical': 0.0017398869073510222, 'mean_word_length': 3.144144144144144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1622514', 'n_tokens_mistral': 921, 'n_tokens_neox': 856, 'n_words': 122}