├── .gitignore ├── clients ├── roscpp │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── include │ │ └── ros │ │ │ ├── advertise_options.h │ │ │ ├── advertise_service_options.h │ │ │ ├── callback_queue.h │ │ │ ├── callback_queue_interface.h │ │ │ ├── common.h.in │ │ │ ├── connection.h │ │ │ ├── connection_manager.h │ │ │ ├── exceptions.h │ │ │ ├── file_log.h │ │ │ ├── forwards.h │ │ │ ├── init.h │ │ │ ├── internal_timer_manager.h │ │ │ ├── intraprocess_publisher_link.h │ │ │ ├── intraprocess_subscriber_link.h │ │ │ ├── io.h │ │ │ ├── master.h │ │ │ ├── message.h │ │ │ ├── message_deserializer.h │ │ │ ├── names.h │ │ │ ├── network.h │ │ │ ├── node_handle.h │ │ │ ├── param.h │ │ │ ├── parameter_adapter.h │ │ │ ├── poll_manager.h │ │ │ ├── poll_set.h │ │ │ ├── publication.h │ │ │ ├── publisher.h │ │ │ ├── publisher_link.h │ │ │ ├── ros.h │ │ │ ├── roscpp.dox │ │ │ ├── rosout_appender.h │ │ │ ├── service.h │ │ │ ├── service_callback_helper.h │ │ │ ├── service_client.h │ │ │ ├── service_client_link.h │ │ │ ├── service_client_options.h │ │ │ ├── service_manager.h │ │ │ ├── service_publication.h │ │ │ ├── service_server.h │ │ │ ├── service_server_link.h │ │ │ ├── single_subscriber_publisher.h │ │ │ ├── spinner.h │ │ │ ├── statistics.h │ │ │ ├── steady_timer.h │ │ │ ├── steady_timer_options.h │ │ │ ├── subscribe_options.h │ │ │ ├── subscriber.h │ │ │ ├── subscriber_link.h │ │ │ ├── subscription.h │ │ │ ├── subscription_callback_helper.h │ │ │ ├── subscription_queue.h │ │ │ ├── this_node.h │ │ │ ├── timer.h │ │ │ ├── timer_manager.h │ │ │ ├── timer_options.h │ │ │ ├── topic.h │ │ │ ├── topic_manager.h │ │ │ ├── transport │ │ │ ├── transport.h │ │ │ ├── transport_tcp.h │ │ │ ├── transport_udp.h │ │ │ ├── transport_uds.h │ │ │ ├── transport_uds_datagram.h │ │ │ └── transport_uds_stream.h │ │ │ ├── transport_hints.h │ │ │ ├── transport_publisher_link.h │ │ │ ├── transport_subscriber_link.h │ │ │ ├── wall_timer.h │ │ │ ├── wall_timer_options.h │ │ │ └── xmlrpc_manager.h │ ├── msg │ │ └── Logger.msg │ ├── package.xml │ ├── rosbuild │ │ ├── roscpp.cmake │ │ └── scripts │ │ │ ├── genmsg_cpp.py │ │ │ ├── gensrv_cpp.py │ │ │ └── msg_gen.py │ ├── src │ │ ├── libros │ │ │ ├── callback_queue.cpp │ │ │ ├── common.cpp │ │ │ ├── config.h.in │ │ │ ├── connection.cpp │ │ │ ├── connection_manager.cpp │ │ │ ├── file_log.cpp │ │ │ ├── init.cpp │ │ │ ├── internal_timer_manager.cpp │ │ │ ├── intraprocess_publisher_link.cpp │ │ │ ├── intraprocess_subscriber_link.cpp │ │ │ ├── io.cpp │ │ │ ├── master.cpp │ │ │ ├── message_deserializer.cpp │ │ │ ├── names.cpp │ │ │ ├── network.cpp │ │ │ ├── node_handle.cpp │ │ │ ├── param.cpp │ │ │ ├── poll_manager.cpp │ │ │ ├── poll_set.cpp │ │ │ ├── publication.cpp │ │ │ ├── publisher.cpp │ │ │ ├── publisher_link.cpp │ │ │ ├── rosout_appender.cpp │ │ │ ├── service.cpp │ │ │ ├── service_client.cpp │ │ │ ├── service_client_link.cpp │ │ │ ├── service_manager.cpp │ │ │ ├── service_publication.cpp │ │ │ ├── service_server.cpp │ │ │ ├── service_server_link.cpp │ │ │ ├── single_subscriber_publisher.cpp │ │ │ ├── spinner.cpp │ │ │ ├── statistics.cpp │ │ │ ├── steady_timer.cpp │ │ │ ├── subscriber.cpp │ │ │ ├── subscriber_link.cpp │ │ │ ├── subscription.cpp │ │ │ ├── subscription_queue.cpp │ │ │ ├── this_node.cpp │ │ │ ├── timer.cpp │ │ │ ├── topic.cpp │ │ │ ├── topic_manager.cpp │ │ │ ├── transport │ │ │ │ ├── transport.cpp │ │ │ │ ├── transport_tcp.cpp │ │ │ │ ├── transport_udp.cpp │ │ │ │ ├── transport_uds.cpp │ │ │ │ ├── transport_uds_datagram.cpp │ │ │ │ └── transport_uds_stream.cpp │ │ │ ├── transport_publisher_link.cpp │ │ │ ├── transport_subscriber_link.cpp │ │ │ ├── wall_timer.cpp │ │ │ └── xmlrpc_manager.cpp │ │ └── roscpp │ │ │ └── __init__.py │ └── srv │ │ ├── Empty.srv │ │ ├── GetLoggers.srv │ │ └── SetLoggerLevel.srv └── rospy │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── epydoc.config │ ├── package.xml │ ├── rosbuild │ ├── rospy.cmake │ └── scripts │ │ ├── genmsg_py.py │ │ ├── gensrv_py.py │ │ └── genutil.py │ ├── rosdoc.yaml │ ├── scripts │ └── rosconsole │ ├── setup.py │ ├── src │ └── rospy │ │ ├── __init__.py │ │ ├── client.py │ │ ├── core.py │ │ ├── exceptions.py │ │ ├── impl │ │ ├── __init__.py │ │ ├── init.py │ │ ├── masterslave.py │ │ ├── paramserver.py │ │ ├── registration.py │ │ ├── rosout.py │ │ ├── simtime.py │ │ ├── statistics.py │ │ ├── tcpros.py │ │ ├── tcpros_base.py │ │ ├── tcpros_pubsub.py │ │ ├── tcpros_service.py │ │ ├── transport.py │ │ ├── udpros.py │ │ └── validators.py │ │ ├── logger_level_service_caller.py │ │ ├── msg.py │ │ ├── msproxy.py │ │ ├── names.py │ │ ├── numpy_msg.py │ │ ├── rosconsole.py │ │ ├── rostime.py │ │ ├── service.py │ │ ├── timer.py │ │ └── topics.py │ └── test_nodes │ ├── listener.py │ └── talker.py ├── ros_comm ├── CHANGELOG.rst ├── CMakeLists.txt └── package.xml ├── test ├── test_rosbag │ ├── CMakeLists.txt │ ├── bag_migration_tests │ │ ├── CMakeLists.txt │ │ ├── MessageHistory.txt │ │ ├── README.md │ │ ├── msg_current │ │ │ ├── Constants.msg │ │ │ ├── Converged.msg │ │ │ ├── MigratedAddSub.msg │ │ │ ├── MigratedExplicit.msg │ │ │ ├── MigratedImplicit.msg │ │ │ ├── MigratedMixed.msg │ │ │ ├── PartiallyMigrated.msg │ │ │ ├── Renamed5.msg │ │ │ ├── Simple.msg │ │ │ ├── SimpleMigrated.msg │ │ │ ├── SubUnmigrated.msg │ │ │ └── Unmigrated.msg │ │ ├── msg_gen1 │ │ │ ├── Constants.msg │ │ │ ├── Converged.msg │ │ │ ├── Convergent.msg │ │ │ ├── MigratedAddSub.msg │ │ │ ├── MigratedExplicit.msg │ │ │ ├── MigratedImplicit.msg │ │ │ ├── MigratedMixed.msg │ │ │ ├── PartiallyMigrated.msg │ │ │ ├── Renamed1.msg │ │ │ ├── Simple.msg │ │ │ ├── SimpleMigrated.msg │ │ │ ├── SubUnmigrated.msg │ │ │ └── Unmigrated.msg │ │ ├── msg_gen2 │ │ │ ├── Constants.msg │ │ │ ├── Converged.msg │ │ │ ├── Convergent.msg │ │ │ ├── MigratedAddSub.msg │ │ │ ├── MigratedExplicit.msg │ │ │ ├── MigratedImplicit.msg │ │ │ ├── MigratedMixed.msg │ │ │ ├── PartiallyMigrated.msg │ │ │ ├── Renamed2.msg │ │ │ ├── Simple.msg │ │ │ ├── SimpleMigrated.msg │ │ │ ├── SubUnmigrated.msg │ │ │ └── Unmigrated.msg │ │ ├── msg_gen3 │ │ │ ├── Converged.msg │ │ │ ├── MigratedAddSub.msg │ │ │ ├── MigratedExplicit.msg │ │ │ ├── MigratedImplicit.msg │ │ │ ├── MigratedMixed.msg │ │ │ ├── PartiallyMigrated.msg │ │ │ ├── Renamed3.msg │ │ │ ├── Simple.msg │ │ │ ├── SimpleMigrated.msg │ │ │ ├── SubUnmigrated.msg │ │ │ └── Unmigrated.msg │ │ ├── msg_gen4 │ │ │ ├── Constants.msg │ │ │ ├── Converged.msg │ │ │ ├── MigratedAddSub.msg │ │ │ ├── MigratedExplicit.msg │ │ │ ├── MigratedImplicit.msg │ │ │ ├── MigratedMixed.msg │ │ │ ├── PartiallyMigrated.msg │ │ │ ├── Renamed4.msg │ │ │ ├── Simple.msg │ │ │ ├── SimpleMigrated.msg │ │ │ ├── SubUnmigrated.msg │ │ │ └── Unmigrated.msg │ │ ├── scripts │ │ │ ├── generate_data │ │ │ ├── generate_data_1.py │ │ │ ├── generate_data_2.py │ │ │ ├── generate_data_3.py │ │ │ ├── generate_data_4.py │ │ │ └── generate_rules │ │ └── test │ │ │ ├── constants.bmr │ │ │ ├── converged_rules.bmr │ │ │ ├── migrate_test.py.in │ │ │ ├── migrated_addsub_rules.bmr │ │ │ ├── migrated_explicit_rules.bmr │ │ │ ├── migrated_mixed_rules.bmr │ │ │ ├── partially_migrated_rules.bmr │ │ │ ├── random_messages.py │ │ │ ├── random_play.py │ │ │ ├── random_play.xml.in │ │ │ ├── random_play_sim.xml.in │ │ │ ├── random_record.py │ │ │ ├── random_record.xml.in │ │ │ ├── renamed_rules.bmr │ │ │ └── simple_migrated_rules.bmr │ ├── package.xml │ └── test │ │ ├── connection_count.py │ │ ├── double_pub.cpp │ │ ├── latched_pub.py │ │ ├── latched_pub.test │ │ ├── latched_sub.py │ │ ├── latched_sub.test.in │ │ ├── play_play.test.in │ │ ├── record_one_publisher_two_topics.test │ │ ├── record_sigint_cleanup.py │ │ ├── record_sigint_cleanup.test │ │ ├── record_signal_cleanup_helper.py │ │ ├── record_sigterm_cleanup.py │ │ ├── record_sigterm_cleanup.test │ │ ├── record_two_publishers.test │ │ ├── rosbag_play.test.in │ │ ├── test_bag.cpp.in │ │ ├── test_bag.py │ │ └── topic_count.py ├── test_rosbag_storage │ ├── CMakeLists.txt │ ├── package.xml │ └── src │ │ ├── bag_player.cpp │ │ ├── create_and_iterate_bag.cpp │ │ └── swap_bags.cpp ├── test_roscpp │ ├── CMakeLists.txt │ ├── package.xml │ ├── perf │ │ ├── CMakeLists.txt │ │ ├── include │ │ │ └── perf_roscpp │ │ │ │ ├── inter.h │ │ │ │ └── intra.h │ │ ├── msg │ │ │ ├── LatencyMessage.msg │ │ │ └── ThroughputMessage.msg │ │ └── src │ │ │ ├── inter.cpp │ │ │ ├── intra.cpp │ │ │ └── intra_suite.cpp │ ├── perf_serialization │ │ ├── CMakeLists.txt │ │ ├── msg │ │ │ ├── ChannelFloat32.msg │ │ │ ├── Point32.msg │ │ │ └── PointCloud.msg │ │ └── pointcloud_serdes.cpp │ ├── test │ │ ├── CMakeLists.txt │ │ ├── fake_message.h │ │ ├── launch │ │ │ ├── check_master.xml │ │ │ ├── check_master_false.xml │ │ │ ├── fragmented_udp_data.launch │ │ │ ├── get_master_information.xml │ │ │ ├── global_remappings.xml │ │ │ ├── handles.xml │ │ │ ├── incrementing_sequence.xml │ │ │ ├── init_no_sim_time.xml │ │ │ ├── inspection.xml │ │ │ ├── intraprocess_subscriptions.xml │ │ │ ├── latching_publisher.xml │ │ │ ├── left_right.xml │ │ │ ├── loads_of_publishers.xml │ │ │ ├── local_remappings.xml │ │ │ ├── missing_call_to_shutdown.xml │ │ │ ├── multiple_init_fini.xml │ │ │ ├── multiple_latched_publishers.xml │ │ │ ├── multiple_subscriptions.xml │ │ │ ├── name_not_remappable.xml │ │ │ ├── name_remapping.xml │ │ │ ├── name_remapping_ROS_NAMESPACE.xml │ │ │ ├── namespaces.xml │ │ │ ├── no_remappings.xml │ │ │ ├── nonconst_subscriptions.xml │ │ │ ├── ns_node_remapping.xml │ │ │ ├── parameter_validation.xml │ │ │ ├── params.xml │ │ │ ├── pingpong.xml │ │ │ ├── pingpong_large.xml │ │ │ ├── pub_onsub.xml │ │ │ ├── pubsub_empty.xml │ │ │ ├── pubsub_n_fast.xml │ │ │ ├── pubsub_n_fast_large_message.xml │ │ │ ├── pubsub_n_fast_udp.xml │ │ │ ├── pubsub_once.xml │ │ │ ├── pubsub_resub_once.xml │ │ │ ├── pubsub_unadv.xml │ │ │ ├── pubsub_unsub.xml │ │ │ ├── real_time_test.xml │ │ │ ├── search_param.xml │ │ │ ├── service_adv_multiple.xml │ │ │ ├── service_call.xml │ │ │ ├── service_call_unadv.xml │ │ │ ├── service_call_zombie.xml │ │ │ ├── service_callback_types.xml │ │ │ ├── service_deadlock.xml │ │ │ ├── service_exception.xml │ │ │ ├── service_multiple_providers.xml │ │ │ ├── sim_time_test.xml │ │ │ ├── spinners.xml │ │ │ ├── stamped_topic_statistics_with_empty_timestamp.xml │ │ │ ├── subscribe_retry_tcp.xml │ │ │ ├── subscribe_self.xml │ │ │ ├── subscribe_star.xml │ │ │ ├── subscription_callback_types.xml │ │ │ ├── test-node.xml │ │ │ ├── timer_callbacks.xml │ │ │ ├── topic_statistic_frequency.xml │ │ │ └── wait_for_message.xml │ │ ├── msg │ │ │ ├── TestArray.msg │ │ │ ├── TestEmpty.msg │ │ │ ├── TestStringInt.msg │ │ │ └── TestWithHeader.msg │ │ ├── scripts │ │ │ └── test_udp_with_dropped_packets.sh │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── check_master.cpp │ │ │ ├── crashes_under_gprof.cpp │ │ │ ├── get_master_information.cpp │ │ │ ├── handles.cpp │ │ │ ├── incrementing_sequence.cpp │ │ │ ├── init_no_sim_time_test.cpp │ │ │ ├── inspection.cpp │ │ │ ├── intraprocess_subscriptions.cpp │ │ │ ├── latching_publisher.cpp │ │ │ ├── left_right.cpp │ │ │ ├── loads_of_publishers.cpp │ │ │ ├── missing_call_to_shutdown.cpp │ │ │ ├── missing_call_to_shutdown_impl.cpp │ │ │ ├── multiple_init_fini.cpp │ │ │ ├── multiple_latched_publishers.cpp │ │ │ ├── multiple_subscriptions.cpp │ │ │ ├── name_not_remappable.cpp │ │ │ ├── name_remapping.cpp │ │ │ ├── name_remapping_with_ns.cpp │ │ │ ├── namespaces.cpp │ │ │ ├── nonconst_subscriptions.cpp │ │ │ ├── param_locale_avoidance_test.cpp │ │ │ ├── param_update_test.cpp │ │ │ ├── parameter_validation.cpp │ │ │ ├── params.cpp │ │ │ ├── pub_sub.cpp │ │ │ ├── publish_constantly.cpp │ │ │ ├── publish_empty.cpp │ │ │ ├── publish_n_fast.cpp │ │ │ ├── publish_onsub.cpp │ │ │ ├── publish_unadvertise.cpp │ │ │ ├── publisher.cpp │ │ │ ├── publisher_for_star_subscriber.cpp │ │ │ ├── publisher_rate.cpp │ │ │ ├── real_time_test.cpp │ │ │ ├── service_adv.cpp │ │ │ ├── service_adv_a.cpp │ │ │ ├── service_adv_multiple.cpp │ │ │ ├── service_adv_unadv.cpp │ │ │ ├── service_adv_zombie.cpp │ │ │ ├── service_call.cpp │ │ │ ├── service_call_expect_b.cpp │ │ │ ├── service_call_repeatedly.cpp │ │ │ ├── service_call_zombie.cpp │ │ │ ├── service_callback_types.cpp │ │ │ ├── service_deadlock.cpp │ │ │ ├── service_exception.cpp │ │ │ ├── service_wait_a_adv_b.cpp │ │ │ ├── sim_time_test.cpp │ │ │ ├── spinners.cpp │ │ │ ├── stamped_topic_statistics_empty_timestamp.cpp │ │ │ ├── string_msg_expect.cpp │ │ │ ├── sub_pub.cpp │ │ │ ├── subscribe_empty.cpp │ │ │ ├── subscribe_n_fast.cpp │ │ │ ├── subscribe_resubscribe.cpp │ │ │ ├── subscribe_retry_tcp.cpp │ │ │ ├── subscribe_self.cpp │ │ │ ├── subscribe_star.cpp │ │ │ ├── subscribe_unsubscribe.cpp │ │ │ ├── subscribe_unsubscribe_repeatedly.cpp │ │ │ ├── subscriber.cpp │ │ │ ├── subscription_callback_types.cpp │ │ │ ├── test_ns_node_remapping.cpp │ │ │ ├── test_remapping.cpp │ │ │ ├── test_search_param.cpp │ │ │ ├── timer_callbacks.cpp │ │ │ ├── topic_statistic_frequency.cpp │ │ │ └── wait_for_message.cpp │ │ ├── srv │ │ │ ├── BadTestStringString.srv │ │ │ └── TestStringString.srv │ │ ├── test_args.cpp │ │ ├── test_callback_queue.cpp │ │ ├── test_header.cpp │ │ ├── test_names.cpp │ │ ├── test_poll_set.cpp │ │ ├── test_subscription_queue.cpp │ │ ├── test_transport_tcp.cpp │ │ └── test_version.cpp │ └── test_serialization │ │ ├── CMakeLists.txt │ │ ├── msg │ │ ├── ArrayOfFixedLength.msg │ │ ├── ArrayOfVariableLength.msg │ │ ├── Constants.msg │ │ ├── CustomHeader.msg │ │ ├── EmbeddedExternal.msg │ │ ├── EmbeddedFixedLength.msg │ │ ├── EmbeddedVariableLength.msg │ │ ├── FixedLength.msg │ │ ├── FixedLengthArrayOfExternal.msg │ │ ├── FixedLengthStringArray.msg │ │ ├── HeaderNotFirstMember.msg │ │ ├── VariableLength.msg │ │ ├── VariableLengthArrayOfExternal.msg │ │ ├── VariableLengthStringArray.msg │ │ ├── WithDuration.msg │ │ ├── WithHeader.msg │ │ ├── WithMemberNamedHeaderThatIsNotAHeader.msg │ │ └── WithTime.msg │ │ ├── src │ │ ├── builtin_types.cpp │ │ ├── generated_messages.cpp │ │ ├── helpers.h │ │ ├── pre_deserialize.cpp │ │ └── serialization.cpp │ │ └── test │ │ ├── builtin_types.test │ │ └── pre_deserialize.test ├── test_rosgraph │ ├── CMakeLists.txt │ ├── package.xml │ └── test │ │ ├── masterapi.test │ │ └── test_rosgraph_masterapi_online.py ├── test_roslaunch │ ├── CMakeLists.txt │ ├── package.xml │ └── test │ │ ├── dump-params.yaml │ │ ├── env.py │ │ ├── env.test │ │ ├── params.yaml │ │ ├── params_basic.py │ │ ├── params_basic.test │ │ ├── params_empty1.yaml │ │ ├── params_empty2.yaml │ │ ├── ros_args.launch │ │ ├── roslaunch.test │ │ ├── test_roslaunch_command_line_online.py │ │ ├── test_roslaunch_ros_args.py │ │ └── xml │ │ └── noop.launch ├── test_roslib_comm │ ├── CMakeLists.txt │ ├── msg │ │ ├── ArrayOfMsgs.msg │ │ ├── FieldNameChange1.msg │ │ ├── FieldNameChange2.msg │ │ ├── FillEmbedTime.msg │ │ ├── FillSimple.msg │ │ ├── HeaderTest.msg │ │ ├── SameSubMsg1.msg │ │ ├── SameSubMsg2.msg │ │ ├── SameSubMsg3.msg │ │ ├── TypeNameChange1.msg │ │ ├── TypeNameChange2.msg │ │ ├── TypeNameChangeArray1.msg │ │ ├── TypeNameChangeArray2.msg │ │ ├── TypeNameChangeComplex1.msg │ │ └── TypeNameChangeComplex2.msg │ ├── package.xml │ ├── srv │ │ └── AddTwoInts.srv │ └── test │ │ ├── __init__.py │ │ ├── md5tests │ │ ├── different │ │ │ ├── constants1.txt │ │ │ ├── constants2.txt │ │ │ ├── constants3.txt │ │ │ ├── constantsB1.txt │ │ │ ├── constantsB2.txt │ │ │ ├── fields1.txt │ │ │ ├── fields2.txt │ │ │ ├── fields3.txt │ │ │ ├── fields4.txt │ │ │ └── fields5.txt │ │ ├── md5text │ │ │ ├── constant1.txt │ │ │ ├── constant2.txt │ │ │ ├── constant3.txt │ │ │ ├── constantB1.txt │ │ │ ├── constantB2.txt │ │ │ ├── constantC1.txt │ │ │ ├── constantC2.txt │ │ │ ├── embed1.txt │ │ │ ├── embed2.txt │ │ │ ├── embed3.txt │ │ │ ├── embed4.txt │ │ │ ├── empty1.txt │ │ │ ├── empty2.txt │ │ │ ├── empty3.txt │ │ │ ├── empty4.txt │ │ │ ├── field1.txt │ │ │ ├── field2.txt │ │ │ ├── field3.txt │ │ │ ├── field4.txt │ │ │ ├── field5.txt │ │ │ ├── multi1.txt │ │ │ ├── multi2.txt │ │ │ ├── multi3.txt │ │ │ ├── multi4.txt │ │ │ └── multi5.txt │ │ └── same │ │ │ ├── constant1.txt │ │ │ ├── constant2.txt │ │ │ ├── constant3.txt │ │ │ ├── constantB1.txt │ │ │ ├── constantB2.txt │ │ │ ├── constantC1.txt │ │ │ ├── constantC2.txt │ │ │ ├── embed1.txt │ │ │ ├── embed2.txt │ │ │ ├── embed3.txt │ │ │ ├── embed4.txt │ │ │ ├── empty1.txt │ │ │ ├── empty2.txt │ │ │ ├── empty3.txt │ │ │ ├── empty4.txt │ │ │ ├── field1.txt │ │ │ ├── field2.txt │ │ │ ├── field3.txt │ │ │ ├── field4.txt │ │ │ ├── field5.txt │ │ │ ├── multi1.txt │ │ │ ├── multi2.txt │ │ │ ├── multi3.txt │ │ │ ├── multi4.txt │ │ │ └── multi5.txt │ │ ├── test_md5sums.py │ │ ├── test_roslib_gentools.py │ │ ├── test_roslib_message.py │ │ ├── test_roslib_msgs.py │ │ └── test_roslib_srvs.py ├── test_rosmaster │ ├── CMakeLists.txt │ ├── msg │ │ ├── Arrays.msg │ │ ├── Composite.msg │ │ ├── CompositeA.msg │ │ ├── CompositeB.msg │ │ ├── Embed.msg │ │ ├── Empty.msg │ │ ├── Floats.msg │ │ ├── RosmsgA.msg │ │ ├── RosmsgB.msg │ │ ├── RosmsgC.msg │ │ ├── Simple.msg │ │ ├── String.msg │ │ ├── TVals.msg │ │ ├── TestArrays.msg │ │ ├── TestHeader.msg │ │ ├── TestPrimitives.msg │ │ └── TestString.msg │ ├── package.xml │ ├── srv │ │ ├── AddTwoInts.srv │ │ ├── RossrvA.srv │ │ └── RossrvB.srv │ └── test │ │ ├── __init__.py │ │ ├── client_verification │ │ ├── rosjava_profile.yaml │ │ └── test_slave_api.py │ │ ├── master.py │ │ ├── nodes │ │ ├── add_two_ints_client │ │ ├── testAllCommonFlows │ │ ├── testMaster │ │ └── testSlave │ │ ├── param_server_test_case.py │ │ ├── paramserver.test │ │ ├── rosclient.py │ │ ├── rosmaster.test │ │ ├── test-param-server.xml │ │ ├── testMaster.py │ │ ├── testSlave.py │ │ ├── test_master_api.py │ │ ├── test_ps_encapsulation.py │ │ ├── test_ps_get_param.py │ │ ├── test_ps_has_param.py │ │ ├── test_ps_private_names.py │ │ ├── test_ps_scope_down.py │ │ ├── test_ps_scope_up.py │ │ ├── test_ps_search_param.py │ │ ├── test_ps_set_param.py │ │ └── test_ps_values.py ├── test_rosparam │ ├── CMakeLists.txt │ ├── package.xml │ └── test │ │ ├── __init__.py │ │ ├── check_rosparam.py │ │ ├── check_rosparam_command_line_online.py │ │ ├── rosparam.test │ │ ├── test.yaml │ │ ├── test_dump.yaml │ │ ├── test_ns.yaml │ │ └── test_rosparam_command_line_offline.py ├── test_rospy │ ├── CMakeLists.txt │ ├── msg │ │ ├── ArrayVal.msg │ │ ├── EmbedTest.msg │ │ ├── Empty.msg │ │ ├── Floats.msg │ │ ├── HeaderHeaderVal.msg │ │ ├── HeaderVal.msg │ │ ├── PythonKeyword.msg │ │ ├── TestConstants.msg │ │ ├── TestFixedArray.msg │ │ ├── TransitiveImport.msg │ │ ├── TransitiveMsg1.msg │ │ ├── TransitiveMsg2.msg │ │ └── Val.msg │ ├── nodes │ │ ├── freq_talker │ │ ├── listener.py │ │ ├── listener_once.py │ │ ├── listenerpublisher.py │ │ ├── listenerpublisher_embed.py │ │ ├── publish_on_shutdown.py │ │ ├── talker │ │ └── talker.py │ ├── package.xml │ ├── src │ │ └── test_rospy │ │ │ └── __init__.py │ ├── srv │ │ ├── ConstantsMultiplex.srv │ │ ├── EmptyReqSrv.srv │ │ ├── EmptyRespSrv.srv │ │ ├── EmptySrv.srv │ │ ├── ListReturn.srv │ │ ├── MultipleAddTwoInts.srv │ │ ├── StringString.srv │ │ └── TransitiveSrv.srv │ └── test │ │ ├── rostest │ │ ├── add_two_ints_server │ │ ├── client-param-api-2.test │ │ ├── client-param-server.test │ │ ├── deregister.test │ │ ├── embed-msg.test │ │ ├── fail_two_ints_server │ │ ├── fake_time.py │ │ ├── latch.test │ │ ├── latch_unsubscribe.test │ │ ├── node.py │ │ ├── node.test │ │ ├── on_shutdown.test │ │ ├── pubsub-order.test │ │ ├── rosclient.py │ │ ├── rosout.test │ │ ├── rospy.test │ │ ├── rospy_sim_time.test │ │ ├── services.test │ │ ├── statistics.test │ │ ├── sub_to_multiple_pubs.test │ │ ├── test_basic_services.py │ │ ├── test_client_param_api.py │ │ ├── test_client_param_server.py │ │ ├── test_deregister.py │ │ ├── test_embed_msg.py │ │ ├── test_empty_service.py │ │ ├── test_latch.py │ │ ├── test_latch_unsubscribe.py │ │ ├── test_node.py │ │ ├── test_node_api.py │ │ ├── test_on_shutdown.py │ │ ├── test_pubsub_order.py │ │ ├── test_rosout.py │ │ ├── test_rospy_client_online.py │ │ ├── test_rospy_timer_online.py │ │ ├── test_service_failure.py │ │ ├── test_service_order.py │ │ ├── test_sub_to_multiple_pubs.py │ │ └── test_topic_statistics.py │ │ └── unit │ │ ├── __init__.py │ │ ├── test_genmsg_py.py │ │ ├── test_gensrv_py.py │ │ ├── test_rospy_api.py │ │ ├── test_rospy_client.py │ │ ├── test_rospy_core.py │ │ ├── test_rospy_exceptions.py │ │ ├── test_rospy_msg.py │ │ ├── test_rospy_names.py │ │ ├── test_rospy_numpy.py │ │ ├── test_rospy_paramserver.py │ │ ├── test_rospy_registration.py │ │ ├── test_rospy_rostime.py │ │ ├── test_rospy_service.py │ │ ├── test_rospy_tcpros.py │ │ ├── test_rospy_tcpros_base.py │ │ ├── test_rospy_tcpros_pubsub.py │ │ ├── test_rospy_tcpros_service.py │ │ ├── test_rospy_topics.py │ │ ├── test_rospy_transport.py │ │ └── test_rospy_validators.py ├── test_rosservice │ ├── CMakeLists.txt │ ├── nodes │ │ └── header_echo_server.py │ ├── package.xml │ ├── srv │ │ └── HeaderEcho.srv │ └── test │ │ ├── __init__.py │ │ ├── check_rosservice.py │ │ ├── check_rosservice_command_line_online.py │ │ ├── nodes │ │ └── add_two_ints_server │ │ ├── rosservice.test │ │ ├── rosservice_unit.test │ │ └── test_rosservice_command_line_offline.py ├── test_rostest │ ├── CMakeLists.txt │ ├── package.xml │ ├── test │ │ ├── just_advertise │ │ └── publishtest.test │ └── test_nodes │ │ └── talker.py └── test_rostopic │ ├── CMakeLists.txt │ ├── msg │ ├── ArrayVal.msg │ ├── Arrays.msg │ ├── Embed.msg │ ├── Floats.msg │ ├── Simple.msg │ ├── TVals.msg │ └── Val.msg │ ├── package.xml │ └── test │ └── test_rostopic_unit.py ├── tools ├── rosbag │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── FORMATS │ ├── examples │ │ ├── write.cpp │ │ └── write.py │ ├── include │ │ └── rosbag │ │ │ ├── player.h │ │ │ ├── recorder.h │ │ │ └── time_translator.h │ ├── mainpage.dox │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ ├── bag2png.py │ │ ├── bagsort.py │ │ ├── fastrebag.py │ │ ├── fix_md5sums.py │ │ ├── fix_moved_messages.py │ │ ├── fix_msg_defs.py │ │ ├── fixbag.py │ │ ├── fixbag_batch.py │ │ ├── makerule.py │ │ ├── rosbag │ │ ├── savemsg.py │ │ └── topic_renamer.py │ ├── setup.py │ ├── src │ │ ├── encrypt.cpp │ │ ├── play.cpp │ │ ├── player.cpp │ │ ├── record.cpp │ │ ├── recorder.cpp │ │ ├── rosbag │ │ │ ├── __init__.py │ │ │ ├── bag.py │ │ │ ├── migration.py │ │ │ └── rosbag_main.py │ │ └── time_translator.cpp │ └── test │ │ └── test_roundtrip.py ├── rosbag_storage │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── cmake │ │ └── rosbag_storage-extras.cmake │ ├── encryptor_plugins.xml │ ├── include │ │ └── rosbag │ │ │ ├── aes_encryptor.h │ │ │ ├── bag.h │ │ │ ├── bag_player.h │ │ │ ├── buffer.h │ │ │ ├── chunked_file.h │ │ │ ├── constants.h │ │ │ ├── encryptor.h │ │ │ ├── exceptions.h │ │ │ ├── gpgme_utils.h │ │ │ ├── macros.h │ │ │ ├── message_instance.h │ │ │ ├── no_encryptor.h │ │ │ ├── query.h │ │ │ ├── stream.h │ │ │ ├── structures.h │ │ │ └── view.h │ ├── mainpage.dox │ ├── package.xml │ ├── rosdoc.yaml │ ├── src │ │ ├── aes_encryptor.cpp │ │ ├── bag.cpp │ │ ├── bag_player.cpp │ │ ├── buffer.cpp │ │ ├── bz2_stream.cpp │ │ ├── chunked_file.cpp │ │ ├── gpgme_utils.cpp │ │ ├── lz4_stream.cpp │ │ ├── message_instance.cpp │ │ ├── no_encryptor.cpp │ │ ├── query.cpp │ │ ├── stream.cpp │ │ ├── uncompressed_stream.cpp │ │ └── view.cpp │ └── test │ │ └── test_aes_encryptor.cpp ├── rosgraph │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── conf │ │ └── python_logging.conf │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rosgraph │ ├── setup.py │ ├── src │ │ └── rosgraph │ │ │ ├── __init__.py │ │ │ ├── impl │ │ │ ├── __init__.py │ │ │ └── graph.py │ │ │ ├── masterapi.py │ │ │ ├── names.py │ │ │ ├── network.py │ │ │ ├── rosenv.py │ │ │ ├── rosgraph_main.py │ │ │ ├── roslogging.py │ │ │ └── xmlrpc.py │ └── test │ │ ├── __init__.py │ │ ├── test_myargv.py │ │ ├── test_names.py │ │ ├── test_network.py │ │ ├── test_rosenv.py │ │ ├── test_rosgraph_command_offline.py │ │ ├── test_rosgraph_masterapi_offline.py │ │ ├── test_roslogging.py │ │ ├── test_roslogging_user_logger.py │ │ └── test_xmlrpc.py ├── roslaunch │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── cmake │ │ └── roslaunch-extras.cmake.em │ ├── env-hooks │ │ ├── 10.roslaunch.bat │ │ └── 10.roslaunch.sh │ ├── package.xml │ ├── resources │ │ ├── example-args.launch │ │ ├── example-env-substutition.xml │ │ ├── example-gdb.launch │ │ ├── example-include.launch │ │ ├── example-min.launch │ │ ├── example-params.launch │ │ ├── example-pass_all_args.launch │ │ ├── example-ssh.launch │ │ ├── example.launch │ │ ├── roscore.xml │ │ └── timeouts.launch │ ├── rosdoc.yaml │ ├── scripts │ │ ├── roscore │ │ ├── roslaunch │ │ ├── roslaunch-check │ │ ├── roslaunch-complete │ │ ├── roslaunch-deps │ │ └── roslaunch-logs │ ├── setup.py │ ├── src │ │ └── roslaunch │ │ │ ├── __init__.py │ │ │ ├── arg_dump.py │ │ │ ├── child.py │ │ │ ├── config.py │ │ │ ├── core.py │ │ │ ├── depends.py │ │ │ ├── launch.py │ │ │ ├── loader.py │ │ │ ├── netapi.py │ │ │ ├── node_args.py │ │ │ ├── nodeprocess.py │ │ │ ├── param_dump.py │ │ │ ├── parent.py │ │ │ ├── pmon.py │ │ │ ├── remote.py │ │ │ ├── remoteprocess.py │ │ │ ├── rlutil.py │ │ │ ├── roslaunch_logs.py │ │ │ ├── scriptapi.py │ │ │ ├── server.py │ │ │ ├── substitution_args.py │ │ │ └── xmlloader.py │ ├── test │ │ ├── dump-params.yaml │ │ ├── manual-test-remote-timeouts.sh │ │ ├── params.yaml │ │ ├── params_empty1.yaml │ │ ├── params_empty2.yaml │ │ ├── params_subst.yaml │ │ ├── signal_logger.py │ │ ├── unit │ │ │ ├── __init__.py │ │ │ ├── test_core.py │ │ │ ├── test_nodeprocess.py │ │ │ ├── test_roslaunch_child.py │ │ │ ├── test_roslaunch_core.py │ │ │ ├── test_roslaunch_depends.py │ │ │ ├── test_roslaunch_dump_params.py │ │ │ ├── test_roslaunch_launch.py │ │ │ ├── test_roslaunch_list_files.py │ │ │ ├── test_roslaunch_param_dump.py │ │ │ ├── test_roslaunch_parent.py │ │ │ ├── test_roslaunch_pmon.py │ │ │ ├── test_roslaunch_remote.py │ │ │ ├── test_roslaunch_rlutil.py │ │ │ ├── test_roslaunch_server.py │ │ │ ├── test_substitution_args.py │ │ │ └── test_xmlloader.py │ │ └── xml │ │ │ ├── invalid-xml.xml │ │ │ ├── manual-test-remote-timeouts.launch │ │ │ ├── noop.launch │ │ │ ├── not-launch.xml │ │ │ ├── test-arg-all.xml │ │ │ ├── test-arg-include.xml │ │ │ ├── test-arg-invalid-include.xml │ │ │ ├── test-arg-invalid-include2.xml │ │ │ ├── test-arg-invalid-included.xml │ │ │ ├── test-arg-invalid-redecl.xml │ │ │ ├── test-arg-invalid-sub.xml │ │ │ ├── test-arg-valid-include.xml │ │ │ ├── test-arg.xml │ │ │ ├── test-clear-params-include.xml │ │ │ ├── test-clear-params-invalid-1.xml │ │ │ ├── test-clear-params-invalid-2.xml │ │ │ ├── test-clear-params-invalid-3.xml │ │ │ ├── test-clear-params-invalid-4.xml │ │ │ ├── test-clear-params.xml │ │ │ ├── test-dirname.xml │ │ │ ├── test-dirname │ │ │ └── included.xml │ │ │ ├── test-dump-rosparam.launch │ │ │ ├── test-env-include.xml │ │ │ ├── test-env.xml │ │ │ ├── test-if-unless-invalid-both.xml │ │ │ ├── test-if-unless.xml │ │ │ ├── test-ignore-unset-args-arg-in-arg.launch │ │ │ ├── test-ignore-unset-args.launch │ │ │ ├── test-local-param-group.xml │ │ │ ├── test-machine-invalid-10.xml │ │ │ ├── test-machine-invalid-11.xml │ │ │ ├── test-machine-invalid-12.xml │ │ │ ├── test-machine-invalid-4.xml │ │ │ ├── test-machine-invalid-5.xml │ │ │ ├── test-machine-invalid-6.xml │ │ │ ├── test-machine-invalid-7.xml │ │ │ ├── test-machine-invalid-8.xml │ │ │ ├── test-machine-invalid-9.xml │ │ │ ├── test-machine-invalid.xml │ │ │ ├── test-machine-substitution.xml │ │ │ ├── test-machine-valid.xml │ │ │ ├── test-node-invalid-cwd.xml │ │ │ ├── test-node-invalid-env-name-2.xml │ │ │ ├── test-node-invalid-env-name.xml │ │ │ ├── test-node-invalid-env-value.xml │ │ │ ├── test-node-invalid-exception.xml │ │ │ ├── test-node-invalid-name-1.xml │ │ │ ├── test-node-invalid-name-2.xml │ │ │ ├── test-node-invalid-name-3.xml │ │ │ ├── test-node-invalid-ns-2.xml │ │ │ ├── test-node-invalid-ns-3.xml │ │ │ ├── test-node-invalid-ns.xml │ │ │ ├── test-node-invalid-output.xml │ │ │ ├── test-node-invalid-pkg-2.xml │ │ │ ├── test-node-invalid-pkg.xml │ │ │ ├── test-node-invalid-required-1.xml │ │ │ ├── test-node-invalid-required-2.xml │ │ │ ├── test-node-invalid-respawn-required.xml │ │ │ ├── test-node-invalid-respawn.xml │ │ │ ├── test-node-invalid-type-2.xml │ │ │ ├── test-node-invalid-type.xml │ │ │ ├── test-node-rosparam-delete.xml │ │ │ ├── test-node-rosparam-dump.xml │ │ │ ├── test-node-rosparam-invalid-name.xml │ │ │ ├── test-node-rosparam-load-multi.xml │ │ │ ├── test-node-rosparam-load-ns.xml │ │ │ ├── test-node-rosparam-load-param.xml │ │ │ ├── test-node-rosparam-load.xml │ │ │ ├── test-node-substitution.xml │ │ │ ├── test-node-valid.xml │ │ │ ├── test-params-invalid-1.xml │ │ │ ├── test-params-invalid-2.xml │ │ │ ├── test-params-invalid-3.xml │ │ │ ├── test-params-invalid-4.xml │ │ │ ├── test-params-invalid-5.xml │ │ │ ├── test-params-valid.xml │ │ │ ├── test-remap-invalid-1.xml │ │ │ ├── test-remap-invalid-2.xml │ │ │ ├── test-remap-invalid-3.xml │ │ │ ├── test-remap-invalid-4.xml │ │ │ ├── test-remap-invalid-name-from.xml │ │ │ ├── test-remap-invalid-name-to.xml │ │ │ ├── test-remap-valid.xml │ │ │ ├── test-rosparam-empty.xml │ │ │ ├── test-rosparam-invalid-1.xml │ │ │ ├── test-rosparam-invalid-2.xml │ │ │ ├── test-rosparam-invalid-3.xml │ │ │ ├── test-rosparam-invalid-4.xml │ │ │ ├── test-rosparam-invalid-5.xml │ │ │ ├── test-rosparam-valid.xml │ │ │ ├── test-substitution-duplicate-anon-names.xml │ │ │ ├── test-substitution.xml │ │ │ ├── test-test-invalid-output.xml │ │ │ ├── test-test-invalid-reqd-1.xml │ │ │ ├── test-test-invalid-reqd-2.xml │ │ │ ├── test-test-invalid-respawn.xml │ │ │ ├── test-test-invalid-retry.xml │ │ │ ├── test-test-invalid-time-limit-1.xml │ │ │ ├── test-test-invalid-time-limit-2.xml │ │ │ ├── test-test-valid.xml │ │ │ └── test-valid.xml │ └── test_nodes │ │ └── talker.py ├── rosmaster │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── epydoc.config │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rosmaster │ ├── setup.py │ ├── src │ │ └── rosmaster │ │ │ ├── __init__.py │ │ │ ├── exceptions.py │ │ │ ├── main.py │ │ │ ├── master.py │ │ │ ├── master_api.py │ │ │ ├── paramserver.py │ │ │ ├── registrations.py │ │ │ ├── threadpool.py │ │ │ ├── util.py │ │ │ └── validators.py │ └── test │ │ ├── test_rosmaster_paramserver.py │ │ ├── test_rosmaster_registrations.py │ │ └── test_rosmaster_validators.py ├── rosmsg │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ ├── rosmsg │ │ ├── rosmsg-proto │ │ └── rossrv │ ├── setup.py │ ├── src │ │ └── rosmsg │ │ │ └── __init__.py │ └── test │ │ ├── DiagnosticStatus_raw.txt │ │ ├── msg │ │ ├── DiagnosticStatus.msg │ │ └── KeyValue.msg │ │ ├── srv │ │ ├── AddDiagnostics.srv │ │ └── SelfTest.srv │ │ ├── test_rosmsg.py │ │ ├── test_rosmsg_command_line.py │ │ ├── test_rosmsgproto.py │ │ └── test_rosmsgproto_command_line.py ├── rosnode │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rosnode │ ├── setup.py │ ├── src │ │ └── rosnode │ │ │ └── __init__.py │ ├── test │ │ ├── check_rosnode_command_online.py │ │ ├── rosnode.test │ │ ├── test_rosnode.py │ │ └── test_rosnode_command_offline.py │ └── test_nodes │ │ ├── listener.py │ │ └── talker.py ├── rosout │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── package.xml │ └── rosout.cpp ├── rosparam │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── epydoc.config │ ├── example.yaml │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rosparam │ ├── setup.py │ └── src │ │ └── rosparam │ │ └── __init__.py ├── rosservice │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── epydoc.config │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rosservice │ ├── setup.py │ └── src │ │ └── rosservice │ │ └── __init__.py ├── rostest │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── cmake │ │ └── rostest-extras.cmake.em │ ├── epydoc.config │ ├── include │ │ └── rostest │ │ │ └── permuter.h │ ├── nodes │ │ ├── advertisetest │ │ ├── hztest │ │ ├── paramtest │ │ ├── publishtest │ │ └── subscribetest │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rostest │ ├── setup.py │ ├── src │ │ └── rostest │ │ │ ├── __init__.py │ │ │ ├── rostest_main.py │ │ │ ├── rostest_parent.py │ │ │ ├── rostestutil.py │ │ │ └── runner.py │ ├── test │ │ ├── advertisetest.test │ │ ├── clean_master.test │ │ ├── distro_version.test │ │ ├── dotname_cases.py │ │ ├── hztest.test │ │ ├── hztest0.test │ │ ├── param.test │ │ ├── publishtest.test │ │ ├── subscribetest.test │ │ ├── test_clean_master.py │ │ ├── test_distro_version.py │ │ ├── test_dotname.py │ │ ├── test_permuter.cpp │ │ ├── time-limit.test │ │ └── time_limit_test.py │ └── test_nodes │ │ ├── listener.py │ │ ├── publish_once.py │ │ ├── service_server.py │ │ └── talker.py ├── rostopic │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── epydoc.config │ ├── package.xml │ ├── rosdoc.yaml │ ├── scripts │ │ └── rostopic │ ├── setup.py │ ├── src │ │ └── rostopic │ │ │ └── __init__.py │ ├── test │ │ ├── check_rostopic_command_line_online.py │ │ ├── rostopic.test │ │ ├── rostopic2.test │ │ ├── test_rostopic.py │ │ └── test_rostopic_command_line_offline.py │ └── test_nodes │ │ └── talker.py └── topic_tools │ ├── CHANGELOG.rst │ ├── CMakeLists.txt │ ├── demos │ ├── test_drop │ ├── test_mux │ ├── test_relay │ └── test_throttle │ ├── env-hooks │ └── 20.transform.bash │ ├── include │ └── topic_tools │ │ ├── macros.h │ │ ├── parse.h │ │ └── shape_shifter.h │ ├── package.xml │ ├── python │ └── topic_tools │ │ └── __init__.py │ ├── sample │ └── simple_lazy_transport.py │ ├── scripts │ ├── demux_add │ ├── demux_delete │ ├── demux_list │ ├── demux_select │ ├── mux_add │ ├── mux_delete │ ├── mux_list │ ├── mux_select │ ├── relay_field │ └── transform │ ├── setup.py │ ├── src │ ├── demux.cpp │ ├── drop.cpp │ ├── mux.cpp │ ├── parse.cpp │ ├── relay.cpp │ ├── shape_shifter.cpp │ ├── switch_mux.cpp │ └── throttle.cpp │ ├── srv │ ├── DemuxAdd.srv │ ├── DemuxDelete.srv │ ├── DemuxList.srv │ ├── DemuxSelect.srv │ ├── MuxAdd.srv │ ├── MuxDelete.srv │ ├── MuxList.srv │ └── MuxSelect.srv │ ├── test │ ├── args.py │ ├── delete_mux.test │ ├── drop.test │ ├── lazy_transport.test │ ├── mux.test │ ├── mux_add.test │ ├── mux_initial_none.test │ ├── mux_initial_other.test │ ├── relay.test │ ├── relay_latched.test │ ├── relay_stealth.test │ ├── shapeshifter.test │ ├── switch_mux.test │ ├── switch_mux_leading_slash.test │ ├── switch_mux_none.test │ ├── test_lazy_transport.py │ ├── test_mux_delete_add.py │ ├── test_mux_services.py │ ├── test_one_message.py │ ├── test_relay_stealth.py │ ├── test_shapeshifter.cpp │ ├── test_throttle_simtime_loop.py │ ├── test_transform.py │ ├── throttle.test │ ├── throttle_simtime.test │ ├── throttle_simtime_loop.test │ ├── transform.test │ └── utest.cpp │ └── topic_tools.dox └── utilities ├── message_filters ├── CHANGELOG.rst ├── CMakeLists.txt ├── conf.py ├── include │ └── message_filters │ │ ├── cache.h │ │ ├── chain.h │ │ ├── connection.h │ │ ├── macros.h │ │ ├── null_types.h │ │ ├── pass_through.h │ │ ├── signal1.h │ │ ├── signal9.h │ │ ├── simple_filter.h │ │ ├── subscriber.h │ │ ├── sync_policies │ │ ├── approximate_time.h │ │ └── exact_time.h │ │ ├── synchronizer.h │ │ ├── time_sequencer.h │ │ └── time_synchronizer.h ├── index.rst ├── mainpage.dox ├── package.xml ├── rosdoc.yaml ├── setup.py ├── src │ ├── connection.cpp │ └── message_filters │ │ └── __init__.py └── test │ ├── directed.py │ ├── msg_cache_unittest.cpp │ ├── test_approximate_time_policy.cpp │ ├── test_approxsync.py │ ├── test_chain.cpp │ ├── test_exact_time_policy.cpp │ ├── test_message_filters_cache.py │ ├── test_simple.cpp │ ├── test_subscriber.cpp │ ├── test_subscriber.xml │ ├── test_synchronizer.cpp │ ├── time_sequencer_unittest.cpp │ ├── time_sequencer_unittest.xml │ └── time_synchronizer_unittest.cpp ├── roslz4 ├── CHANGELOG.rst ├── CMakeLists.txt ├── include │ └── roslz4 │ │ └── lz4s.h ├── package.xml ├── setup.py ├── src │ ├── _roslz4module.c │ ├── lz4s.c │ ├── roslz4 │ │ └── __init__.py │ ├── xxhash.c │ └── xxhash.h └── test │ └── roslz4_test.cpp ├── roswtf ├── CHANGELOG.rst ├── CMakeLists.txt ├── package.xml ├── rosdoc.yaml ├── scripts │ └── roswtf ├── setup.py ├── src │ └── roswtf │ │ ├── __init__.py │ │ ├── context.py │ │ ├── environment.py │ │ ├── graph.py │ │ ├── model.py │ │ ├── network.py │ │ ├── packages.py │ │ ├── plugins.py │ │ ├── py_pip_deb_checks.py │ │ ├── rosdep_db.py │ │ ├── roslaunchwtf.py │ │ ├── rules.py │ │ └── stacks.py ├── test │ ├── __init__.py │ ├── check_roswtf_command_line_online.py │ ├── min.launch │ ├── roswtf.test │ └── test_roswtf_command_line_offline.py └── test_nodes │ └── talker.py └── xmlrpcpp ├── CHANGELOG.rst ├── CMakeLists.txt ├── COPYING ├── README.html ├── cmake ├── xmlrpcpp-extras.cmake.develspace.in └── xmlrpcpp-extras.cmake.installspace.in ├── include └── xmlrpcpp │ ├── XmlRpc.h │ ├── XmlRpcClient.h │ ├── XmlRpcDecl.h │ ├── XmlRpcDispatch.h │ ├── XmlRpcException.h │ ├── XmlRpcServer.h │ ├── XmlRpcServerConnection.h │ ├── XmlRpcServerMethod.h │ ├── XmlRpcSocket.h │ ├── XmlRpcSource.h │ ├── XmlRpcUtil.h │ ├── XmlRpcValue.h │ └── base64.h ├── libb64 ├── AUTHORS ├── BENCHMARKS ├── CHANGELOG ├── INSTALL ├── LICENSE ├── Makefile ├── README ├── TODO ├── include │ └── b64 │ │ ├── cdecode.h │ │ ├── cencode.h │ │ ├── decode.h │ │ └── encode.h └── src │ ├── Makefile │ ├── cdecode.c │ └── cencode.c ├── package.xml ├── src ├── Doxyfile ├── XmlRpcClient.cpp ├── XmlRpcDispatch.cpp ├── XmlRpcServer.cpp ├── XmlRpcServerConnection.cpp ├── XmlRpcServerMethod.cpp ├── XmlRpcSocket.cpp ├── XmlRpcSource.cpp ├── XmlRpcUtil.cpp └── XmlRpcValue.cpp ├── standalone-tests ├── .cvsignore ├── FileClient.cpp ├── FileClient.dsp ├── FileClient.vcproj ├── HelloClient.cpp ├── HelloClient.dsp ├── HelloClient.vcproj ├── HelloServer.cpp ├── HelloServer.dsp ├── HelloServer.vcproj ├── Makefile ├── TestBase64Client.cpp ├── TestBase64Client.dsp ├── TestBase64Client.vcproj ├── TestBase64Server.cpp ├── TestBase64Server.dsp ├── TestBase64Server.vcproj ├── TestValues.cpp ├── TestValues.dsp ├── TestValues.vcproj ├── TestValuesWin32.cpp ├── TestXml.cpp ├── TestXml.dsp ├── TestXml.vcproj ├── Validator.cpp ├── Validator.dsp ├── Validator.vcproj ├── arrayOfStructsTest.xml ├── bool_test.cpp ├── countTheEntities.xml ├── easyStructTest.xml ├── echo.xml ├── echoStructTest.xml ├── pngnow.png └── port_zero_server.cpp └── test ├── CMakeLists.txt ├── HelloTest.cpp ├── TestValues.cpp ├── TestXml.cpp ├── mock_socket.cpp ├── mock_socket.h ├── test_base64.cpp ├── test_client.cpp ├── test_dispatch.cpp ├── test_dispatch_live.cpp ├── test_fixtures.cpp ├── test_fixtures.h ├── test_socket.cpp ├── test_system_mocks.c ├── test_system_mocks.h ├── test_util.cpp └── xmlrpcvalue_base64.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.pyc 3 | -------------------------------------------------------------------------------- /clients/roscpp/msg/Logger.msg: -------------------------------------------------------------------------------- 1 | string name 2 | string level 3 | -------------------------------------------------------------------------------- /clients/roscpp/src/libros/config.h.in: -------------------------------------------------------------------------------- 1 | #cmakedefine HAVE_TRUNC 2 | #cmakedefine HAVE_IFADDRS_H 3 | #cmakedefine HAVE_EPOLL 4 | -------------------------------------------------------------------------------- /clients/roscpp/src/roscpp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/clients/roscpp/src/roscpp/__init__.py -------------------------------------------------------------------------------- /clients/roscpp/srv/Empty.srv: -------------------------------------------------------------------------------- 1 | --- -------------------------------------------------------------------------------- /clients/roscpp/srv/GetLoggers.srv: -------------------------------------------------------------------------------- 1 | --- 2 | Logger[] loggers -------------------------------------------------------------------------------- /clients/roscpp/srv/SetLoggerLevel.srv: -------------------------------------------------------------------------------- 1 | string logger 2 | string level 3 | --- -------------------------------------------------------------------------------- /clients/rospy/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rospy) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | catkin_python_setup() 6 | 7 | # install legacy infrastructure needed by rosbuild 8 | install(FILES rosbuild/rospy.cmake 9 | DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/rosbuild) 10 | catkin_install_python(PROGRAMS 11 | rosbuild/scripts/genmsg_py.py 12 | rosbuild/scripts/gensrv_py.py 13 | rosbuild/scripts/genutil.py 14 | DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/rosbuild/scripts) 15 | -------------------------------------------------------------------------------- /clients/rospy/epydoc.config: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | name: rospy 3 | modules: rospy, roslib.rostime 4 | inheritance: included 5 | url: http://ros.org/wiki/rospy 6 | frames: no 7 | private: no 8 | external-api: roslib 9 | external-api-file: roslib:doc/roslib/html/python/api-objects.txt 10 | external-api-root: roslib:http://www.ros.org/doc/api/roslib/html/python/ 11 | exclude: rospy.init, rospy.simtime, rospy.simtime, rospy.masterslave, rospy.msg, rospy.msnode, rospy.paramserver, rospy.registration, rospy.rosout, rospy.tcpros, rospy.tcpros_base, rospy.tcpros_pubsub, rospy.threadpool, rospy.udpros, rospy.validators, rospy.transport 12 | 13 | -------------------------------------------------------------------------------- /clients/rospy/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | config: epydoc.config 3 | -------------------------------------------------------------------------------- /clients/rospy/scripts/rosconsole: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | from rospy import rosconsole 3 | rosconsole.main() 4 | -------------------------------------------------------------------------------- /clients/rospy/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rospy', 'rospy.impl'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosconsole'], 8 | requires=['genpy', 'numpy', 'rosgraph', 'roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /clients/rospy/src/rospy/impl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/clients/rospy/src/rospy/impl/__init__.py -------------------------------------------------------------------------------- /ros_comm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(ros_comm) 3 | find_package(catkin REQUIRED) 4 | catkin_metapackage() 5 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/Constants.msg: -------------------------------------------------------------------------------- 1 | int32 CONSTANT=2 2 | int32 CONSTANT_TWO=42 3 | int32 value -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/Converged.msg: -------------------------------------------------------------------------------- 1 | float32[4] field1 # [1.2, 3.4, 5.6, 7.8] 2 | SimpleMigrated[4] field2 # [11, 22, 33, 44] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/MigratedAddSub.msg: -------------------------------------------------------------------------------- 1 | Simple field1 2 | Simple field2 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/MigratedExplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | float32 field2 #58.2 3 | string combo_field3 #"aldfkja 17" 4 | int32 field4 #82 5 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/MigratedImplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedExplicit field4 #(58.2 "aldfkja 17", 82) 3 | string field3 #"kljene" 4 | float32 field2 #16.32 5 | int32 field1 #34 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/MigratedMixed.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedImplicit field1 #(34, 16.32, "kjljene", (58.2, "aldfkja 17", 82)) 3 | int32 field2 #59 4 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/PartiallyMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 40 2 | MigratedExplicit field2 # (58.2, "aldfkja 17", 82) 3 | string field3 # "radasdk" 4 | float32 field4 # 63.4 5 | float64 field5 # 123.4 6 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/Renamed5.msg: -------------------------------------------------------------------------------- 1 | float64 foo # 2.17 2 | int32[4] bar # [8, 2, 5, 1] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/Simple.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/SimpleMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 data # 42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/SubUnmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 92 2 | Unmigrated field2 # (12, "uuiasjs", 61.7) 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_current/Unmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #12 2 | string field2 #"uuiasjs" 3 | float32 field3 #61.7 4 | float64 field4 #123.4 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/Constants.msg: -------------------------------------------------------------------------------- 1 | int32 CONSTANT=1 2 | int32 value -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/Converged.msg: -------------------------------------------------------------------------------- 1 | float32[] field1 # [1.2, 3.4, 5.6, 7.8] 2 | SimpleMigrated[] field2 # [11, 22, 33, 44] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/Convergent.msg: -------------------------------------------------------------------------------- 1 | float32 field1_a # 1.2 2 | float32 field1_b # 3.4 3 | float32 field1_c # 5.6 4 | float32 field1_d # 7.8 5 | 6 | SimpleMigrated field2_a # 11 7 | SimpleMigrated field2_b # 22 8 | SimpleMigrated field2_c # 33 9 | SimpleMigrated field2_d # 44 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/MigratedAddSub.msg: -------------------------------------------------------------------------------- 1 | Simple field1 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/MigratedExplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | int32 field1 #17 3 | float32 field2 #58.2 4 | string field3 #"aldfkja" 5 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/MigratedImplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | int32 field1 #34 3 | float32 field2 #16.32 4 | string field3 #"kljene" 5 | MigratedExplicit field4 #(17, 58.2 "aldfkja") -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/MigratedMixed.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedImplicit field1 #(34, 16.32, "kjljene", (17, 58.2, "aldfkja")) 3 | 4 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/PartiallyMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 40 2 | MigratedExplicit field2 # (17, 58.2, "aldfkja") 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/Renamed1.msg: -------------------------------------------------------------------------------- 1 | float64 foo # 2.17 2 | int32[3] bar # [8, 2, 5] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/Simple.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/SimpleMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 data1 # 42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/SubUnmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 92 2 | Unmigrated field2 # (12, "uuiasjs", 61.7) 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen1/Unmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #12 2 | string field2 #"uuiasjs" -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/Constants.msg: -------------------------------------------------------------------------------- 1 | int32 CONSTANT=2 2 | int32 value -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/Converged.msg: -------------------------------------------------------------------------------- 1 | float32[] field1 # [1.2, 3.4, 5.6, 7.8] 2 | SimpleMigrated[] field2 # [11, 22, 33, 44] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/Convergent.msg: -------------------------------------------------------------------------------- 1 | float32 field1_a # 1.2 2 | float32 field1_b # 3.4 3 | float32 field1_c # 5.6 4 | float32 field1_d # 7.8 5 | 6 | SimpleMigrated field2_a # 11 7 | SimpleMigrated field2_b # 22 8 | SimpleMigrated field2_c # 33 9 | SimpleMigrated field2_d # 44 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/MigratedAddSub.msg: -------------------------------------------------------------------------------- 1 | Simple field1 2 | Simple field2 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/MigratedExplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | int32 field1 #17 3 | float32 field2 #58.2 4 | string field3 #"aldfkja" 5 | int32 field4 #82 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/MigratedImplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | int32 field1 #34 3 | float32 field2 #16.32 4 | string field3 #"kljene" 5 | MigratedExplicit field4 #(17, 58.2 "aldfkja", 82) 6 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/MigratedMixed.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedImplicit field1 #(34, 16.32, "kjljene", (17, 58.2, "aldfkja", 82)) 3 | 4 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/PartiallyMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 40 2 | MigratedExplicit field2 # (17, 58.2, "aldfkja", 82) 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/Renamed2.msg: -------------------------------------------------------------------------------- 1 | float64 foo # 2.17 2 | int32[3] bar # [8, 2, 5] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/Simple.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/SimpleMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 data2 # 42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/SubUnmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 92 2 | Unmigrated field2 # (12, "uuiasjs", 61.7) 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen2/Unmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #12 2 | string field2 #"uuiasjs" -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/Converged.msg: -------------------------------------------------------------------------------- 1 | float32[4] field1 # [1.2, 3.4, 5.6, 7.8] 2 | SimpleMigrated[4] field2 # [11, 22, 33, 44] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/MigratedAddSub.msg: -------------------------------------------------------------------------------- 1 | Simple field1 2 | Simple field2 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/MigratedExplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | int32 afield1 #17 3 | float32 afield2 #58.2 4 | string afield3 #"aldfkja" 5 | int32 afield4 #82 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/MigratedImplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedExplicit field4 #(17, 58.2 "aldfkja", 82) 3 | string field3 #"kljene" 4 | float32 field2 #16.32 5 | int32 field1 #34 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/MigratedMixed.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedImplicit field1 #((17, 58.2, "aldfkja", 82), "kjljene", 16.32, 34) 3 | int32 field2 #59 4 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/PartiallyMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 40 2 | MigratedExplicit field2 # (17, 58.2, "aldfkja", 82) 3 | string field3 # "radasdk" 4 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/Renamed3.msg: -------------------------------------------------------------------------------- 1 | float64 foo # 2.17 2 | int32[4] bar # [8, 2, 5, 1] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/Simple.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/SimpleMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 data3 # 42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/SubUnmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 92 2 | Unmigrated field2 # (12, "uuiasjs", 61.7) 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen3/Unmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #12 2 | string field2 #"uuiasjs" -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/Constants.msg: -------------------------------------------------------------------------------- 1 | int32 CONSTANT=2 2 | int32 CONSTANT_TWO=42 3 | int32 value -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/Converged.msg: -------------------------------------------------------------------------------- 1 | float32[4] field1 # [1.2, 3.4, 5.6, 7.8] 2 | SimpleMigrated[4] field2 # [11, 22, 33, 44] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/MigratedAddSub.msg: -------------------------------------------------------------------------------- 1 | Simple field1 2 | Simple field2 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/MigratedExplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | float32 afield2 #58.2 3 | string combo_field3 #"aldfkja 17" 4 | int32 afield4 #82 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/MigratedImplicit.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedExplicit field4 #(58.2 "aldfkja 17", 82) 3 | string field3 #"kljene" 4 | float32 field2 #16.32 5 | int32 field1 #34 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/MigratedMixed.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | MigratedImplicit field1 #(34, 16.32, "kjljene", (58.2, "aldfkja 17", 82)) 3 | int32 field2 #59 4 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/PartiallyMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 40 2 | MigratedExplicit field2 # (58.2, "aldfkja 17", 82) 3 | string field3 # "radasdk" 4 | float32 field4 # 63.4 5 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/Renamed4.msg: -------------------------------------------------------------------------------- 1 | float64 foo # 2.17 2 | int32[4] bar # [8, 2, 5, 1] -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/Simple.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/SimpleMigrated.msg: -------------------------------------------------------------------------------- 1 | int32 data4 # 42 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/SubUnmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 # 92 2 | Unmigrated field2 # (12, "uuiasjs", 61.7) 3 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/msg_gen4/Unmigrated.msg: -------------------------------------------------------------------------------- 1 | int32 field1 #12 2 | string field2 #"uuiasjs" 3 | float32 field3 #61.7 -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/test/constants.bmr: -------------------------------------------------------------------------------- 1 | class update_test_rosbag_Constants_06a34bda7d4ea2950ab952e89ca35d7a(MessageUpdateRule): 2 | old_type = "test_rosbag/Constants" 3 | old_full_text = """ 4 | int32 CONSTANT=1 5 | int32 value 6 | """ 7 | 8 | new_type = "test_rosbag/Constants" 9 | new_full_text = """ 10 | int32 CONSTANT=2 11 | int32 CONSTANT_TWO=42 12 | int32 value 13 | """ 14 | 15 | order = 0 16 | migrated_types = [] 17 | 18 | valid = True 19 | 20 | def update(self, old_msg, new_msg): 21 | #Constant 'CONSTANT' has changed 22 | if (old_msg.value == old_msg.CONSTANT): 23 | new_msg.value = new_msg.CONSTANT 24 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/test/migrated_addsub_rules.bmr: -------------------------------------------------------------------------------- 1 | class update_test_rosbag_MigratedAddSub_c5d68a52143661d05909248952fc11f1(MessageUpdateRule): 2 | old_type = "test_rosbag/MigratedAddSub" 3 | old_full_text = """ 4 | Simple field1 5 | ================================================================================ 6 | MSG: test_rosbag/Simple 7 | int32 field1 #42 8 | """ 9 | 10 | new_type = "test_rosbag/MigratedAddSub" 11 | new_full_text = """ 12 | Simple field1 13 | Simple field2 14 | ================================================================================ 15 | MSG: test_rosbag/Simple 16 | int32 field1 #42 17 | """ 18 | 19 | order = 0 20 | migrated_types = [("Simple","Simple"),] 21 | 22 | valid = True 23 | 24 | def update(self, old_msg, new_msg): 25 | self.migrate(old_msg.field1, new_msg.field1) 26 | new_msg.field2 = self.get_new_class('Simple')(42) 27 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/test/random_play.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/test/random_play_sim.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/test_rosbag/bag_migration_tests/test/random_record.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_rosbag/test/double_pub.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int 5 | main(int argc, char** argv) 6 | { 7 | ros::init(argc, argv, "double_pub"); 8 | ros::NodeHandle n; 9 | ros::Publisher p1 = n.advertise("chatter", 1); 10 | ros::Publisher p2 = n.advertise("rettahc", 1); 11 | 12 | ros::Rate r(10.0); 13 | while(ros::ok()) 14 | { 15 | std_msgs::String s; 16 | s.data = "hello"; 17 | p1.publish(s); 18 | s.data = "goodbye"; 19 | p2.publish(s); 20 | } 21 | return 0; 22 | } 23 | -------------------------------------------------------------------------------- /test/test_rosbag/test/latched_pub.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_rosbag/test/latched_sub.test.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_rosbag/test/play_play.test.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/test_rosbag/test/record_one_publisher_two_topics.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_rosbag/test/record_sigint_cleanup.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_rosbag/test/record_sigterm_cleanup.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_rosbag/test/record_two_publishers.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /test/test_rosbag/test/rosbag_play.test.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/test_rosbag_storage/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rosbag_storage) 4 | 5 | find_package(catkin REQUIRED COMPONENTS rosbag_storage std_msgs) 6 | 7 | find_package(Boost REQUIRED) 8 | 9 | catkin_package() 10 | 11 | if(CATKIN_ENABLE_TESTING) 12 | include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) 13 | 14 | catkin_add_gtest(bag_player src/bag_player.cpp) 15 | if(TARGET bag_player) 16 | target_link_libraries(bag_player ${catkin_LIBRARIES}) 17 | endif() 18 | catkin_add_gtest(create_and_iterate_bag src/create_and_iterate_bag.cpp) 19 | if(TARGET create_and_iterate_bag) 20 | target_link_libraries(create_and_iterate_bag ${catkin_LIBRARIES}) 21 | endif() 22 | catkin_add_gtest(swap_bags src/swap_bags.cpp) 23 | if(TARGET swap_bags) 24 | target_link_libraries(swap_bags ${catkin_LIBRARIES}) 25 | endif() 26 | endif() 27 | -------------------------------------------------------------------------------- /test/test_rosbag_storage/package.xml: -------------------------------------------------------------------------------- 1 | 2 | test_rosbag_storage 3 | 1.17.3 4 | 5 | A package containing the unit tests for rosbag_storage. 6 | 7 | Michael Carroll 8 | Shane Loretz 9 | BSD 10 | Dirk Thomas 11 | Jacob Perron 12 | 13 | catkin 14 | 15 | rosbag_storage 16 | std_msgs 17 | 18 | rosbag_storage 19 | std_msgs 20 | 21 | -------------------------------------------------------------------------------- /test/test_roscpp/perf/include/perf_roscpp/inter.h: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/test_roscpp/perf/msg/LatencyMessage.msg: -------------------------------------------------------------------------------- 1 | float64 publish_time 2 | float64 receipt_time 3 | uint64 count 4 | uint32 thread_index 5 | uint8[] array 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/perf/msg/ThroughputMessage.msg: -------------------------------------------------------------------------------- 1 | uint8[] array 2 | 3 | -------------------------------------------------------------------------------- /test/test_roscpp/perf/src/inter.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/test_roscpp/perf_serialization/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(${PROJECT_NAME}-pointcloud_serdes EXCLUDE_FROM_ALL pointcloud_serdes.cpp) 2 | target_link_libraries(${PROJECT_NAME}-pointcloud_serdes ${catkin_LIBRARIES}) 3 | if(TARGET tests) 4 | add_dependencies(tests ${PROJECT_NAME}-pointcloud_serdes) 5 | endif() 6 | add_dependencies(${PROJECT_NAME}-pointcloud_serdes ${${PROJECT_NAME}_EXPORTED_TARGETS}) 7 | #rosbuild_add_compile_flags(pointcloud_serdes "-O3 -funroll-loops") 8 | #rosbuild_add_compile_flags(pointcloud_serdes "-march=prescott") 9 | -------------------------------------------------------------------------------- /test/test_roscpp/perf_serialization/msg/ChannelFloat32.msg: -------------------------------------------------------------------------------- 1 | string name 2 | float32[] vals -------------------------------------------------------------------------------- /test/test_roscpp/perf_serialization/msg/Point32.msg: -------------------------------------------------------------------------------- 1 | float32 x 2 | float32 y 3 | float32 z -------------------------------------------------------------------------------- /test/test_roscpp/perf_serialization/msg/PointCloud.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | Point32[] pts 3 | ChannelFloat32[] chan 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/check_master.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/check_master_false.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/fragmented_udp_data.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/get_master_information.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/global_remappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/handles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/incrementing_sequence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/init_no_sim_time.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/inspection.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/intraprocess_subscriptions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/latching_publisher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/left_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/local_remappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/missing_call_to_shutdown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/multiple_init_fini.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/multiple_latched_publishers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/multiple_subscriptions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/name_not_remappable.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/name_remapping.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/name_remapping_ROS_NAMESPACE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/namespaces.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/no_remappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/nonconst_subscriptions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/ns_node_remapping.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/parameter_validation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/params.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pingpong.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pingpong_large.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pub_onsub.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_n_fast.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_n_fast_large_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_n_fast_udp.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_once.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_resub_once.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_unadv.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/pubsub_unsub.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/real_time_test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/search_param.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_adv_multiple.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_call_unadv.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_call_zombie.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_callback_types.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_deadlock.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_exception.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/service_multiple_providers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/sim_time_test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/spinners.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/stamped_topic_statistics_with_empty_timestamp.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/subscribe_retry_tcp.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/subscribe_self.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/subscribe_star.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/subscription_callback_types.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/timer_callbacks.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test/launch/wait_for_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/msg/TestArray.msg: -------------------------------------------------------------------------------- 1 | int32 counter 2 | float64[] float_arr 3 | -------------------------------------------------------------------------------- /test/test_roscpp/test/msg/TestEmpty.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_roscpp/test/msg/TestEmpty.msg -------------------------------------------------------------------------------- /test/test_roscpp/test/msg/TestStringInt.msg: -------------------------------------------------------------------------------- 1 | string str 2 | int32 counter 3 | -------------------------------------------------------------------------------- /test/test_roscpp/test/msg/TestWithHeader.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test/src/crashes_under_gprof.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) 4 | { 5 | ros::init(argc, argv, "test_get_param"); 6 | 7 | ros::NodeHandle nh; 8 | nh.setParam(std::string("monkey"), false); 9 | bool test_bool; 10 | while(ros::ok()) { 11 | if(!nh.getParam("monkey", test_bool)) { 12 | ROS_INFO_STREAM("Failed, bailing"); 13 | ros::shutdown(); 14 | } 15 | std::cout << "."; 16 | } 17 | return 0; 18 | } 19 | -------------------------------------------------------------------------------- /test/test_roscpp/test/src/publisher.cpp: -------------------------------------------------------------------------------- 1 | // Publish big data chunks 2 | // Author: Max Schwarz 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | int main(int argc, char** argv) 11 | { 12 | ros::init(argc, argv, "publisher"); 13 | ros::NodeHandle n; 14 | 15 | const size_t NUM_BYTES = 4000; 16 | std_msgs::Int8MultiArray data; 17 | data.data.reserve(NUM_BYTES); 18 | 19 | ros::Publisher pub = n.advertise("data", 1); 20 | ros::Rate rate(10.0); 21 | 22 | size_t start = 0; 23 | while(ros::ok()) 24 | { 25 | data.data.clear(); 26 | for(size_t i = 0; i < NUM_BYTES; ++i) 27 | { 28 | data.data.push_back(start + i); 29 | } 30 | pub.publish(data); 31 | rate.sleep(); 32 | start++; 33 | } 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /test/test_roscpp/test/src/subscriber.cpp: -------------------------------------------------------------------------------- 1 | // Test subscriber 2 | // Author: Max Schwarz 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | #include 11 | 12 | void handleMsg(const std_msgs::Int8MultiArray& msg) 13 | { 14 | static uint8_t previous = 0; 15 | uint8_t current = msg.data[0]; 16 | uint8_t diff = current - previous; 17 | if (diff != 1) 18 | { 19 | ROS_WARN("Missing %u message(s)", diff - 1); 20 | } 21 | ROS_INFO("Got message %u", current); 22 | previous = msg.data[0]; 23 | } 24 | 25 | int main(int argc, char** argv) 26 | { 27 | ros::init(argc, argv, "subscriber"); 28 | ros::NodeHandle n; 29 | ros::Subscriber sub = n.subscribe("data", 1, &handleMsg, ros::TransportHints().udp()); 30 | ros::spin(); 31 | return 0; 32 | } 33 | -------------------------------------------------------------------------------- /test/test_roscpp/test/srv/BadTestStringString.srv: -------------------------------------------------------------------------------- 1 | # field name is different, so md5 sum should be different 2 | string strbad 3 | --- 4 | string str 5 | -------------------------------------------------------------------------------- /test/test_roscpp/test/srv/TestStringString.srv: -------------------------------------------------------------------------------- 1 | string str 2 | --- 3 | string str 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/ArrayOfFixedLength.msg: -------------------------------------------------------------------------------- 1 | # This comment has "quotes" in it 2 | FixedLength[4] a -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/ArrayOfVariableLength.msg: -------------------------------------------------------------------------------- 1 | VariableLength[4] a -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/Constants.msg: -------------------------------------------------------------------------------- 1 | uint8 a = 1 2 | int8 b = 2 3 | uint16 c = 3 4 | int16 d = 4 5 | uint32 e = 5 6 | int32 f = 6 7 | uint64 g = 7 8 | int64 h = 8 9 | float32 fa = 1.5 10 | float64 fb = 40.9 11 | string str = hello there 12 | string str2 = this string has "quotes" and \slashes\ in it -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/CustomHeader.msg: -------------------------------------------------------------------------------- 1 | uint32 a 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/EmbeddedExternal.msg: -------------------------------------------------------------------------------- 1 | std_msgs/UInt8 a -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/EmbeddedFixedLength.msg: -------------------------------------------------------------------------------- 1 | FixedLength a 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/EmbeddedVariableLength.msg: -------------------------------------------------------------------------------- 1 | VariableLength a 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/FixedLength.msg: -------------------------------------------------------------------------------- 1 | uint32 a 2 | float32 b 3 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/FixedLengthArrayOfExternal.msg: -------------------------------------------------------------------------------- 1 | # This comment has "quotes" in it and \slashes\ 2 | rosgraph_msgs/Log[4] a -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/FixedLengthStringArray.msg: -------------------------------------------------------------------------------- 1 | string[5] foo 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/HeaderNotFirstMember.msg: -------------------------------------------------------------------------------- 1 | int8 foo 2 | Header header 3 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/VariableLength.msg: -------------------------------------------------------------------------------- 1 | uint32[] a 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/VariableLengthArrayOfExternal.msg: -------------------------------------------------------------------------------- 1 | # This comment has "quotes" in it 2 | rosgraph_msgs/Log[] a -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/VariableLengthStringArray.msg: -------------------------------------------------------------------------------- 1 | string[] foo 2 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/WithDuration.msg: -------------------------------------------------------------------------------- 1 | duration my_duration -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/WithHeader.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | uint32 a 3 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/WithMemberNamedHeaderThatIsNotAHeader.msg: -------------------------------------------------------------------------------- 1 | CustomHeader header 2 | uint32 a -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/msg/WithTime.msg: -------------------------------------------------------------------------------- 1 | time my_time -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/test/builtin_types.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roscpp/test_serialization/test/pre_deserialize.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_rosgraph/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rosgraph) 4 | find_package(catkin REQUIRED COMPONENTS rostest) 5 | catkin_package() 6 | 7 | if(CATKIN_ENABLE_TESTING) 8 | add_rostest(test/masterapi.test) 9 | endif() 10 | -------------------------------------------------------------------------------- /test/test_rosgraph/package.xml: -------------------------------------------------------------------------------- 1 | 2 | test_rosgraph 3 | 1.17.3 4 | 5 | Tests for rosgraph which depend on rostest. 6 | 7 | Michael Carroll 8 | Shane Loretz 9 | BSD 10 | 11 | http://ros.org/wiki/rosgraph 12 | Ken Conley 13 | Dirk Thomas 14 | Jacob Perron 15 | 16 | catkin 17 | 18 | rostest 19 | 20 | -------------------------------------------------------------------------------- /test/test_rosgraph/test/masterapi.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_roslaunch/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_roslaunch) 4 | find_package(catkin REQUIRED COMPONENTS rostest) 5 | catkin_package() 6 | 7 | if(CATKIN_ENABLE_TESTING) 8 | add_rostest(test/roslaunch.test) 9 | add_rostest(test/env.test) 10 | add_rostest(test/params_basic.test) 11 | endif() 12 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/dump-params.yaml: -------------------------------------------------------------------------------- 1 | string1: bar 2 | dict1: { head: 1, shoulders: 2, knees: 3, toes: 4} 3 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/env.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/params.yaml: -------------------------------------------------------------------------------- 1 | string1: bar 2 | string2: !!str 10 3 | preformattedtext: | 4 | This is the first line 5 | This is the second line 6 | Line breaks are preserved 7 | Indentation is stripped 8 | list1: 9 | - head 10 | - shoulders 11 | - knees 12 | - toes 13 | list2: [1, 1, 2, 3, 5, 8] 14 | dict1: { head: 1, shoulders: 2, knees: 3, toes: 4} 15 | integer1: 1 16 | integer2: 2 17 | float1: 3.14159 18 | float2: 1.2345e+3 19 | robots: 20 | childparam: a child namespace parameter 21 | child: 22 | grandchildparam: a grandchild namespace param 23 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/params_empty1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_roslaunch/test/params_empty1.yaml -------------------------------------------------------------------------------- /test/test_roslaunch/test/params_empty2.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # 4 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/ros_args.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/roslaunch.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roslaunch/test/xml/noop.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_roslib_comm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_roslib_comm) 4 | find_package(catkin REQUIRED COMPONENTS genmsg rosgraph_msgs std_msgs) 5 | 6 | if(CATKIN_ENABLE_TESTING) 7 | add_message_files(DIRECTORY msg 8 | FILES 9 | ArrayOfMsgs.msg 10 | FieldNameChange1.msg 11 | FieldNameChange2.msg 12 | FillEmbedTime.msg 13 | FillSimple.msg 14 | HeaderTest.msg 15 | SameSubMsg1.msg 16 | SameSubMsg2.msg 17 | SameSubMsg3.msg 18 | TypeNameChange1.msg 19 | TypeNameChange2.msg 20 | TypeNameChangeArray1.msg 21 | TypeNameChangeArray2.msg 22 | TypeNameChangeComplex1.msg 23 | TypeNameChangeComplex2.msg 24 | NOINSTALL 25 | ) 26 | generate_messages(DEPENDENCIES rosgraph_msgs std_msgs) 27 | endif() 28 | 29 | catkin_package() 30 | 31 | if(CATKIN_ENABLE_TESTING) 32 | catkin_add_nosetests(test) 33 | endif() 34 | -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/ArrayOfMsgs.msg: -------------------------------------------------------------------------------- 1 | std_msgs/String[] strings 2 | std_msgs/Time[] times 3 | std_msgs/MultiArrayLayout[] muls -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/FieldNameChange1.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg1 a -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/FieldNameChange2.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg1 b -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/FillEmbedTime.msg: -------------------------------------------------------------------------------- 1 | time t 2 | duration d 3 | std_msgs/String str_msg 4 | std_msgs/String[] str_msg_array 5 | int32 i32 -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/FillSimple.msg: -------------------------------------------------------------------------------- 1 | int32 i32 2 | string str 3 | int32[] i32_array 4 | bool b -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/HeaderTest.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | int32 i32 -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/SameSubMsg1.msg: -------------------------------------------------------------------------------- 1 | int32 a 2 | float32 b 3 | string c 4 | uint64[10] d 5 | float64[] e -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/SameSubMsg2.msg: -------------------------------------------------------------------------------- 1 | int32 a 2 | float32 b 3 | string c 4 | uint64[10] d 5 | float64[] e -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/SameSubMsg3.msg: -------------------------------------------------------------------------------- 1 | 2 | # Lots of comments 3 | int32 a #And more comments 4 | float32 b 5 | string c 6 | # And also some white space 7 | 8 | 9 | uint64[10] d 10 | float64[] e 11 | 12 | -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/TypeNameChange1.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg1 a -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/TypeNameChange2.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg2 a -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/TypeNameChangeArray1.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg1[] a -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/TypeNameChangeArray2.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg2[] a -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/TypeNameChangeComplex1.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg1[] a 2 | SameSubMsg2[10] b 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/msg/TypeNameChangeComplex2.msg: -------------------------------------------------------------------------------- 1 | SameSubMsg2[] a 2 | SameSubMsg3[10] b 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/srv/AddTwoInts.srv: -------------------------------------------------------------------------------- 1 | int64 a 2 | int64 b 3 | --- 4 | int64 sum 5 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_roslib_comm/test/__init__.py -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/constants1.txt: -------------------------------------------------------------------------------- 1 | int32 x=1 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/constants2.txt: -------------------------------------------------------------------------------- 1 | int32 x=2 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/constants3.txt: -------------------------------------------------------------------------------- 1 | int32 x=10 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/constantsB1.txt: -------------------------------------------------------------------------------- 1 | # protect against aliasing 2 | string s=u 3 | int32 a 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/constantsB2.txt: -------------------------------------------------------------------------------- 1 | # protect against aliasing 2 | string s=uint32 a 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/fields1.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | int32 b 3 | int32 c 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/fields2.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | int32 b 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/fields3.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | int32 b 3 | int32 c 4 | int32 d 5 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/fields4.txt: -------------------------------------------------------------------------------- 1 | int32 a1 2 | int32 b 3 | int32 c 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/different/fields5.txt: -------------------------------------------------------------------------------- 1 | uint32 a 2 | int32 b 3 | int32 c 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constant1.txt: -------------------------------------------------------------------------------- 1 | int32 x=123456 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constant2.txt: -------------------------------------------------------------------------------- 1 | int32 x = 123456 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constant3.txt: -------------------------------------------------------------------------------- 1 | #x is a value 2 | int32 x=123456 #a constant 3 | #i'm done 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constantB1.txt: -------------------------------------------------------------------------------- 1 | string foo="#bar 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constantB2.txt: -------------------------------------------------------------------------------- 1 | #blah 2 | string foo ="#bar 3 | #b 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constantC1.txt: -------------------------------------------------------------------------------- 1 | int32 x=123 2 | int32 y=234 3 | int32 z=345 4 | float32 a=1.0 5 | float32 b=2.0 6 | float32 pi=3.14159 7 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/constantC2.txt: -------------------------------------------------------------------------------- 1 | int32 x = 123 2 | int32 y = 234 3 | int32 z = 345 4 | float32 a= 1.0 5 | float32 b= 2.0 6 | float32 pi = 3.14159 7 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/embed1.txt: -------------------------------------------------------------------------------- 1 | acffd30cd6b6de30f120938c17c593fb log 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/embed2.txt: -------------------------------------------------------------------------------- 1 | rosgraph_msgs/Log log 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/embed3.txt: -------------------------------------------------------------------------------- 1 | #commented 2 | rosgraph_msgs/Log log 3 | #another comment 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/embed4.txt: -------------------------------------------------------------------------------- 1 | #comment. note the stripped package name 2 | Log log 3 | 4 | #comment 5 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/empty1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_roslib_comm/test/md5tests/md5text/empty1.txt -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/empty2.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/empty3.txt: -------------------------------------------------------------------------------- 1 | ### Just a comment 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/empty4.txt: -------------------------------------------------------------------------------- 1 | # A comment 2 | 3 | # With multiple lines 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/field1.txt: -------------------------------------------------------------------------------- 1 | int32 field 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/field2.txt: -------------------------------------------------------------------------------- 1 | #comment before 2 | int32 field 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/field3.txt: -------------------------------------------------------------------------------- 1 | int32 field 2 | #comment after 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/field4.txt: -------------------------------------------------------------------------------- 1 | int32 field 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/field5.txt: -------------------------------------------------------------------------------- 1 | int32 field #field does something 2 | 3 | 4 | 5 | #the end 6 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/multi1.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | acffd30cd6b6de30f120938c17c593fb log 3 | string s 4 | a9c97c1d230cfc112e270351a944ee47 time 5 | int32 b 6 | duration d 7 | time t 8 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/multi2.txt: -------------------------------------------------------------------------------- 1 | # comment about a 2 | int32 a 3 | # comment about log 4 | rosgraph_msgs/Log log 5 | # comment about s 6 | string s 7 | # comment about time 8 | rosgraph_msgs/Clock time 9 | # comment about b 10 | int32 b 11 | # comment about d 12 | duration d 13 | # comment about t 14 | time t 15 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/multi3.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | Log log 3 | string s 4 | Clock time 5 | int32 b 6 | duration d 7 | time t 8 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/multi4.txt: -------------------------------------------------------------------------------- 1 | # short comment about a 2 | int32 a #a 3 | # short comment about log 4 | Log log #log 5 | # 6 | # short comment about s 7 | string s #s 8 | # short comment about time 9 | Clock time #time 10 | # short comment about b 11 | int32 b #b 12 | # short comment about d 13 | duration d #d 14 | # short comment about t 15 | time t # t 16 | 17 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/md5text/multi5.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | rosgraph_msgs/Log log 3 | 4 | string s 5 | rosgraph_msgs/Clock time 6 | int32 b 7 | duration d 8 | time t 9 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constant1.txt: -------------------------------------------------------------------------------- 1 | int32 x=123456 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constant2.txt: -------------------------------------------------------------------------------- 1 | int32 x = 123456 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constant3.txt: -------------------------------------------------------------------------------- 1 | #x is a value 2 | int32 x=123456 #a constant 3 | #i'm done 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constantB1.txt: -------------------------------------------------------------------------------- 1 | string foo="#bar 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constantB2.txt: -------------------------------------------------------------------------------- 1 | #blah 2 | string foo ="#bar 3 | #b 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constantC1.txt: -------------------------------------------------------------------------------- 1 | int32 x=123 2 | int32 y=234 3 | int32 z=345 4 | float32 a=1.0 5 | float32 b=2.0 6 | float32 pi=3.14159 7 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/constantC2.txt: -------------------------------------------------------------------------------- 1 | int32 x = 123 2 | int32 y = 234 3 | int32 z = 345 4 | float32 a= 1.0 5 | float32 b= 2.0 6 | float32 pi = 3.14159 7 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/embed1.txt: -------------------------------------------------------------------------------- 1 | rosgraph_msgs/Log log 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/embed2.txt: -------------------------------------------------------------------------------- 1 | Log log 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/embed3.txt: -------------------------------------------------------------------------------- 1 | #commented 2 | rosgraph_msgs/Log log 3 | #another comment 4 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/embed4.txt: -------------------------------------------------------------------------------- 1 | #comment. note the stripped package name 2 | Log log 3 | 4 | #comment 5 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/empty1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_roslib_comm/test/md5tests/same/empty1.txt -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/empty2.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/empty3.txt: -------------------------------------------------------------------------------- 1 | ### Just a comment 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/empty4.txt: -------------------------------------------------------------------------------- 1 | # A comment 2 | 3 | # With multiple lines 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/field1.txt: -------------------------------------------------------------------------------- 1 | int32 field 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/field2.txt: -------------------------------------------------------------------------------- 1 | #comment before 2 | int32 field 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/field3.txt: -------------------------------------------------------------------------------- 1 | int32 field 2 | #comment after 3 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/field4.txt: -------------------------------------------------------------------------------- 1 | int32 field 2 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/field5.txt: -------------------------------------------------------------------------------- 1 | int32 field #field does something 2 | 3 | 4 | 5 | #the end 6 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/multi1.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | rosgraph_msgs/Log log 3 | string s 4 | rosgraph_msgs/Clock time 5 | int32 b 6 | duration d 7 | time t 8 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/multi2.txt: -------------------------------------------------------------------------------- 1 | # comment about a 2 | int32 a 3 | # comment about log 4 | rosgraph_msgs/Log log 5 | # comment about s 6 | string s 7 | # comment about time 8 | rosgraph_msgs/Clock time 9 | # comment about b 10 | int32 b 11 | # comment about d 12 | duration d 13 | # comment about t 14 | time t 15 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/multi3.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | Log log 3 | string s 4 | Clock time 5 | int32 b 6 | duration d 7 | time t 8 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/multi4.txt: -------------------------------------------------------------------------------- 1 | # short comment about a 2 | int32 a #a 3 | # short comment about log 4 | Log log #log 5 | # 6 | # short comment about s 7 | string s #s 8 | # short comment about time 9 | Clock time #time 10 | # short comment about b 11 | int32 b #b 12 | # short comment about d 13 | duration d #d 14 | # short comment about t 15 | time t # t 16 | 17 | -------------------------------------------------------------------------------- /test/test_roslib_comm/test/md5tests/same/multi5.txt: -------------------------------------------------------------------------------- 1 | int32 a 2 | rosgraph_msgs/Log log 3 | 4 | string s 5 | rosgraph_msgs/Clock time 6 | int32 b 7 | duration d 8 | time t 9 | -------------------------------------------------------------------------------- /test/test_rosmaster/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rosmaster) 4 | 5 | find_package(catkin REQUIRED COMPONENTS genmsg rostest std_msgs) 6 | 7 | if(CATKIN_ENABLE_TESTING) 8 | add_message_files(DIRECTORY msg 9 | FILES 10 | String.msg 11 | Arrays.msg 12 | CompositeA.msg CompositeB.msg Composite.msg 13 | Embed.msg Floats.msg Simple.msg 14 | RosmsgA.msg 15 | RosmsgB.msg 16 | RosmsgC.msg 17 | TestArrays.msg 18 | TestHeader.msg 19 | TestPrimitives.msg 20 | TestString.msg 21 | TVals.msg 22 | ) 23 | add_service_files(DIRECTORY srv 24 | FILES 25 | AddTwoInts.srv 26 | RossrvA.srv 27 | RossrvB.srv 28 | ) 29 | 30 | generate_messages(DEPENDENCIES std_msgs) 31 | endif() 32 | 33 | catkin_package() 34 | 35 | if(CATKIN_ENABLE_TESTING) 36 | add_rostest(test/rosmaster.test) 37 | add_rostest(test/paramserver.test) 38 | endif() 39 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/Arrays.msg: -------------------------------------------------------------------------------- 1 | #for rostopic tests 2 | int8[] int8_arr 3 | uint8[] uint8_arr 4 | int32[] int32_arr 5 | uint32[] uint32_arr 6 | string[] string_arr 7 | time[] time_arr 8 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/Composite.msg: -------------------------------------------------------------------------------- 1 | # composite message. required for testing import calculation in generators 2 | CompositeA a 3 | CompositeB b 4 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/CompositeA.msg: -------------------------------------------------------------------------------- 1 | # This represents an orientation in free space in quaternion form. 2 | 3 | float64 x 4 | float64 y 5 | float64 z 6 | float64 w 7 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/CompositeB.msg: -------------------------------------------------------------------------------- 1 | # copy of geometry_msgs/Point for testing 2 | float64 x 3 | float64 y 4 | float64 z 5 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/Embed.msg: -------------------------------------------------------------------------------- 1 | #for rostopic tests 2 | Simple simple 3 | Arrays arrays 4 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/Empty.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_rosmaster/msg/Empty.msg -------------------------------------------------------------------------------- /test/test_rosmaster/msg/Floats.msg: -------------------------------------------------------------------------------- 1 | # for rostopic tests 2 | float32 float32 3 | float64 float64 4 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/RosmsgA.msg: -------------------------------------------------------------------------------- 1 | int32 a 2 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/RosmsgB.msg: -------------------------------------------------------------------------------- 1 | Empty empty 2 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/RosmsgC.msg: -------------------------------------------------------------------------------- 1 | String s1 2 | String s2 3 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/Simple.msg: -------------------------------------------------------------------------------- 1 | # for rostopic tests 2 | byte b 3 | int16 int16 4 | int32 int32 5 | int64 int64 6 | char c 7 | uint16 uint16 8 | uint32 uint32 9 | uint64 uint64 10 | string str 11 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/String.msg: -------------------------------------------------------------------------------- 1 | # Copy of std_msgs/String.msg to avoid having tests require a dependency on std_msgs. 2 | string data 3 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/TVals.msg: -------------------------------------------------------------------------------- 1 | # for rostopic tests 2 | time t 3 | duration d 4 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/TestArrays.msg: -------------------------------------------------------------------------------- 1 | # caller_id of most recent node to send this message 2 | string caller_id 3 | # caller_id of the original node to send this message 4 | string orig_caller_id 5 | 6 | int32[] int32_array 7 | float32[] float32_array 8 | time[] time_array 9 | TestString[] test_string_array 10 | # TODO: array of arrays 11 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/TestHeader.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | 3 | # caller_id of most recent node to send this message 4 | string caller_id 5 | # caller_id of the original node to send this message 6 | string orig_caller_id 7 | 8 | byte auto_header # autoset header on response 9 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/TestPrimitives.msg: -------------------------------------------------------------------------------- 1 | # Integration test message of all primitive types 2 | 3 | # caller_id of most recent node to send this message 4 | string caller_id 5 | # caller_id of the original node to send this message 6 | string orig_caller_id 7 | 8 | string str 9 | byte b 10 | int16 int16 11 | int32 int32 12 | int64 int64 13 | char c 14 | uint16 uint16 15 | uint32 uint32 16 | uint64 uint64 17 | float32 float32 18 | float64 float64 19 | time t 20 | duration d 21 | 22 | -------------------------------------------------------------------------------- /test/test_rosmaster/msg/TestString.msg: -------------------------------------------------------------------------------- 1 | # Integration test message 2 | # caller_id of most recent node to send this message 3 | string caller_id 4 | # caller_id of the original node to send this message 5 | string orig_caller_id 6 | string data 7 | -------------------------------------------------------------------------------- /test/test_rosmaster/package.xml: -------------------------------------------------------------------------------- 1 | 2 | test_rosmaster 3 | 1.17.3 4 | 5 | Tests for rosmaster which depend on rostest. 6 | 7 | Michael Carroll 8 | Shane Loretz 9 | BSD 10 | 11 | http://ros.org/wiki/rosmaster 12 | Ken Conley 13 | Dirk Thomas 14 | Jacob Perron 15 | 16 | catkin 17 | 18 | genmsg 19 | rosgraph 20 | rostest 21 | std_msgs 22 | 23 | rosbuild 24 | 25 | -------------------------------------------------------------------------------- /test/test_rosmaster/srv/AddTwoInts.srv: -------------------------------------------------------------------------------- 1 | int64 a 2 | int64 b 3 | --- 4 | int64 sum 5 | -------------------------------------------------------------------------------- /test/test_rosmaster/srv/RossrvA.srv: -------------------------------------------------------------------------------- 1 | int32 areq 2 | --- 3 | int32 aresp 4 | -------------------------------------------------------------------------------- /test/test_rosmaster/srv/RossrvB.srv: -------------------------------------------------------------------------------- 1 | Empty empty 2 | --- 3 | Empty empty 4 | -------------------------------------------------------------------------------- /test/test_rosmaster/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_rosmaster/test/__init__.py -------------------------------------------------------------------------------- /test/test_rosmaster/test/client_verification/rosjava_profile.yaml: -------------------------------------------------------------------------------- 1 | pubs: 2 | '/chatter_out': std_msgs/String 3 | '/int64': std_msgs/Int64 4 | subs: {} 5 | -------------------------------------------------------------------------------- /test/test_rosmaster/test/paramserver.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_rosparam/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rosparam) 4 | find_package(catkin REQUIRED COMPONENTS rostest) 5 | catkin_package() 6 | 7 | if(CATKIN_ENABLE_TESTING) 8 | add_rostest(test/rosparam.test) 9 | 10 | catkin_add_nosetests(test) 11 | endif() 12 | -------------------------------------------------------------------------------- /test/test_rosparam/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_rosparam/test/__init__.py -------------------------------------------------------------------------------- /test/test_rosparam/test/rosparam.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /test/test_rosparam/test/test.yaml: -------------------------------------------------------------------------------- 1 | foo: bar -------------------------------------------------------------------------------- /test/test_rosparam/test/test_dump.yaml: -------------------------------------------------------------------------------- 1 | foo: bar 2 | -------------------------------------------------------------------------------- /test/test_rosparam/test/test_ns.yaml: -------------------------------------------------------------------------------- 1 | _ns: a/b 2 | foo: baz -------------------------------------------------------------------------------- /test/test_rospy/msg/ArrayVal.msg: -------------------------------------------------------------------------------- 1 | Val[] vals 2 | #Val[10] vals_fixed 3 | -------------------------------------------------------------------------------- /test/test_rospy/msg/EmbedTest.msg: -------------------------------------------------------------------------------- 1 | std_msgs/String str1 2 | std_msgs/Int32 int1 3 | std_msgs/Int32[] ints 4 | Val val 5 | Val[] vals 6 | ArrayVal[] arrayval 7 | -------------------------------------------------------------------------------- /test/test_rospy/msg/Empty.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_rospy/msg/Empty.msg -------------------------------------------------------------------------------- /test/test_rospy/msg/Floats.msg: -------------------------------------------------------------------------------- 1 | # exact copy of rospy_tutorials/Floats, used for testing 2 | float32[] data 3 | -------------------------------------------------------------------------------- /test/test_rospy/msg/HeaderHeaderVal.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | HeaderVal val -------------------------------------------------------------------------------- /test/test_rospy/msg/HeaderVal.msg: -------------------------------------------------------------------------------- 1 | Header header 2 | string val -------------------------------------------------------------------------------- /test/test_rospy/msg/PythonKeyword.msg: -------------------------------------------------------------------------------- 1 | int32 yield 2 | -------------------------------------------------------------------------------- /test/test_rospy/msg/TestConstants.msg: -------------------------------------------------------------------------------- 1 | float32 A=-123.0 2 | float32 B=124.0 3 | float64 C=125.0 4 | int32 X=123 5 | int32 Y=-123 6 | uint32 Z=124 7 | string FOO=foo 8 | string SINGLEQUOTE='hi 9 | string DOUBLEQUOTE="hello" there 10 | string MULTIQUOTE="hello" 'goodbye' 11 | string EXAMPLE="#comments" are ignored, and leading and trailing whitespace removed 12 | string WHITESPACE= strip 13 | string EMPTY= 14 | bool TRUE=1 15 | bool FALSE=0 -------------------------------------------------------------------------------- /test/test_rospy/msg/TestFixedArray.msg: -------------------------------------------------------------------------------- 1 | float32[1] f32_1 2 | float32[3] f32_3 3 | float64[1] f64_1 4 | float64[3] f64_3 5 | int8[1] i8_1 6 | int8[3] i8_3 7 | uint8[1] u8_1 8 | uint8[3] u8_3 9 | int32[1] i32_1 10 | int32[3] i32_3 11 | uint32[1] u32_1 12 | uint32[3] u32_3 13 | string[1] s_1 14 | string[3] s_3 15 | bool[1] b_1 16 | bool[3] b_3 -------------------------------------------------------------------------------- /test/test_rospy/msg/TransitiveImport.msg: -------------------------------------------------------------------------------- 1 | # Bug #2133/2139: EmbedTest uses std_msgs, so TransitiveImport needs it as well 2 | EmbedTest data -------------------------------------------------------------------------------- /test/test_rospy/msg/TransitiveMsg1.msg: -------------------------------------------------------------------------------- 1 | TransitiveMsg2 msg2 2 | 3 | -------------------------------------------------------------------------------- /test/test_rospy/msg/TransitiveMsg2.msg: -------------------------------------------------------------------------------- 1 | test_rosmaster/Composite data 2 | -------------------------------------------------------------------------------- /test/test_rospy/msg/Val.msg: -------------------------------------------------------------------------------- 1 | string val -------------------------------------------------------------------------------- /test/test_rospy/srv/ConstantsMultiplex.srv: -------------------------------------------------------------------------------- 1 | byte BYTE_X=0 2 | byte BYTE_Y=15 3 | byte BYTE_Z=5 4 | int32 INT32_X=0 5 | int32 INT32_Y=-12345678 6 | int32 INT32_Z=12345678 7 | uint32 UINT32_X=0 8 | uint32 UINT32_Y=12345678 9 | uint32 UINT32_Z=1 10 | float32 FLOAT32_X=0.0 11 | float32 FLOAT32_Y=-3.14159 12 | float32 FLOAT32_Z=12345.78 13 | byte SELECT_X=1 14 | byte SELECT_Y=2 15 | byte SELECT_Z=3 16 | byte selection 17 | --- 18 | # test response constants as well 19 | byte CONFIRM_X=1 20 | byte CONFIRM_Y=2 21 | byte CONFIRM_Z=3 22 | byte select_confirm 23 | byte ret_byte 24 | int32 ret_int32 25 | uint32 ret_uint32 26 | float32 ret_float32 -------------------------------------------------------------------------------- /test/test_rospy/srv/EmptyReqSrv.srv: -------------------------------------------------------------------------------- 1 | --- 2 | int32 fake_secret 3 | -------------------------------------------------------------------------------- /test/test_rospy/srv/EmptyRespSrv.srv: -------------------------------------------------------------------------------- 1 | int32 fake_secret 2 | --- 3 | -------------------------------------------------------------------------------- /test/test_rospy/srv/EmptySrv.srv: -------------------------------------------------------------------------------- 1 | --- 2 | -------------------------------------------------------------------------------- /test/test_rospy/srv/ListReturn.srv: -------------------------------------------------------------------------------- 1 | # test case for having single list return value 2 | int32 a 3 | int32 b 4 | int32 c 5 | int32 d 6 | --- 7 | int32[] abcd 8 | -------------------------------------------------------------------------------- /test/test_rospy/srv/MultipleAddTwoInts.srv: -------------------------------------------------------------------------------- 1 | # test case for having multiple return values 2 | int32 a 3 | int32 b 4 | int32 c 5 | int32 d 6 | --- 7 | int32 ab 8 | int32 cd -------------------------------------------------------------------------------- /test/test_rospy/srv/StringString.srv: -------------------------------------------------------------------------------- 1 | std_msgs/String str 2 | Val str2 3 | --- 4 | std_msgs/String str 5 | -------------------------------------------------------------------------------- /test/test_rospy/srv/TransitiveSrv.srv: -------------------------------------------------------------------------------- 1 | test_rospy/TransitiveMsg1 msg 2 | --- 3 | int32 a 4 | 5 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/client-param-api-2.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/client-param-server.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/deregister.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/embed-msg.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/latch.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/latch_unsubscribe.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/on_shutdown.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/pubsub-order.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/rosout.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/rospy.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/test_rospy/test/rostest/rospy_sim_time.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /test/test_rospy/test/unit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_rospy/test/unit/__init__.py -------------------------------------------------------------------------------- /test/test_rosservice/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rosservice) 4 | find_package(catkin REQUIRED COMPONENTS genmsg rosunit rostest std_msgs) 5 | 6 | if(CATKIN_ENABLE_TESTING) 7 | add_service_files(DIRECTORY srv 8 | FILES 9 | HeaderEcho.srv 10 | NOINSTALL 11 | ) 12 | generate_messages(DEPENDENCIES std_msgs) 13 | endif() 14 | 15 | catkin_package() 16 | 17 | if(CATKIN_ENABLE_TESTING) 18 | catkin_add_nosetests(test) 19 | 20 | add_rostest(test/rosservice.test) 21 | #add_rostest(test/rosservice_unit.test) 22 | endif() 23 | -------------------------------------------------------------------------------- /test/test_rosservice/srv/HeaderEcho.srv: -------------------------------------------------------------------------------- 1 | Header header 2 | --- 3 | Header header 4 | -------------------------------------------------------------------------------- /test/test_rosservice/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/test/test_rosservice/test/__init__.py -------------------------------------------------------------------------------- /test/test_rosservice/test/rosservice.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/test_rosservice/test/rosservice_unit.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/test_rostest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rostest) 4 | 5 | find_package(catkin REQUIRED COMPONENTS rostest) 6 | 7 | catkin_package() 8 | 9 | if(CATKIN_ENABLE_TESTING) 10 | add_rostest(test/publishtest.test) 11 | endif() 12 | -------------------------------------------------------------------------------- /test/test_rostest/package.xml: -------------------------------------------------------------------------------- 1 | 2 | test_rostest 3 | 1.17.3 4 | 5 | Tests for rostest. 6 | 7 | Michael Carroll 8 | Shane Loretz 9 | BSD 10 | 11 | http://ros.org/wiki/rostest 12 | Dirk Thomas 13 | Jacob Perron 14 | 15 | catkin 16 | 17 | rostest 18 | 19 | rostopic 20 | 21 | -------------------------------------------------------------------------------- /test/test_rostest/test/publishtest.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 15 | 16 | msg_name: std_msgs/String 17 | 18 | 19 | 20 | 23 | 24 | topics: 25 | - name: talker_0/output 26 | timeout: 10 27 | negative: False 28 | - name: talker_1/output 29 | - name: talker_2/output 30 | timeout: 3 31 | negative: True 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/test_rostopic/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | 3 | project(test_rostopic) 4 | 5 | find_package(catkin REQUIRED COMPONENTS genmsg rostest std_msgs) 6 | 7 | if(CATKIN_ENABLE_TESTING) 8 | add_message_files(DIRECTORY msg 9 | FILES 10 | Arrays.msg 11 | ArrayVal.msg 12 | Embed.msg 13 | Floats.msg 14 | Simple.msg 15 | TVals.msg 16 | Val.msg 17 | ) 18 | generate_messages(DEPENDENCIES std_msgs) 19 | endif() 20 | 21 | catkin_package() 22 | 23 | if(CATKIN_ENABLE_TESTING) 24 | catkin_add_nosetests(test) 25 | endif() 26 | -------------------------------------------------------------------------------- /test/test_rostopic/msg/ArrayVal.msg: -------------------------------------------------------------------------------- 1 | Val[] vals -------------------------------------------------------------------------------- /test/test_rostopic/msg/Arrays.msg: -------------------------------------------------------------------------------- 1 | #for rostopic tests 2 | int8[] int8_arr 3 | uint8[] uint8_arr 4 | int32[] int32_arr 5 | uint32[] uint32_arr 6 | string[] string_arr 7 | time[] time_arr 8 | -------------------------------------------------------------------------------- /test/test_rostopic/msg/Embed.msg: -------------------------------------------------------------------------------- 1 | #for rostopic tests 2 | Simple simple 3 | Arrays arrays 4 | -------------------------------------------------------------------------------- /test/test_rostopic/msg/Floats.msg: -------------------------------------------------------------------------------- 1 | # for rostopic tests 2 | float32 float32 3 | float64 float64 4 | -------------------------------------------------------------------------------- /test/test_rostopic/msg/Simple.msg: -------------------------------------------------------------------------------- 1 | # for rostopic tests 2 | byte b 3 | int16 int16 4 | int32 int32 5 | int64 int64 6 | char c 7 | uint16 uint16 8 | uint32 uint32 9 | uint64 uint64 10 | string str 11 | -------------------------------------------------------------------------------- /test/test_rostopic/msg/TVals.msg: -------------------------------------------------------------------------------- 1 | # for rostopic tests 2 | time t 3 | duration d 4 | -------------------------------------------------------------------------------- /test/test_rostopic/msg/Val.msg: -------------------------------------------------------------------------------- 1 | string val -------------------------------------------------------------------------------- /test/test_rostopic/package.xml: -------------------------------------------------------------------------------- 1 | 2 | test_rostopic 3 | 1.17.3 4 | 5 | Tests for rostopic. 6 | 7 | Michael Carroll 8 | Shane Loretz 9 | BSD 10 | 11 | http://ros.org/wiki/rostopic 12 | Ken Conley 13 | Dirk Thomas 14 | Jacob Perron 15 | 16 | catkin 17 | 18 | genmsg 19 | genpy 20 | rostest 21 | std_msgs 22 | 23 | rostopic 24 | 25 | -------------------------------------------------------------------------------- /tools/rosbag/mainpage.dox: -------------------------------------------------------------------------------- 1 | /** 2 | \mainpage 3 | \htmlinclude manifest.html 4 | 5 | \b rosbag is a set of tools and API's for recording/writing messages to bag files and playing/reading them back. 6 | 7 | Most code (not relying on the ROS client library) has been moved to the rosbag_storage package. 8 | 9 | */ 10 | -------------------------------------------------------------------------------- /tools/rosbag/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | output_dir: python 3 | - builder: doxygen 4 | name: C++ API 5 | output_dir: c++ 6 | file_patterns: '*.c *.cpp *.h *.cc *.hh *.dox' 7 | -------------------------------------------------------------------------------- /tools/rosbag/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosbag'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosbag'], 8 | requires=['genmsg', 'genpy', 'roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rosbag_storage/cmake/rosbag_storage-extras.cmake: -------------------------------------------------------------------------------- 1 | # PR https://github.com/ros/ros_comm/pull/1206 added support for encryption 2 | # and decryption of rosbags by utilizing libgpgme-dev. On armhf, libgpgme-dev 3 | # is compiled with -D_FILE_OFF_BITS=64, which means that all downstream 4 | # consumers of it must also be compiled with that 5 | # (https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html 6 | # has some more information). Add that flag to the CMAKE_CXX_FLAGS for all 7 | # architectures where the size of the pointer is less than 8 bytes. 8 | if(CMAKE_SIZEOF_VOID_P LESS 8) 9 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64") 10 | endif() 11 | -------------------------------------------------------------------------------- /tools/rosbag_storage/encryptor_plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is a plugin for no encryption. 4 | 5 | 6 | This is a plugin for AES-128 CBC encryption using a GPG key. 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/rosbag_storage/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: doxygen 2 | name: C++ API 3 | output_dir: c++ 4 | file_patterns: '*.c *.cpp *.h *.cc *.hh *.dox' 5 | -------------------------------------------------------------------------------- /tools/rosgraph/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosgraph) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | 8 | # logging config file goes in both etc and package layout (for now). 9 | # want to get rid of package layout copy, but need to be able to 10 | # locate etc first. 11 | install(FILES conf/python_logging.conf 12 | DESTINATION ${CATKIN_GLOBAL_ETC_DESTINATION}/ros) 13 | install(FILES conf/python_logging.conf 14 | DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/conf) 15 | catkin_install_python(PROGRAMS scripts/rosgraph 16 | DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) 17 | 18 | if(CATKIN_ENABLE_TESTING) 19 | catkin_add_nosetests(test) 20 | endif() 21 | -------------------------------------------------------------------------------- /tools/rosgraph/conf/python_logging.conf: -------------------------------------------------------------------------------- 1 | [loggers] 2 | keys=root, rosout 3 | 4 | [handlers] 5 | keys=fileHandler,streamHandler 6 | 7 | [formatters] 8 | keys=defaultFormatter 9 | 10 | [logger_root] 11 | level=INFO 12 | handlers=fileHandler 13 | 14 | [logger_rosout] 15 | level=INFO 16 | handlers=streamHandler 17 | propagate=1 18 | qualname=rosout 19 | 20 | [handler_fileHandler] 21 | class=handlers.RotatingFileHandler 22 | level=DEBUG 23 | formatter=defaultFormatter 24 | # log filename, mode, maxBytes, backupCount 25 | args=(os.environ['ROS_LOG_FILENAME'],'a', 50000000, 4) 26 | 27 | [handler_streamHandler] 28 | class=rosgraph.roslogging.RosStreamHandler 29 | level=DEBUG 30 | formatter=defaultFormatter 31 | # colorize output flag 32 | args=(True,) 33 | 34 | [formatter_defaultFormatter] 35 | format=[%(name)s][%(levelname)s] %(asctime)s: %(message)s 36 | -------------------------------------------------------------------------------- /tools/rosgraph/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | -------------------------------------------------------------------------------- /tools/rosgraph/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosgraph', 'rosgraph.impl'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosgraph'], 8 | requires=['rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rosgraph/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/tools/rosgraph/test/__init__.py -------------------------------------------------------------------------------- /tools/roslaunch/env-hooks/10.roslaunch.bat: -------------------------------------------------------------------------------- 1 | REM roslaunch/env-hooks/10.roslaunch.bat 2 | 3 | if "%ROS_MASTER_URI%" == "" ( 4 | set ROS_MASTER_URI=http://localhost:11311 5 | ) 6 | -------------------------------------------------------------------------------- /tools/roslaunch/env-hooks/10.roslaunch.sh: -------------------------------------------------------------------------------- 1 | # roslaunch/env-hooks/10.roslaunch.sh 2 | 3 | if [ ! "$ROS_MASTER_URI" ]; then 4 | export ROS_MASTER_URI=http://localhost:11311 5 | fi 6 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-args.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-env-substutition.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-gdb.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-include.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-min.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-pass_all_args.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/example-ssh.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/roscore.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tools/roslaunch/resources/timeouts.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | -------------------------------------------------------------------------------- /tools/roslaunch/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['roslaunch'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/roscore', 8 | 'scripts/roslaunch', 9 | 'scripts/roslaunch-complete', 10 | 'scripts/roslaunch-deps', 11 | 'scripts/roslaunch-logs'], 12 | requires=['genmsg', 'genpy', 'roslib', 'rospkg'] 13 | ) 14 | 15 | setup(**d) 16 | -------------------------------------------------------------------------------- /tools/roslaunch/test/dump-params.yaml: -------------------------------------------------------------------------------- 1 | string1: bar 2 | dict1: { head: 1, shoulders: 2, knees: 3, toes: 4} 3 | -------------------------------------------------------------------------------- /tools/roslaunch/test/params.yaml: -------------------------------------------------------------------------------- 1 | string1: bar 2 | string2: !!str 10 3 | preformattedtext: | 4 | This is the first line 5 | This is the second line 6 | Line breaks are preserved 7 | Indentation is stripped 8 | list1: 9 | - head 10 | - shoulders 11 | - knees 12 | - toes 13 | list2: [1, 1, 2, 3, 5, 8] 14 | dict1: { head: 1, shoulders: 2, knees: 3, toes: 4} 15 | integer1: 1 16 | integer2: 2 17 | float1: 3.14159 18 | float2: 1.2345e+3 19 | robots: 20 | childparam: a child namespace parameter 21 | child: 22 | grandchildparam: a grandchild namespace param 23 | -------------------------------------------------------------------------------- /tools/roslaunch/test/params_empty1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/tools/roslaunch/test/params_empty1.yaml -------------------------------------------------------------------------------- /tools/roslaunch/test/params_empty2.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/params_subst.yaml: -------------------------------------------------------------------------------- 1 | string1: $(anon foo) 2 | -------------------------------------------------------------------------------- /tools/roslaunch/test/signal_logger.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import os 4 | import signal 5 | import tempfile 6 | import time 7 | 8 | if __name__ == '__main__': 9 | LOG_FILE = os.path.join(tempfile.gettempdir(), "signal.log") 10 | log_stream = open(LOG_FILE, 'w') 11 | 12 | 13 | def handler(signum, _): 14 | log_stream.write("%i %s\n" % (signum, str(time.time()))) 15 | log_stream.flush() 16 | 17 | if signum == signal.SIGTERM: 18 | log_stream.close() 19 | 20 | 21 | signal.signal(signal.SIGINT, handler) 22 | signal.signal(signal.SIGTERM, handler) 23 | 24 | while True: 25 | time.sleep(10) 26 | -------------------------------------------------------------------------------- /tools/roslaunch/test/unit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/tools/roslaunch/test/unit/__init__.py -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/invalid-xml.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/manual-test-remote-timeouts.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/noop.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/not-launch.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-arg-invalid-include.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-arg-invalid-include2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-arg-invalid-included.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-arg-invalid-redecl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-arg-invalid-sub.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-arg-valid-include.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-clear-params-include.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-clear-params-invalid-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-clear-params-invalid-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-clear-params-invalid-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-clear-params-invalid-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-dirname.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-dirname/included.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-env-include.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-env.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-if-unless-invalid-both.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-ignore-unset-args-arg-in-arg.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-ignore-unset-args.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-local-param-group.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid-9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-invalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-substitution.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-machine-valid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-cwd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-env-name-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-env-name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-env-value.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-exception.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-name-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-name-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-name-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-ns-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-ns-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-ns.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-output.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-pkg-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-pkg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-required-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-required-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-respawn-required.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-respawn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-type-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-invalid-type.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-delete.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-dump.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-invalid-name.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-load-multi.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-load-ns.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-load-param.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-rosparam-load.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-node-substitution.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-params-invalid-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-params-invalid-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-params-invalid-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-params-invalid-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-params-invalid-5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-remap-invalid-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-remap-invalid-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-remap-invalid-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-remap-invalid-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-remap-invalid-name-from.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-remap-invalid-name-to.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-rosparam-empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-rosparam-invalid-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-rosparam-invalid-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-rosparam-invalid-3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-rosparam-invalid-4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-rosparam-invalid-5.xml: -------------------------------------------------------------------------------- 1 | 2 | 1 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-substitution-duplicate-anon-names.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-substitution.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-output.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-reqd-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-reqd-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-respawn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-retry.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-time-limit-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-test-invalid-time-limit-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/roslaunch/test/xml/test-valid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tools/rosmaster/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosmaster) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | 8 | if(CATKIN_ENABLE_TESTING) 9 | catkin_add_nosetests(test) 10 | endif() 11 | -------------------------------------------------------------------------------- /tools/rosmaster/epydoc.config: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | name: rosmaster 3 | modules: rosmaster 4 | inheritance: included 5 | url: http://ros.org/wiki/rosmaster 6 | frames: no 7 | private: no 8 | -------------------------------------------------------------------------------- /tools/rosmaster/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | config: epydoc.config 3 | -------------------------------------------------------------------------------- /tools/rosmaster/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosmaster'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosmaster'], 8 | requires=['roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rosmsg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosmsg) 3 | find_package(catkin) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | 8 | if(CATKIN_ENABLE_TESTING) 9 | catkin_add_nosetests(test) 10 | endif() 11 | -------------------------------------------------------------------------------- /tools/rosmsg/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | -------------------------------------------------------------------------------- /tools/rosmsg/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosmsg'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'], 8 | requires=['genmsg', 'rosbag', 'roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rosmsg/test/DiagnosticStatus_raw.txt: -------------------------------------------------------------------------------- 1 | byte OK=0 2 | byte WARN=1 3 | byte ERROR=2 4 | byte STALE=3 5 | byte level 6 | string name 7 | string message 8 | string hardware_id 9 | diagnostic_msgs/KeyValue[] values 10 | string key 11 | string value 12 | -------------------------------------------------------------------------------- /tools/rosmsg/test/msg/DiagnosticStatus.msg: -------------------------------------------------------------------------------- 1 | byte OK=0 2 | byte WARN=1 3 | byte ERROR=2 4 | byte STALE=3 5 | byte level 6 | string name 7 | string message 8 | string hardware_id 9 | diagnostic_msgs/KeyValue[] values 10 | -------------------------------------------------------------------------------- /tools/rosmsg/test/msg/KeyValue.msg: -------------------------------------------------------------------------------- 1 | string key 2 | string value 3 | -------------------------------------------------------------------------------- /tools/rosmsg/test/srv/AddDiagnostics.srv: -------------------------------------------------------------------------------- 1 | string load_namespace 2 | --- 3 | bool success 4 | string message 5 | -------------------------------------------------------------------------------- /tools/rosmsg/test/srv/SelfTest.srv: -------------------------------------------------------------------------------- 1 | --- 2 | string id 3 | byte passed 4 | diagnostic_msgs/DiagnosticStatus[] status 5 | byte OK=0 6 | byte WARN=1 7 | byte ERROR=2 8 | byte STALE=3 9 | byte level 10 | string name 11 | string message 12 | string hardware_id 13 | diagnostic_msgs/KeyValue[] values 14 | string key 15 | string value 16 | -------------------------------------------------------------------------------- /tools/rosnode/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosnode) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | 8 | if(CATKIN_ENABLE_TESTING) 9 | find_package(rostest) 10 | add_rostest(test/rosnode.test) 11 | endif() 12 | 13 | catkin_install_python(PROGRAMS scripts/rosnode 14 | DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) 15 | -------------------------------------------------------------------------------- /tools/rosnode/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | -------------------------------------------------------------------------------- /tools/rosnode/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosnode'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosnode'], 8 | requires=['genmsg', 'genpy', 'roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rosout/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosout) 3 | 4 | if(NOT WIN32) 5 | set_directory_properties(PROPERTIES COMPILE_OPTIONS "-Wall;-Wextra") 6 | endif() 7 | 8 | find_package(catkin REQUIRED COMPONENTS roscpp rosgraph_msgs) 9 | 10 | catkin_package() 11 | 12 | include_directories(${catkin_INCLUDE_DIRS}) 13 | 14 | add_executable(rosout rosout.cpp) 15 | target_link_libraries(rosout ${catkin_LIBRARIES}) 16 | 17 | install(TARGETS rosout 18 | RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) 19 | -------------------------------------------------------------------------------- /tools/rosout/package.xml: -------------------------------------------------------------------------------- 1 | 2 | rosout 3 | 1.17.3 4 | 5 | System-wide logging mechanism for messages sent to the /rosout topic. 6 | 7 | Michael Carroll 8 | Shane Loretz 9 | BSD 10 | 11 | http://ros.org/wiki/rosout 12 | Josh Faust 13 | Dirk Thomas 14 | Jacob Perron 15 | 16 | catkin 17 | 18 | roscpp 19 | rosgraph_msgs 20 | 21 | roscpp 22 | rosgraph_msgs 23 | 24 | -------------------------------------------------------------------------------- /tools/rosparam/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosparam) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | -------------------------------------------------------------------------------- /tools/rosparam/epydoc.config: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | name: rosparam 3 | modules: rosparam 4 | inheritance: included 5 | url: http://ros.org/wiki/rosparam 6 | frames: no 7 | private: no 8 | -------------------------------------------------------------------------------- /tools/rosparam/example.yaml: -------------------------------------------------------------------------------- 1 | string1: bar 2 | string2: !!str 10 3 | preformattedtext: | 4 | This is the first line 5 | This is the second line 6 | Line breaks are preserved 7 | Indentation is stripped 8 | list1: 9 | - head 10 | - shoulders 11 | - knees 12 | - toes 13 | list2: [1, 1, 2, 3, 5, 8] 14 | dict1: { head: 1, shoulders: 2, knees: 3, toes: 4} 15 | integer1: 1 16 | integer2: 2 17 | float1: 3.14159 18 | float2: 1.2345e+3 19 | robots: 20 | childparam: a child namespace parameter 21 | child: 22 | grandchildparam: a grandchild namespace param 23 | -------------------------------------------------------------------------------- /tools/rosparam/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | config: epydoc.config 3 | -------------------------------------------------------------------------------- /tools/rosparam/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosparam'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosparam'] 8 | ) 9 | 10 | setup(**d) 11 | -------------------------------------------------------------------------------- /tools/rosservice/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rosservice) 3 | find_package(catkin) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | 8 | catkin_install_python(PROGRAMS scripts/rosservice 9 | DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) 10 | -------------------------------------------------------------------------------- /tools/rosservice/epydoc.config: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | name: rosservice 3 | modules: rosservice 4 | inheritance: included 5 | url: http://ros.org/wiki/rosservice 6 | frames: no 7 | private: no 8 | -------------------------------------------------------------------------------- /tools/rosservice/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | config: epydoc.config 3 | -------------------------------------------------------------------------------- /tools/rosservice/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rosservice'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rosservice'], 8 | requires=['genpy', 'rosgraph', 'roslib', 'rospy', 'rosmsg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rostest/epydoc.config: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | name: rostest 3 | modules: rostest 4 | inheritance: included 5 | url: http://ros.org/wiki/rostest 6 | frames: no 7 | private: no 8 | -------------------------------------------------------------------------------- /tools/rostest/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | config: epydoc.config 3 | -------------------------------------------------------------------------------- /tools/rostest/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rostest'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rostest'], 8 | requires=['rospkg', 'genmsg', 'genpy', 'roslib', 'rospy'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rostest/test/advertisetest.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | topics: 9 | - name: /chatter 10 | timeout: 2. 11 | - name: /once_topic 12 | type: std_msgs/Bool 13 | timeout: 2. 14 | - name: /advertised_topic 15 | timeout: 2. 16 | negative: true 17 | services: 18 | - name: /empty 19 | timeout: 2. 20 | - name: /set_bool 21 | type: std_srvs/SetBool 22 | timeout: 2. 23 | - name: /unadvertised_service 24 | timeout: 2. 25 | negative: true 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /tools/rostest/test/clean_master.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/rostest/test/distro_version.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/rostest/test/dotname_cases.py: -------------------------------------------------------------------------------- 1 | import unittest 2 | 3 | 4 | class CaseA(unittest.TestCase): 5 | 6 | def runTest(self): 7 | self.assertTrue(True) 8 | 9 | 10 | class CaseB(unittest.TestCase): 11 | 12 | def runTest(self): 13 | self.assertTrue(True) 14 | 15 | 16 | class DotnameLoadingSuite(unittest.TestSuite): 17 | 18 | def __init__(self): 19 | super(DotnameLoadingSuite, self).__init__() 20 | self.addTest(CaseA()) 21 | self.addTest(CaseB()) 22 | 23 | 24 | class DotnameLoadingTest(unittest.TestCase): 25 | 26 | def test_a(self): 27 | self.assertTrue(True) 28 | 29 | def test_b(self): 30 | self.assertTrue(True) 31 | 32 | 33 | class NotTestCase(): 34 | 35 | def not_test(self): 36 | pass 37 | -------------------------------------------------------------------------------- /tools/rostest/test/hztest.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tools/rostest/test/hztest0.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/rostest/test/publishtest.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | topics: 9 | - name: /frequent_topic 10 | timeout: 2. 11 | - name: /once_topic 12 | timeout: 2. 13 | - name: /unpublished_topic 14 | timeout: 2. 15 | negative: true 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tools/rostest/test/subscribetest.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | topics: 7 | - name: /chatter 8 | timeout: 2. 9 | - name: /subscribed_topic 10 | timeout: 2. 11 | negative: true 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/rostest/test/time-limit.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/rostest/test_nodes/service_server.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # Copyright (c) 2019, Yuki Furuta 4 | # All rights reserved. 5 | # Author: Yuki Furuta 6 | 7 | import rospy 8 | from std_srvs.srv import Empty, EmptyResponse 9 | from std_srvs.srv import SetBool, SetBoolResponse 10 | from std_srvs.srv import Trigger, TriggerResponse 11 | 12 | 13 | def empty_cb(req): 14 | return EmptyResponse() 15 | 16 | def set_bool_cb(req): 17 | return SetBoolResponse() 18 | 19 | def trigger_cb(req): 20 | return TriggerResponse() 21 | 22 | def main(): 23 | rospy.init_node('service_server') 24 | 25 | empty_service = rospy.Service('empty', Empty, empty_cb) 26 | set_bool_service = rospy.Service('set_bool', SetBool, set_bool_cb) 27 | trigger_service = rospy.Service('trigger', Trigger, trigger_cb) 28 | 29 | rospy.spin() 30 | 31 | 32 | if __name__ == '__main__': 33 | main() 34 | -------------------------------------------------------------------------------- /tools/rostopic/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(rostopic) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | 6 | catkin_python_setup() 7 | 8 | catkin_install_python(PROGRAMS scripts/rostopic 9 | DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) 10 | 11 | if(CATKIN_ENABLE_TESTING) 12 | find_package(rostest) 13 | add_rostest(test/rostopic.test) 14 | #add_rostest(test/rostopic2.test) 15 | catkin_add_nosetests(test/test_rostopic_command_line_offline.py) 16 | endif() 17 | -------------------------------------------------------------------------------- /tools/rostopic/epydoc.config: -------------------------------------------------------------------------------- 1 | [epydoc] 2 | name: rostopic 3 | modules: rostopic 4 | inheritance: included 5 | url: http://ros.org/wiki/rostopic 6 | frames: no 7 | private: no 8 | -------------------------------------------------------------------------------- /tools/rostopic/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | config: epydoc.config 3 | -------------------------------------------------------------------------------- /tools/rostopic/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['rostopic'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/rostopic'], 8 | requires=['genmsg', 'genpy', 'roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /tools/rostopic/test/rostopic.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/rostopic/test/rostopic2.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/topic_tools/demos/test_drop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | xterm -e "source ~/.bashrc && rosrun roscpp_tutorials talker" & 3 | xterm -e "source ~/.bashrc && rosrun roscpp_tutorials listener chatter:=chatter_drop" & 4 | # this will make it drop 2 out of 3 messages 5 | rosrun topic_tools drop chatter 2 3 6 | -------------------------------------------------------------------------------- /tools/topic_tools/demos/test_mux: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #xterm -e "roscore" & 3 | #sleep 2 4 | xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./talker" & 5 | sleep 2 6 | xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./talker __name:=talker2 chatter:=chatter2" & 7 | xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./listener chatter:=chat" & 8 | ./mux chat chatter chatter2 9 | #valgrind -v ./mux chat chatter chatter2 10 | -------------------------------------------------------------------------------- /tools/topic_tools/demos/test_relay: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #xterm -e "roscore" & 3 | #sleep 2 4 | xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./talker" & 5 | xterm -e "source ~/.bashrc && roscd roscpp_tutorials/bin; ./listener chatter:=chatter_relay" & 6 | ./relay chatter 7 | -------------------------------------------------------------------------------- /tools/topic_tools/demos/test_throttle: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | xterm -e "source ~/.bashrc && rosrun roscpp_tutorials talker" & 3 | xterm -e "source ~/.bashrc && rosrun roscpp_tutorials listener chatter:=chatter_throttle" & 4 | # this will make it drop 2 out of 3 messages 5 | #valgrind rosrun topic_tools throttle chatter 50 1 6 | valgrind ./throttle chatter 50 1 7 | -------------------------------------------------------------------------------- /tools/topic_tools/sample/simple_lazy_transport.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import roslib.message 4 | import rospy 5 | 6 | from topic_tools import LazyTransport 7 | 8 | 9 | class SimpleLazyTransport(LazyTransport): 10 | def __init__(self): 11 | super(self.__class__, self).__init__() 12 | msg_name = rospy.get_param('~msg_name') 13 | self.msg_class = roslib.message.get_message_class(msg_name) 14 | self._pub = self.advertise('~output', self.msg_class, queue_size=1) 15 | 16 | def subscribe(self): 17 | self._sub = rospy.Subscriber('~input', self.msg_class, self._process) 18 | 19 | def unsubscribe(self): 20 | self._sub.unregister() 21 | 22 | def _process(self, img_msg): 23 | self._pub.publish(img_msg) 24 | 25 | 26 | if __name__ == '__main__': 27 | rospy.init_node('simple_transport') 28 | app = SimpleLazyTransport() 29 | rospy.spin() 30 | -------------------------------------------------------------------------------- /tools/topic_tools/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | 5 | setup_args = generate_distutils_setup( 6 | packages=['topic_tools'], 7 | package_dir={'': 'python'}) 8 | 9 | 10 | setup(**setup_args) 11 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/DemuxAdd.srv: -------------------------------------------------------------------------------- 1 | string topic 2 | --- 3 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/DemuxDelete.srv: -------------------------------------------------------------------------------- 1 | string topic 2 | --- 3 | 4 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/DemuxList.srv: -------------------------------------------------------------------------------- 1 | --- 2 | string[] topics 3 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/DemuxSelect.srv: -------------------------------------------------------------------------------- 1 | string topic 2 | --- 3 | string prev_topic 4 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/MuxAdd.srv: -------------------------------------------------------------------------------- 1 | string topic 2 | --- 3 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/MuxDelete.srv: -------------------------------------------------------------------------------- 1 | string topic 2 | --- 3 | 4 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/MuxList.srv: -------------------------------------------------------------------------------- 1 | --- 2 | string[] topics 3 | -------------------------------------------------------------------------------- /tools/topic_tools/srv/MuxSelect.srv: -------------------------------------------------------------------------------- 1 | string topic 2 | --- 3 | string prev_topic 4 | -------------------------------------------------------------------------------- /tools/topic_tools/test/delete_mux.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/topic_tools/test/lazy_transport.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | msg_name: std_msgs/String 13 | 14 | 15 | 16 | 20 | 21 | 22 | input_topic_type: std_msgs/String 23 | check_connected_topics: [simple_lazy_string_transport/output, input] 24 | wait_for_connection: 3 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /tools/topic_tools/test/mux.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tools/topic_tools/test/mux_add.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/topic_tools/test/mux_initial_none.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tools/topic_tools/test/mux_initial_other.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tools/topic_tools/test/relay_latched.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/topic_tools/test/relay_stealth.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | lazy: true 8 | 9 | 10 | 12 | 13 | 16 | 17 | stealth: true 18 | monitor_topic: /original_topic/relay 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tools/topic_tools/test/shapeshifter.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tools/topic_tools/test/switch_mux.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tools/topic_tools/test/switch_mux_leading_slash.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tools/topic_tools/test/switch_mux_none.test: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tools/topic_tools/test/throttle_simtime.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tools/topic_tools/test/throttle_simtime_loop.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /tools/topic_tools/topic_tools.dox: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | @mainpage 4 | 5 | @htmlinclude manifest.html 6 | 7 | */ 8 | 9 | -------------------------------------------------------------------------------- /utilities/message_filters/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: sphinx 2 | name: Python API 3 | output_dir: python 4 | - builder: doxygen 5 | name: C++ API 6 | output_dir: c++ 7 | file_patterns: '*.c *.cpp *.h *.cc *.hh *.dox' 8 | -------------------------------------------------------------------------------- /utilities/message_filters/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['message_filters'], 6 | package_dir={'': 'src'}, 7 | requires=['genmsg', 'genpy', 'roslib', 'rospkg'] 8 | ) 9 | 10 | setup(**d) 11 | -------------------------------------------------------------------------------- /utilities/message_filters/test/test_subscriber.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /utilities/message_filters/test/time_sequencer_unittest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /utilities/roslz4/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['roslz4'], 6 | package_dir={'': 'src'}, 7 | requires=[], 8 | ) 9 | 10 | setup(**d) 11 | -------------------------------------------------------------------------------- /utilities/roswtf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0.2) 2 | project(roswtf) 3 | find_package(catkin REQUIRED) 4 | catkin_package() 5 | catkin_python_setup() 6 | 7 | if(CATKIN_ENABLE_TESTING) 8 | find_package(rostest) 9 | add_rostest(test/roswtf.test) 10 | catkin_add_nosetests(test) 11 | endif() 12 | -------------------------------------------------------------------------------- /utilities/roswtf/rosdoc.yaml: -------------------------------------------------------------------------------- 1 | - builder: epydoc 2 | -------------------------------------------------------------------------------- /utilities/roswtf/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | from catkin_pkg.python_setup import generate_distutils_setup 3 | 4 | d = generate_distutils_setup( 5 | packages=['roswtf'], 6 | package_dir={'': 'src'}, 7 | scripts=['scripts/roswtf'], 8 | requires=['genmsg', 'genpy', 'roslib', 'rospkg'] 9 | ) 10 | 11 | setup(**d) 12 | -------------------------------------------------------------------------------- /utilities/roswtf/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/utilities/roswtf/test/__init__.py -------------------------------------------------------------------------------- /utilities/roswtf/test/min.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /utilities/roswtf/test/roswtf.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/README.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/utilities/xmlrpcpp/README.html -------------------------------------------------------------------------------- /utilities/xmlrpcpp/cmake/xmlrpcpp-extras.cmake.develspace.in: -------------------------------------------------------------------------------- 1 | list(APPEND @PROJECT_NAME@_INCLUDE_DIRS "@xmlrpcpp_SOURCE_DIR@/include/xmlrpcpp") 2 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/cmake/xmlrpcpp-extras.cmake.installspace.in: -------------------------------------------------------------------------------- 1 | list(APPEND @PROJECT_NAME@_INCLUDE_DIRS "${@PROJECT_NAME@_DIR}/../../../@CATKIN_GLOBAL_INCLUDE_DESTINATION@/xmlrpcpp") 2 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/include/xmlrpcpp/base64.h: -------------------------------------------------------------------------------- 1 | #error This header was removed due to licensing issues. \ 2 | Please use a dedicated base64 library if you need one for your own project. \ 3 | See https://github.com/ros/ros_comm/pull/1046 for more details. 4 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/libb64/AUTHORS: -------------------------------------------------------------------------------- 1 | libb64: Base64 Encoding/Decoding Routines 2 | ====================================== 3 | 4 | Authors: 5 | ------- 6 | 7 | Chris Venter chris.venter@gmail.com http://controlaltfire.com 8 | 9 | Contributors: 10 | ------------ 11 | 12 | Mario Rugiero 13 | Shlok Datye 14 | Peter K. Lee 15 | 16 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/libb64/Makefile: -------------------------------------------------------------------------------- 1 | all: all_src all_base64 all_examples 2 | 3 | all_src: 4 | $(MAKE) -C src 5 | all_base64: all_src 6 | $(MAKE) -C base64 7 | all_examples: 8 | $(MAKE) -C examples 9 | 10 | clean: clean_src clean_base64 clean_include clean_examples 11 | rm -f *~ *.bak 12 | 13 | clean_include: 14 | rm -f include/b64/*~ 15 | 16 | clean_src: 17 | $(MAKE) -C src clean; 18 | clean_base64: 19 | $(MAKE) -C base64 clean; 20 | clean_examples: 21 | $(MAKE) -C examples clean; 22 | 23 | distclean: clean distclean_src distclean_base64 distclean_examples 24 | 25 | distclean_src: 26 | $(MAKE) -C src distclean; 27 | distclean_base64: 28 | $(MAKE) -C base64 distclean; 29 | distclean_examples: 30 | $(MAKE) -C examples distclean; 31 | 32 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/libb64/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/utilities/xmlrpcpp/libb64/TODO -------------------------------------------------------------------------------- /utilities/xmlrpcpp/libb64/include/b64/cdecode.h: -------------------------------------------------------------------------------- 1 | /* 2 | cdecode.h - c header for a base64 decoding algorithm 3 | 4 | This is part of the libb64 project, and has been placed in the public domain. 5 | For details, see http://sourceforge.net/projects/libb64 6 | */ 7 | 8 | #ifndef BASE64_CDECODE_H 9 | #define BASE64_CDECODE_H 10 | 11 | typedef enum 12 | { 13 | step_a, step_b, step_c, step_d 14 | } base64_decodestep; 15 | 16 | typedef struct 17 | { 18 | base64_decodestep step; 19 | char plainchar; 20 | } base64_decodestate; 21 | 22 | void base64_init_decodestate(base64_decodestate* state_in); 23 | 24 | int base64_decode_value(char value_in); 25 | 26 | int base64_decode_block(const char* code_in, const int length_in, char* plaintext_out, base64_decodestate* state_in); 27 | 28 | #endif /* BASE64_CDECODE_H */ 29 | 30 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/libb64/include/b64/cencode.h: -------------------------------------------------------------------------------- 1 | /* 2 | cencode.h - c header for a base64 encoding algorithm 3 | 4 | This is part of the libb64 project, and has been placed in the public domain. 5 | For details, see http://sourceforge.net/projects/libb64 6 | */ 7 | 8 | #ifndef BASE64_CENCODE_H 9 | #define BASE64_CENCODE_H 10 | 11 | typedef enum 12 | { 13 | step_A, step_B, step_C 14 | } base64_encodestep; 15 | 16 | typedef struct 17 | { 18 | base64_encodestep step; 19 | char result; 20 | int stepcount; 21 | } base64_encodestate; 22 | 23 | void base64_init_encodestate(base64_encodestate* state_in); 24 | 25 | char base64_encode_value(char value_in); 26 | 27 | int base64_encode_block(const char* plaintext_in, int length_in, char* code_out, base64_encodestate* state_in); 28 | 29 | int base64_encode_blockend(char* code_out, base64_encodestate* state_in); 30 | 31 | #endif /* BASE64_CENCODE_H */ 32 | 33 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/libb64/src/Makefile: -------------------------------------------------------------------------------- 1 | LIBRARIES = libb64.a 2 | 3 | # Build flags (uncomment one) 4 | ############################# 5 | # Release build flags 6 | CFLAGS += -O3 7 | ############################# 8 | # Debug build flags 9 | #CFLAGS += -g 10 | ############################# 11 | 12 | SOURCES = cdecode.c cencode.c 13 | 14 | TARGETS = $(LIBRARIES) 15 | 16 | LINK.o = gcc 17 | 18 | CFLAGS += -Werror -pedantic 19 | CFLAGS += -I../include 20 | 21 | vpath %.h ../include/b64 22 | 23 | .PHONY : clean 24 | 25 | all: $(TARGETS) #strip 26 | 27 | libb64.a: cencode.o cdecode.o 28 | $(AR) $(ARFLAGS) $@ $^ 29 | 30 | strip: 31 | strip $(BINARIES) *.exe 32 | 33 | clean: 34 | rm -f *.exe* *.o $(TARGETS) *.bak *~ 35 | 36 | distclean: clean 37 | rm -f depend 38 | 39 | depend: $(SOURCES) 40 | makedepend -f- $(CFLAGS) $(SOURCES) 2> /dev/null 1> depend 41 | 42 | -include depend 43 | 44 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/src/XmlRpcServerMethod.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "xmlrpcpp/XmlRpcServerMethod.h" 3 | #include "xmlrpcpp/XmlRpcServer.h" 4 | 5 | namespace XmlRpc { 6 | 7 | 8 | XmlRpcServerMethod::XmlRpcServerMethod(std::string const& name, XmlRpcServer* server) 9 | { 10 | _name = name; 11 | _server = server; 12 | if (_server) _server->addMethod(this); 13 | } 14 | 15 | XmlRpcServerMethod::~XmlRpcServerMethod() 16 | { 17 | if (_server) _server->removeMethod(this); 18 | } 19 | 20 | 21 | } // namespace XmlRpc 22 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/src/XmlRpcSource.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "xmlrpcpp/XmlRpcSource.h" 3 | #include "xmlrpcpp/XmlRpcSocket.h" 4 | #include "xmlrpcpp/XmlRpcUtil.h" 5 | 6 | namespace XmlRpc { 7 | 8 | 9 | XmlRpcSource::XmlRpcSource(int fd /*= -1*/, bool deleteOnClose /*= false*/) 10 | : _fd(fd), _deleteOnClose(deleteOnClose), _keepOpen(false) 11 | { 12 | } 13 | 14 | XmlRpcSource::~XmlRpcSource() 15 | { 16 | } 17 | 18 | 19 | void 20 | XmlRpcSource::close() 21 | { 22 | if (_fd != -1) { 23 | XmlRpcUtil::log(2,"XmlRpcSource::close: closing socket %d.", _fd); 24 | XmlRpcSocket::close(_fd); 25 | XmlRpcUtil::log(2,"XmlRpcSource::close: done closing socket %d.", _fd); 26 | _fd = -1; 27 | } 28 | if (_deleteOnClose) { 29 | XmlRpcUtil::log(2,"XmlRpcSource::close: deleting this"); 30 | _deleteOnClose = false; 31 | delete this; 32 | } 33 | } 34 | 35 | } // namespace XmlRpc 36 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/.cvsignore: -------------------------------------------------------------------------------- 1 | Debug 2 | Release 3 | doc 4 | *.ncb 5 | *.opt 6 | *.plg 7 | *.suo 8 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/Makefile: -------------------------------------------------------------------------------- 1 | # makefile written for gnu make 2 | CXX = g++ 3 | SRC = ../src 4 | CPPFLAGS = -I$(SRC) 5 | DEBUG = -g 6 | #OPTIMIZE = -O2 7 | GCCWARN = -Wall 8 | CXXFLAGS = $(DEBUG) $(GCCWARN) $(OPTIMIZE) $(INCLUDES) 9 | 10 | LIB = ../libXmlRpc.a 11 | 12 | # Add your system-dependent network libs here 13 | # Solaris: -lsocket -lnsl 14 | SYSTEMLIBS = 15 | 16 | LDLIBS = $(SYSTEMLIBS) $(LIB) 17 | 18 | TESTS = HelloClient HelloServer TestBase64Client TestBase64Server TestValues TestXml Validator port_zero_server bool_test 19 | 20 | all: $(TESTS) 21 | 22 | $(TESTS): $(LIB) 23 | 24 | clean: 25 | rm -f *.o 26 | rm -f $(TESTS) 27 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/bool_test.cpp: -------------------------------------------------------------------------------- 1 | // bool_test.cpp : make sure bool variables copy around ok 2 | #include "xmlrpcpp/XmlRpc.h" 3 | #include 4 | #include 5 | 6 | using namespace XmlRpc; 7 | using namespace std; 8 | 9 | int main(int argc, char* argv[]) 10 | { 11 | XmlRpcValue v(bool(false)); 12 | cout << v.toXml() << endl; 13 | XmlRpcValue v2; 14 | v2[0] = int(1); 15 | v2[1] = string(); 16 | v2[2] = XmlRpcValue(false); 17 | cout << v2.toXml() << endl; 18 | 19 | return 0; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/countTheEntities.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | validator1.countTheEntities 4 | 5 | 6 | &''<&"'>ehv<>iu'<<qo>"z"f 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/easyStructTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | validator1.easyStructTest 4 | 5 | 6 | 7 | 8 | curly 9 | 10 | -78 11 | 12 | 13 | 14 | larry 15 | 16 | 23 17 | 18 | 19 | 20 | moe 21 | 22 | 38 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/echo.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | echo 4 | 5 | Hello Chris 6 | 123 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /utilities/xmlrpcpp/standalone-tests/pngnow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fujitatomoya/ros_comm/a839eef7df98e3a347e53d37cdeeea104eb4de29/utilities/xmlrpcpp/standalone-tests/pngnow.png --------------------------------------------------------------------------------