diff --git a/humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_bringup.launch b/humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_intelligence_control_system_bringup.launch similarity index 100% rename from humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_bringup.launch rename to humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_intelligence_control_system_bringup.launch diff --git a/humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_bringup_visualization.launch b/humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_intelligence_control_system_bringup_visualization.launch similarity index 100% rename from humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_bringup_visualization.launch rename to humanoid_robot_intelligence_control_system_bringup/launch/humanoid_robot_intelligence_control_system_bringup_visualization.launch diff --git a/humanoid_robot_intelligence_control_system_demo/launch/demo.launch b/humanoid_robot_intelligence_control_system_demo/launch/demo.launch index bd235f4..2734717 100644 --- a/humanoid_robot_intelligence_control_system_demo/launch/demo.launch +++ b/humanoid_robot_intelligence_control_system_demo/launch/demo.launch @@ -1,25 +1,25 @@ - + - - - - + - + - - - - + - + diff --git a/humanoid_robot_intelligence_control_system_demo/launch/face_detection_humanoid_robot.launch b/humanoid_robot_intelligence_control_system_demo/launch/face_detection_humanoid_robot.launch index 3dc87c8..dd680ac 100644 --- a/humanoid_robot_intelligence_control_system_demo/launch/face_detection_humanoid_robot.launch +++ b/humanoid_robot_intelligence_control_system_demo/launch/face_detection_humanoid_robot.launch @@ -1,16 +1,23 @@ - - - - - + + + + + - + $(arg face_cascade_name_4)" + output="screen"> diff --git a/humanoid_robot_intelligence_control_system_demo/launch/self_test.launch b/humanoid_robot_intelligence_control_system_demo/launch/self_test.launch index 38c2958..4751a5f 100644 --- a/humanoid_robot_intelligence_control_system_demo/launch/self_test.launch +++ b/humanoid_robot_intelligence_control_system_demo/launch/self_test.launch @@ -2,25 +2,26 @@ - + - - - - + - + - + - - - - - + + diff --git a/humanoid_robot_intelligence_control_system_demo/src/demo_node.cpp b/humanoid_robot_intelligence_control_system_demo/src/demo_node.cpp index 7df1268..523b62a 100644 --- a/humanoid_robot_intelligence_control_system_demo/src/demo_node.cpp +++ b/humanoid_robot_intelligence_control_system_demo/src/demo_node.cpp @@ -71,20 +71,25 @@ int main(int argc, char **argv) { ros::NodeHandle nh(ros::this_node::getName()); - init_pose_pub = - nh.advertise("/humanoid_robot_intelligence_control_system/base/ini_pose", 0); + init_pose_pub = nh.advertise( + "/humanoid_robot_intelligence_control_system/base/ini_pose", 0); play_sound_pub = nh.advertise("/play_sound_file", 0); - led_pub = nh.advertise( - "/humanoid_robot_intelligence_control_system/sync_write_item", 0); - dxl_torque_pub = - nh.advertise("/humanoid_robot_intelligence_control_system/dxl_torque", 0); + led_pub = + nh.advertise( + "/humanoid_robot_intelligence_control_system/sync_write_item", 0); + dxl_torque_pub = nh.advertise( + "/humanoid_robot_intelligence_control_system/dxl_torque", 0); ros::Subscriber buttuon_sub = - nh.subscribe("/humanoid_robot_intelligence_control_system/open_cr/button", 1, buttonHandlerCallback); + nh.subscribe("/humanoid_robot_intelligence_control_system/open_cr/button", + 1, buttonHandlerCallback); ros::Subscriber mode_command_sub = - nh.subscribe("/humanoid_robot_intelligence_control_system/mode_command", 1, demoModeCommandCallback); + nh.subscribe("/humanoid_robot_intelligence_control_system/mode_command", + 1, demoModeCommandCallback); default_mp3_path = - ros::package::getPath("humanoid_robot_intelligence_control_system_demo") + "/data/mp3/"; + ros::package::getPath("humanoid_robot_intelligence_control_system_demo") + + "/data/mp3/"; ros::start(); @@ -92,7 +97,8 @@ int main(int argc, char **argv) { ros::Rate loop_rate(SPIN_RATE); // wait for starting of manager - std::string manager_name = "/humanoid_robot_intelligence_control_system_manager"; + std::string manager_name = + "/humanoid_robot_intelligence_control_system_manager"; while (ros::ok()) { ros::Duration(1.0).sleep(); @@ -272,7 +278,8 @@ void playSound(const std::string &path) { } void setLED(int led) { - humanoid_robot_intelligence_control_system_controller_msgs::SyncWriteItem syncwrite_msg; + humanoid_robot_intelligence_control_system_controller_msgs::SyncWriteItem + syncwrite_msg; syncwrite_msg.item_name = "LED"; syncwrite_msg.joint_name.push_back("open-cr"); syncwrite_msg.value.push_back(led); diff --git a/humanoid_robot_intelligence_control_system_read_write_demo/launch/humanoid_robot_read_write.launch b/humanoid_robot_intelligence_control_system_read_write_demo/launch/humanoid_robot_intelligence_control_system_read_write.launch similarity index 100% rename from humanoid_robot_intelligence_control_system_read_write_demo/launch/humanoid_robot_read_write.launch rename to humanoid_robot_intelligence_control_system_read_write_demo/launch/humanoid_robot_intelligence_control_system_read_write.launch