diff --git a/.gitignore b/.gitignore index ee79864..0450ba8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /build/ /debug/ -/devel/lib7 +/devel/lib/ /logs/ /install/ *.tar.gz diff --git a/devel/lib/controller_stopper/node b/devel/lib/controller_stopper/node deleted file mode 100755 index c52f7dc..0000000 Binary files a/devel/lib/controller_stopper/node and /dev/null differ diff --git a/devel/lib/jog_arm/dragonrise_to_twist b/devel/lib/jog_arm/dragonrise_to_twist deleted file mode 100755 index 51f15d5..0000000 Binary files a/devel/lib/jog_arm/dragonrise_to_twist and /dev/null differ diff --git a/devel/lib/jog_arm/jog_arm_server b/devel/lib/jog_arm/jog_arm_server deleted file mode 100755 index cc3d7fe..0000000 Binary files a/devel/lib/jog_arm/jog_arm_server and /dev/null differ diff --git a/devel/lib/jog_arm/spacenav_to_twist b/devel/lib/jog_arm/spacenav_to_twist deleted file mode 100755 index 477bb40..0000000 Binary files a/devel/lib/jog_arm/spacenav_to_twist and /dev/null differ diff --git a/devel/lib/jog_arm/xbox_to_twist b/devel/lib/jog_arm/xbox_to_twist deleted file mode 100755 index 41a43b9..0000000 Binary files a/devel/lib/jog_arm/xbox_to_twist and /dev/null differ diff --git a/devel/lib/libbio_ik.so b/devel/lib/libbio_ik.so deleted file mode 100755 index 5c3da42..0000000 Binary files a/devel/lib/libbio_ik.so and /dev/null differ diff --git a/devel/lib/libinteractivity_utils.so b/devel/lib/libinteractivity_utils.so deleted file mode 100755 index f1159ce..0000000 Binary files a/devel/lib/libinteractivity_utils.so and /dev/null differ diff --git a/devel/lib/libur10_kin.so b/devel/lib/libur10_kin.so deleted file mode 100755 index 4b7c281..0000000 Binary files a/devel/lib/libur10_kin.so and /dev/null differ diff --git a/devel/lib/libur10_moveit_plugin.so b/devel/lib/libur10_moveit_plugin.so deleted file mode 100755 index 6a61dcc..0000000 Binary files a/devel/lib/libur10_moveit_plugin.so and /dev/null differ diff --git a/devel/lib/libur3_kin.so b/devel/lib/libur3_kin.so deleted file mode 100755 index 159645e..0000000 Binary files a/devel/lib/libur3_kin.so and /dev/null differ diff --git a/devel/lib/libur3_moveit_plugin.so b/devel/lib/libur3_moveit_plugin.so deleted file mode 100755 index 2e35afb..0000000 Binary files a/devel/lib/libur3_moveit_plugin.so and /dev/null differ diff --git a/devel/lib/libur5_kin.so b/devel/lib/libur5_kin.so deleted file mode 100755 index 189e61c..0000000 Binary files a/devel/lib/libur5_kin.so and /dev/null differ diff --git a/devel/lib/libur5_moveit_plugin.so b/devel/lib/libur5_moveit_plugin.so deleted file mode 100755 index c486065..0000000 Binary files a/devel/lib/libur5_moveit_plugin.so and /dev/null differ diff --git a/devel/lib/libur_controllers.so b/devel/lib/libur_controllers.so deleted file mode 100755 index da39b1a..0000000 Binary files a/devel/lib/libur_controllers.so and /dev/null differ diff --git a/devel/lib/libur_hardware_interface.so b/devel/lib/libur_hardware_interface.so deleted file mode 100755 index 291f6c2..0000000 Binary files a/devel/lib/libur_hardware_interface.so and /dev/null differ diff --git a/devel/lib/libur_robot_driver.so b/devel/lib/libur_robot_driver.so deleted file mode 100755 index c5d3f77..0000000 Binary files a/devel/lib/libur_robot_driver.so and /dev/null differ diff --git a/devel/lib/libur_rtde_driver.so b/devel/lib/libur_rtde_driver.so deleted file mode 100755 index 0daebe0..0000000 Binary files a/devel/lib/libur_rtde_driver.so and /dev/null differ diff --git a/devel/lib/moveit_tutorials/bag_publisher_maintain_time b/devel/lib/moveit_tutorials/bag_publisher_maintain_time deleted file mode 100755 index af40957..0000000 Binary files a/devel/lib/moveit_tutorials/bag_publisher_maintain_time and /dev/null differ diff --git a/devel/lib/moveit_tutorials/cylinder_segment b/devel/lib/moveit_tutorials/cylinder_segment deleted file mode 100755 index 8fc6733..0000000 Binary files a/devel/lib/moveit_tutorials/cylinder_segment and /dev/null differ diff --git a/devel/lib/moveit_tutorials/motion_planning_api_tutorial b/devel/lib/moveit_tutorials/motion_planning_api_tutorial deleted file mode 100755 index 34468ec..0000000 Binary files a/devel/lib/moveit_tutorials/motion_planning_api_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/motion_planning_pipeline_tutorial b/devel/lib/moveit_tutorials/motion_planning_pipeline_tutorial deleted file mode 100755 index 4cb96cf..0000000 Binary files a/devel/lib/moveit_tutorials/motion_planning_pipeline_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/move_group_interface_tutorial b/devel/lib/moveit_tutorials/move_group_interface_tutorial deleted file mode 100755 index 2367d29..0000000 Binary files a/devel/lib/moveit_tutorials/move_group_interface_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/pick_place_tutorial b/devel/lib/moveit_tutorials/pick_place_tutorial deleted file mode 100755 index 52ed4ff..0000000 Binary files a/devel/lib/moveit_tutorials/pick_place_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/planning_scene_ros_api_tutorial b/devel/lib/moveit_tutorials/planning_scene_ros_api_tutorial deleted file mode 100755 index 62b0360..0000000 Binary files a/devel/lib/moveit_tutorials/planning_scene_ros_api_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/planning_scene_tutorial b/devel/lib/moveit_tutorials/planning_scene_tutorial deleted file mode 100755 index acb83cd..0000000 Binary files a/devel/lib/moveit_tutorials/planning_scene_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/robot_model_and_robot_state_tutorial b/devel/lib/moveit_tutorials/robot_model_and_robot_state_tutorial deleted file mode 100755 index 15f3428..0000000 Binary files a/devel/lib/moveit_tutorials/robot_model_and_robot_state_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/ros_api_tutorial b/devel/lib/moveit_tutorials/ros_api_tutorial deleted file mode 100755 index e465c26..0000000 Binary files a/devel/lib/moveit_tutorials/ros_api_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/state_display_tutorial b/devel/lib/moveit_tutorials/state_display_tutorial deleted file mode 100755 index 7f287c3..0000000 Binary files a/devel/lib/moveit_tutorials/state_display_tutorial and /dev/null differ diff --git a/devel/lib/moveit_tutorials/visualizing_collisions_tutorial b/devel/lib/moveit_tutorials/visualizing_collisions_tutorial deleted file mode 100755 index d7f52da..0000000 Binary files a/devel/lib/moveit_tutorials/visualizing_collisions_tutorial and /dev/null differ diff --git a/devel/lib/pkgconfig/bio_ik.pc b/devel/lib/pkgconfig/bio_ik.pc deleted file mode 100644 index db68f2b..0000000 --- a/devel/lib/pkgconfig/bio_ik.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: bio_ik -Description: Description of bio_ik -Version: 1.0.0 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/bio_ik-kinetic-support/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lbio_ik -Requires: moveit_core moveit_ros_planning pluginlib roscpp tf tf_conversions diff --git a/devel/lib/pkgconfig/controller_stopper.pc b/devel/lib/pkgconfig/controller_stopper.pc deleted file mode 100644 index 7a8e640..0000000 --- a/devel/lib/pkgconfig/controller_stopper.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: controller_stopper -Description: Description of controller_stopper -Version: 0.0.1 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: controller_manager_msgs roscpp std_msgs diff --git a/devel/lib/pkgconfig/jog_arm.pc b/devel/lib/pkgconfig/jog_arm.pc deleted file mode 100644 index c780c0d..0000000 --- a/devel/lib/pkgconfig/jog_arm.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: jog_arm -Description: Description of jog_arm -Version: 0.0.3 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/jog_arm/jog_arm/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: roscpp moveit_ros_manipulation moveit_ros_move_group moveit_ros_planning_interface tf diff --git a/devel/lib/pkgconfig/jog_msgs.pc b/devel/lib/pkgconfig/jog_msgs.pc deleted file mode 100644 index e6df612..0000000 --- a/devel/lib/pkgconfig/jog_msgs.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: jog_msgs -Description: Description of jog_msgs -Version: 0.0.0 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: message_runtime std_msgs geometry_msgs diff --git a/devel/lib/pkgconfig/moveit_tutorials.pc b/devel/lib/pkgconfig/moveit_tutorials.pc deleted file mode 100644 index 0cc5f53..0000000 --- a/devel/lib/pkgconfig/moveit_tutorials.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: moveit_tutorials -Description: Description of moveit_tutorials -Version: 0.1.0 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/moveit_tutorials/doc/interactivity/include -I/usr/include/eigen3 -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -linteractivity_utils -Requires: moveit_core moveit_visual_tools moveit_ros_planning_interface interactive_markers diff --git a/devel/lib/pkgconfig/panda_moveit_config.pc b/devel/lib/pkgconfig/panda_moveit_config.pc deleted file mode 100644 index 7974e80..0000000 --- a/devel/lib/pkgconfig/panda_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: panda_moveit_config -Description: Description of panda_moveit_config -Version: 0.7.0 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/roboglue_ros.pc b/devel/lib/pkgconfig/roboglue_ros.pc deleted file mode 100644 index b373cec..0000000 --- a/devel/lib/pkgconfig/roboglue_ros.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: roboglue_ros -Description: Description of roboglue_ros -Version: 0.0.2 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/roboglue_ros/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lroboglue_ros -Requires: roscpp diff --git a/devel/lib/pkgconfig/ur10_e_moveit_config.pc b/devel/lib/pkgconfig/ur10_e_moveit_config.pc deleted file mode 100644 index 8b4fd65..0000000 --- a/devel/lib/pkgconfig/ur10_e_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur10_e_moveit_config -Description: Description of ur10_e_moveit_config -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur10_moveit_config.pc b/devel/lib/pkgconfig/ur10_moveit_config.pc deleted file mode 100644 index 06da033..0000000 --- a/devel/lib/pkgconfig/ur10_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur10_moveit_config -Description: Description of ur10_moveit_config -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur3_e_moveit_config.pc b/devel/lib/pkgconfig/ur3_e_moveit_config.pc deleted file mode 100644 index f1aa1bc..0000000 --- a/devel/lib/pkgconfig/ur3_e_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur3_e_moveit_config -Description: Description of ur3_e_moveit_config -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur3_moveit_config.pc b/devel/lib/pkgconfig/ur3_moveit_config.pc deleted file mode 100644 index 183145d..0000000 --- a/devel/lib/pkgconfig/ur3_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur3_moveit_config -Description: Description of ur3_moveit_config -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur5_e_moveit_config.pc b/devel/lib/pkgconfig/ur5_e_moveit_config.pc deleted file mode 100644 index 5934c1b..0000000 --- a/devel/lib/pkgconfig/ur5_e_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur5_e_moveit_config -Description: Description of ur5_e_moveit_config -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur5_moveit_config.pc b/devel/lib/pkgconfig/ur5_moveit_config.pc deleted file mode 100644 index 8b74110..0000000 --- a/devel/lib/pkgconfig/ur5_moveit_config.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur5_moveit_config -Description: Description of ur5_moveit_config -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur_bringup.pc b/devel/lib/pkgconfig/ur_bringup.pc deleted file mode 100644 index 3beae2f..0000000 --- a/devel/lib/pkgconfig/ur_bringup.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_bringup -Description: Description of ur_bringup -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur_calibration.pc b/devel/lib/pkgconfig/ur_calibration.pc deleted file mode 100644 index d835dcd..0000000 --- a/devel/lib/pkgconfig/ur_calibration.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_calibration -Description: Description of ur_calibration -Version: 0.0.2 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: roscpp ur_robot_driver diff --git a/devel/lib/pkgconfig/ur_controllers.pc b/devel/lib/pkgconfig/ur_controllers.pc deleted file mode 100644 index 35ac02c..0000000 --- a/devel/lib/pkgconfig/ur_controllers.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_controllers -Description: Description of ur_controllers -Version: 0.0.2 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robots_ros_driver/ur_controllers/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lur_controllers -Requires: controller_interface hardware_interface joint_trajectory_controller pluginlib realtime_tools std_msgs diff --git a/devel/lib/pkgconfig/ur_description.pc b/devel/lib/pkgconfig/ur_description.pc deleted file mode 100644 index f5231b1..0000000 --- a/devel/lib/pkgconfig/ur_description.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_description -Description: Description of ur_description -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur_driver.pc b/devel/lib/pkgconfig/ur_driver.pc deleted file mode 100644 index a78f220..0000000 --- a/devel/lib/pkgconfig/ur_driver.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_driver -Description: Description of ur_driver -Version: 1.2.5 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: dynamic_reconfigure diff --git a/devel/lib/pkgconfig/ur_e_description.pc b/devel/lib/pkgconfig/ur_e_description.pc deleted file mode 100644 index 2cf7c2e..0000000 --- a/devel/lib/pkgconfig/ur_e_description.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_e_description -Description: Description of ur_e_description -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur_e_gazebo.pc b/devel/lib/pkgconfig/ur_e_gazebo.pc deleted file mode 100644 index 4a3e3c4..0000000 --- a/devel/lib/pkgconfig/ur_e_gazebo.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_e_gazebo -Description: Description of ur_e_gazebo -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur_gazebo.pc b/devel/lib/pkgconfig/ur_gazebo.pc deleted file mode 100644 index a853f78..0000000 --- a/devel/lib/pkgconfig/ur_gazebo.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_gazebo -Description: Description of ur_gazebo -Version: 1.2.5 -Cflags: -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: diff --git a/devel/lib/pkgconfig/ur_kinematics.pc b/devel/lib/pkgconfig/ur_kinematics.pc deleted file mode 100644 index 5fac02d..0000000 --- a/devel/lib/pkgconfig/ur_kinematics.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_kinematics -Description: Description of ur_kinematics -Version: 1.2.5 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_kinematics/include -I/usr/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lur3_kin -lur5_kin -lur10_kin -lur3_moveit_plugin -lur5_moveit_plugin -lur10_moveit_plugin /usr/lib/x86_64-linux-gnu/libboost_system.so -Requires: roscpp geometry_msgs moveit_core moveit_kinematics moveit_ros_planning pluginlib tf_conversions diff --git a/devel/lib/pkgconfig/ur_modern_driver.pc b/devel/lib/pkgconfig/ur_modern_driver.pc deleted file mode 100644 index 734d895..0000000 --- a/devel/lib/pkgconfig/ur_modern_driver.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_modern_driver -Description: Description of ur_modern_driver -Version: 0.1.0 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/ur_modern_driver/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lur_hardware_interface -Requires: actionlib control_msgs controller_manager geometry_msgs hardware_interface industrial_msgs roscpp sensor_msgs trajectory_msgs ur_msgs diff --git a/devel/lib/pkgconfig/ur_msgs.pc b/devel/lib/pkgconfig/ur_msgs.pc deleted file mode 100644 index bc1085d..0000000 --- a/devel/lib/pkgconfig/ur_msgs.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_msgs -Description: Description of ur_msgs -Version: 1.2.5 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: message_runtime std_msgs diff --git a/devel/lib/pkgconfig/ur_robot_driver.pc b/devel/lib/pkgconfig/ur_robot_driver.pc deleted file mode 100644 index 2890af1..0000000 --- a/devel/lib/pkgconfig/ur_robot_driver.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_robot_driver -Description: Description of ur_robot_driver -Version: 0.0.3 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robots_ros_driver/ur_robot_driver/include -I/usr/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lur_robot_driver -Requires: actionlib control_msgs controller_manager geometry_msgs hardware_interface industrial_msgs roscpp sensor_msgs tf tf2_geometry_msgs tf2_msgs trajectory_msgs ur_controllers ur_msgs std_srvs diff --git a/devel/lib/pkgconfig/ur_rtde_driver.pc b/devel/lib/pkgconfig/ur_rtde_driver.pc deleted file mode 100644 index edb35b8..0000000 --- a/devel/lib/pkgconfig/ur_rtde_driver.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_rtde_driver -Description: Description of ur_rtde_driver -Version: 0.0.2 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robots_ros_driver/ur_rtde_driver/include -I/usr/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -lur_rtde_driver -Requires: actionlib control_msgs controller_manager geometry_msgs hardware_interface industrial_msgs roscpp sensor_msgs tf tf2_geometry_msgs tf2_msgs trajectory_msgs ur_controllers std_srvs diff --git a/devel/lib/pkgconfig/ur_rtde_msgs.pc b/devel/lib/pkgconfig/ur_rtde_msgs.pc deleted file mode 100644 index bb875d2..0000000 --- a/devel/lib/pkgconfig/ur_rtde_msgs.pc +++ /dev/null @@ -1,8 +0,0 @@ -prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel - -Name: ur_rtde_msgs -Description: Description of ur_rtde_msgs -Version: 0.0.1 -Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/include -Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib -Requires: message_runtime diff --git a/devel/lib/python2.7/dist-packages/jog_msgs/__init__.py b/devel/lib/python2.7/dist-packages/jog_msgs/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/devel/lib/python2.7/dist-packages/jog_msgs/__init__.pyc b/devel/lib/python2.7/dist-packages/jog_msgs/__init__.pyc deleted file mode 100644 index 203ced8..0000000 Binary files a/devel/lib/python2.7/dist-packages/jog_msgs/__init__.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/jog_msgs/msg/_JogFrame.py b/devel/lib/python2.7/dist-packages/jog_msgs/msg/_JogFrame.py deleted file mode 100644 index 0152e88..0000000 --- a/devel/lib/python2.7/dist-packages/jog_msgs/msg/_JogFrame.py +++ /dev/null @@ -1,304 +0,0 @@ -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from jog_msgs/JogFrame.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - -import geometry_msgs.msg -import std_msgs.msg - -class JogFrame(genpy.Message): - _md5sum = "e342f29bf6beaf00261bdae365abfff9" - _type = "jog_msgs/JogFrame" - _has_header = True #flag to mark the presence of a Header object - _full_text = """# This is a message to hold data to jog by specifying a target -# frame. It uses MoveIt! kinematics, so you need to specify the -# JointGroup name to use in group_name. (lienar|angular)_delta is the -# amount of displacement. - -# header message. You must set frame_id to define the reference -# coordinate system of the displacament -Header header - -# Name of JointGroup of MoveIt! -string group_name - -# Target link name to jog. The link must be in the JoingGroup -string link_name - -# Linear displacement vector to jog. The refrence frame is defined by -# frame_id in header. Unit is in meter. -geometry_msgs/Vector3 linear_delta - -# Angular displacement vector to jog. The refrence frame is defined by -# frame_id in header. Unit is in radian. -geometry_msgs/Vector3 angular_delta - -# It uses avoid_collisions option of MoveIt! kinematics. If it is -# true, the robot doesn't move if any collisions occured. -bool avoid_collisions - -================================================================================ -MSG: std_msgs/Header -# Standard metadata for higher-level stamped data types. -# This is generally used to communicate timestamped data -# in a particular coordinate frame. -# -# sequence ID: consecutively increasing ID -uint32 seq -#Two-integer timestamp that is expressed as: -# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs') -# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs') -# time-handling sugar is provided by the client library -time stamp -#Frame this data is associated with -# 0: no frame -# 1: global frame -string frame_id - -================================================================================ -MSG: geometry_msgs/Vector3 -# This represents a vector in free space. -# It is only meant to represent a direction. Therefore, it does not -# make sense to apply a translation to it (e.g., when applying a -# generic rigid transformation to a Vector3, tf2 will only apply the -# rotation). If you want your data to be translatable too, use the -# geometry_msgs/Point message instead. - -float64 x -float64 y -float64 z""" - __slots__ = ['header','group_name','link_name','linear_delta','angular_delta','avoid_collisions'] - _slot_types = ['std_msgs/Header','string','string','geometry_msgs/Vector3','geometry_msgs/Vector3','bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - header,group_name,link_name,linear_delta,angular_delta,avoid_collisions - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(JogFrame, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.header is None: - self.header = std_msgs.msg.Header() - if self.group_name is None: - self.group_name = '' - if self.link_name is None: - self.link_name = '' - if self.linear_delta is None: - self.linear_delta = geometry_msgs.msg.Vector3() - if self.angular_delta is None: - self.angular_delta = geometry_msgs.msg.Vector3() - if self.avoid_collisions is None: - self.avoid_collisions = False - else: - self.header = std_msgs.msg.Header() - self.group_name = '' - self.link_name = '' - self.linear_delta = geometry_msgs.msg.Vector3() - self.angular_delta = geometry_msgs.msg.Vector3() - self.avoid_collisions = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_3I().pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs)) - _x = self.header.frame_id - length = len(_x) - if python3 or type(_x) == unicode: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack(' 0x03000000 else False -import genpy -import struct - -import std_msgs.msg - -class JogJoint(genpy.Message): - _md5sum = "8d2aa14be64b51cf6374d198bfd489b2" - _type = "jog_msgs/JogJoint" - _has_header = True #flag to mark the presence of a Header object - _full_text = """# This is a message to hold data to jog by specifying joint -# displacement. You only need to set relative displacement to joint -# angles (or displacements for linear joints). - -# header message. You must set frame_id to define the reference -# coordinate system of the displacament -Header header - -# Name list of the joints. You don't need to specify all joint of the -# robot. Joint names are case-sensitive. -string[] joint_names - -# Relative displacement of the joints to jog. The order must be -# identical to joint_names. Unit is in radian for revolutive joints, -# meter for linear joints. -float64[] deltas - -================================================================================ -MSG: std_msgs/Header -# Standard metadata for higher-level stamped data types. -# This is generally used to communicate timestamped data -# in a particular coordinate frame. -# -# sequence ID: consecutively increasing ID -uint32 seq -#Two-integer timestamp that is expressed as: -# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs') -# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs') -# time-handling sugar is provided by the client library -time stamp -#Frame this data is associated with -# 0: no frame -# 1: global frame -string frame_id -""" - __slots__ = ['header','joint_names','deltas'] - _slot_types = ['std_msgs/Header','string[]','float64[]'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - header,joint_names,deltas - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(JogJoint, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.header is None: - self.header = std_msgs.msg.Header() - if self.joint_names is None: - self.joint_names = [] - if self.deltas is None: - self.deltas = [] - else: - self.header = std_msgs.msg.Header() - self.joint_names = [] - self.deltas = [] - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_3I().pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs)) - _x = self.header.frame_id - length = len(_x) - if python3 or type(_x) == unicode: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack(' 0x03000000 else False -import genpy -import struct - - -class Analog(genpy.Message): - _md5sum = "f41c08a810adf63713aec88712cd553d" - _type = "ur_msgs/Analog" - _has_header = False #flag to mark the presence of a Header object - _full_text = """uint8 VOLTAGE=0 -uint8 CURRENT=1 - -uint8 pin -uint8 domain # can be VOLTAGE or CURRENT -float32 state -""" - # Pseudo-constants - VOLTAGE = 0 - CURRENT = 1 - - __slots__ = ['pin','domain','state'] - _slot_types = ['uint8','uint8','float32'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - pin,domain,state - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(Analog, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.pin is None: - self.pin = 0 - if self.domain is None: - self.domain = 0 - if self.state is None: - self.state = 0. - else: - self.pin = 0 - self.domain = 0 - self.state = 0. - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_2Bf().pack(_x.pin, _x.domain, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - _x = self - start = end - end += 6 - (_x.pin, _x.domain, _x.state,) = _get_struct_2Bf().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - _x = self - buff.write(_get_struct_2Bf().pack(_x.pin, _x.domain, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - _x = self - start = end - end += 6 - (_x.pin, _x.domain, _x.state,) = _get_struct_2Bf().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_2Bf = None -def _get_struct_2Bf(): - global _struct_2Bf - if _struct_2Bf is None: - _struct_2Bf = struct.Struct("<2Bf") - return _struct_2Bf diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Analog.pyc b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Analog.pyc deleted file mode 100644 index 372874b..0000000 Binary files a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Analog.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Digital.py b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Digital.py deleted file mode 100644 index c97f837..0000000 --- a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Digital.py +++ /dev/null @@ -1,116 +0,0 @@ -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from ur_msgs/Digital.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - - -class Digital(genpy.Message): - _md5sum = "83707be3fa18d2ffe57381ea034aa262" - _type = "ur_msgs/Digital" - _has_header = False #flag to mark the presence of a Header object - _full_text = """uint8 pin -bool state -""" - __slots__ = ['pin','state'] - _slot_types = ['uint8','bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - pin,state - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(Digital, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.pin is None: - self.pin = 0 - if self.state is None: - self.state = False - else: - self.pin = 0 - self.state = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - _x = self - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - self.state = bool(self.state) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - _x = self - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - _x = self - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - self.state = bool(self.state) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_2B = None -def _get_struct_2B(): - global _struct_2B - if _struct_2B is None: - _struct_2B = struct.Struct("<2B") - return _struct_2B diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Digital.pyc b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Digital.pyc deleted file mode 100644 index c8fe1bc..0000000 Binary files a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_Digital.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_IOStates.py b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_IOStates.py deleted file mode 100644 index cccd260..0000000 --- a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_IOStates.py +++ /dev/null @@ -1,321 +0,0 @@ -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from ur_msgs/IOStates.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - -import ur_msgs.msg - -class IOStates(genpy.Message): - _md5sum = "3033784e7041da89491b97cc4c1105b5" - _type = "ur_msgs/IOStates" - _has_header = False #flag to mark the presence of a Header object - _full_text = """Digital[] digital_in_states -Digital[] digital_out_states -Digital[] flag_states -Analog[] analog_in_states -Analog[] analog_out_states - -================================================================================ -MSG: ur_msgs/Digital -uint8 pin -bool state - -================================================================================ -MSG: ur_msgs/Analog -uint8 VOLTAGE=0 -uint8 CURRENT=1 - -uint8 pin -uint8 domain # can be VOLTAGE or CURRENT -float32 state -""" - __slots__ = ['digital_in_states','digital_out_states','flag_states','analog_in_states','analog_out_states'] - _slot_types = ['ur_msgs/Digital[]','ur_msgs/Digital[]','ur_msgs/Digital[]','ur_msgs/Analog[]','ur_msgs/Analog[]'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - digital_in_states,digital_out_states,flag_states,analog_in_states,analog_out_states - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(IOStates, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.digital_in_states is None: - self.digital_in_states = [] - if self.digital_out_states is None: - self.digital_out_states = [] - if self.flag_states is None: - self.flag_states = [] - if self.analog_in_states is None: - self.analog_in_states = [] - if self.analog_out_states is None: - self.analog_out_states = [] - else: - self.digital_in_states = [] - self.digital_out_states = [] - self.flag_states = [] - self.analog_in_states = [] - self.analog_out_states = [] - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - length = len(self.digital_in_states) - buff.write(_struct_I.pack(length)) - for val1 in self.digital_in_states: - _x = val1 - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - length = len(self.digital_out_states) - buff.write(_struct_I.pack(length)) - for val1 in self.digital_out_states: - _x = val1 - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - length = len(self.flag_states) - buff.write(_struct_I.pack(length)) - for val1 in self.flag_states: - _x = val1 - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - length = len(self.analog_in_states) - buff.write(_struct_I.pack(length)) - for val1 in self.analog_in_states: - _x = val1 - buff.write(_get_struct_2Bf().pack(_x.pin, _x.domain, _x.state)) - length = len(self.analog_out_states) - buff.write(_struct_I.pack(length)) - for val1 in self.analog_out_states: - _x = val1 - buff.write(_get_struct_2Bf().pack(_x.pin, _x.domain, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - if self.digital_in_states is None: - self.digital_in_states = None - if self.digital_out_states is None: - self.digital_out_states = None - if self.flag_states is None: - self.flag_states = None - if self.analog_in_states is None: - self.analog_in_states = None - if self.analog_out_states is None: - self.analog_out_states = None - end = 0 - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.digital_in_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Digital() - _x = val1 - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - val1.state = bool(val1.state) - self.digital_in_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.digital_out_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Digital() - _x = val1 - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - val1.state = bool(val1.state) - self.digital_out_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.flag_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Digital() - _x = val1 - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - val1.state = bool(val1.state) - self.flag_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.analog_in_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Analog() - _x = val1 - start = end - end += 6 - (_x.pin, _x.domain, _x.state,) = _get_struct_2Bf().unpack(str[start:end]) - self.analog_in_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.analog_out_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Analog() - _x = val1 - start = end - end += 6 - (_x.pin, _x.domain, _x.state,) = _get_struct_2Bf().unpack(str[start:end]) - self.analog_out_states.append(val1) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - length = len(self.digital_in_states) - buff.write(_struct_I.pack(length)) - for val1 in self.digital_in_states: - _x = val1 - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - length = len(self.digital_out_states) - buff.write(_struct_I.pack(length)) - for val1 in self.digital_out_states: - _x = val1 - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - length = len(self.flag_states) - buff.write(_struct_I.pack(length)) - for val1 in self.flag_states: - _x = val1 - buff.write(_get_struct_2B().pack(_x.pin, _x.state)) - length = len(self.analog_in_states) - buff.write(_struct_I.pack(length)) - for val1 in self.analog_in_states: - _x = val1 - buff.write(_get_struct_2Bf().pack(_x.pin, _x.domain, _x.state)) - length = len(self.analog_out_states) - buff.write(_struct_I.pack(length)) - for val1 in self.analog_out_states: - _x = val1 - buff.write(_get_struct_2Bf().pack(_x.pin, _x.domain, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - if self.digital_in_states is None: - self.digital_in_states = None - if self.digital_out_states is None: - self.digital_out_states = None - if self.flag_states is None: - self.flag_states = None - if self.analog_in_states is None: - self.analog_in_states = None - if self.analog_out_states is None: - self.analog_out_states = None - end = 0 - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.digital_in_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Digital() - _x = val1 - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - val1.state = bool(val1.state) - self.digital_in_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.digital_out_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Digital() - _x = val1 - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - val1.state = bool(val1.state) - self.digital_out_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.flag_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Digital() - _x = val1 - start = end - end += 2 - (_x.pin, _x.state,) = _get_struct_2B().unpack(str[start:end]) - val1.state = bool(val1.state) - self.flag_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.analog_in_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Analog() - _x = val1 - start = end - end += 6 - (_x.pin, _x.domain, _x.state,) = _get_struct_2Bf().unpack(str[start:end]) - self.analog_in_states.append(val1) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - self.analog_out_states = [] - for i in range(0, length): - val1 = ur_msgs.msg.Analog() - _x = val1 - start = end - end += 6 - (_x.pin, _x.domain, _x.state,) = _get_struct_2Bf().unpack(str[start:end]) - self.analog_out_states.append(val1) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_2Bf = None -def _get_struct_2Bf(): - global _struct_2Bf - if _struct_2Bf is None: - _struct_2Bf = struct.Struct("<2Bf") - return _struct_2Bf -_struct_2B = None -def _get_struct_2B(): - global _struct_2B - if _struct_2B is None: - _struct_2B = struct.Struct("<2B") - return _struct_2B diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_IOStates.pyc b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_IOStates.pyc deleted file mode 100644 index 4eaaf8c..0000000 Binary files a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_IOStates.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_MasterboardDataMsg.py b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_MasterboardDataMsg.py deleted file mode 100644 index ba8bfae..0000000 --- a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_MasterboardDataMsg.py +++ /dev/null @@ -1,181 +0,0 @@ -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from ur_msgs/MasterboardDataMsg.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - - -class MasterboardDataMsg(genpy.Message): - _md5sum = "807af5dc427082b111fa23d1fd2cd585" - _type = "ur_msgs/MasterboardDataMsg" - _has_header = False #flag to mark the presence of a Header object - _full_text = """# This data structure contains the MasterboardData structure -# used by the Universal Robots controller -# -# MasterboardData is part of the data structure being send on the -# secondary client communications interface -# -# This data structure is send at 10 Hz on TCP port 30002 -# -# Documentation can be found on the Universal Robots Support site, article -# number 16496. - -uint32 digital_input_bits -uint32 digital_output_bits -int8 analog_input_range0 -int8 analog_input_range1 -float64 analog_input0 -float64 analog_input1 -int8 analog_output_domain0 -int8 analog_output_domain1 -float64 analog_output0 -float64 analog_output1 -float32 masterboard_temperature -float32 robot_voltage_48V -float32 robot_current -float32 master_io_current -uint8 master_safety_state -uint8 master_onoff_state -""" - __slots__ = ['digital_input_bits','digital_output_bits','analog_input_range0','analog_input_range1','analog_input0','analog_input1','analog_output_domain0','analog_output_domain1','analog_output0','analog_output1','masterboard_temperature','robot_voltage_48V','robot_current','master_io_current','master_safety_state','master_onoff_state'] - _slot_types = ['uint32','uint32','int8','int8','float64','float64','int8','int8','float64','float64','float32','float32','float32','float32','uint8','uint8'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - digital_input_bits,digital_output_bits,analog_input_range0,analog_input_range1,analog_input0,analog_input1,analog_output_domain0,analog_output_domain1,analog_output0,analog_output1,masterboard_temperature,robot_voltage_48V,robot_current,master_io_current,master_safety_state,master_onoff_state - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(MasterboardDataMsg, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.digital_input_bits is None: - self.digital_input_bits = 0 - if self.digital_output_bits is None: - self.digital_output_bits = 0 - if self.analog_input_range0 is None: - self.analog_input_range0 = 0 - if self.analog_input_range1 is None: - self.analog_input_range1 = 0 - if self.analog_input0 is None: - self.analog_input0 = 0. - if self.analog_input1 is None: - self.analog_input1 = 0. - if self.analog_output_domain0 is None: - self.analog_output_domain0 = 0 - if self.analog_output_domain1 is None: - self.analog_output_domain1 = 0 - if self.analog_output0 is None: - self.analog_output0 = 0. - if self.analog_output1 is None: - self.analog_output1 = 0. - if self.masterboard_temperature is None: - self.masterboard_temperature = 0. - if self.robot_voltage_48V is None: - self.robot_voltage_48V = 0. - if self.robot_current is None: - self.robot_current = 0. - if self.master_io_current is None: - self.master_io_current = 0. - if self.master_safety_state is None: - self.master_safety_state = 0 - if self.master_onoff_state is None: - self.master_onoff_state = 0 - else: - self.digital_input_bits = 0 - self.digital_output_bits = 0 - self.analog_input_range0 = 0 - self.analog_input_range1 = 0 - self.analog_input0 = 0. - self.analog_input1 = 0. - self.analog_output_domain0 = 0 - self.analog_output_domain1 = 0 - self.analog_output0 = 0. - self.analog_output1 = 0. - self.masterboard_temperature = 0. - self.robot_voltage_48V = 0. - self.robot_current = 0. - self.master_io_current = 0. - self.master_safety_state = 0 - self.master_onoff_state = 0 - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_2I2b2d2b2d4f2B().pack(_x.digital_input_bits, _x.digital_output_bits, _x.analog_input_range0, _x.analog_input_range1, _x.analog_input0, _x.analog_input1, _x.analog_output_domain0, _x.analog_output_domain1, _x.analog_output0, _x.analog_output1, _x.masterboard_temperature, _x.robot_voltage_48V, _x.robot_current, _x.master_io_current, _x.master_safety_state, _x.master_onoff_state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - _x = self - start = end - end += 62 - (_x.digital_input_bits, _x.digital_output_bits, _x.analog_input_range0, _x.analog_input_range1, _x.analog_input0, _x.analog_input1, _x.analog_output_domain0, _x.analog_output_domain1, _x.analog_output0, _x.analog_output1, _x.masterboard_temperature, _x.robot_voltage_48V, _x.robot_current, _x.master_io_current, _x.master_safety_state, _x.master_onoff_state,) = _get_struct_2I2b2d2b2d4f2B().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - _x = self - buff.write(_get_struct_2I2b2d2b2d4f2B().pack(_x.digital_input_bits, _x.digital_output_bits, _x.analog_input_range0, _x.analog_input_range1, _x.analog_input0, _x.analog_input1, _x.analog_output_domain0, _x.analog_output_domain1, _x.analog_output0, _x.analog_output1, _x.masterboard_temperature, _x.robot_voltage_48V, _x.robot_current, _x.master_io_current, _x.master_safety_state, _x.master_onoff_state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - _x = self - start = end - end += 62 - (_x.digital_input_bits, _x.digital_output_bits, _x.analog_input_range0, _x.analog_input_range1, _x.analog_input0, _x.analog_input1, _x.analog_output_domain0, _x.analog_output_domain1, _x.analog_output0, _x.analog_output1, _x.masterboard_temperature, _x.robot_voltage_48V, _x.robot_current, _x.master_io_current, _x.master_safety_state, _x.master_onoff_state,) = _get_struct_2I2b2d2b2d4f2B().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_2I2b2d2b2d4f2B = None -def _get_struct_2I2b2d2b2d4f2B(): - global _struct_2I2b2d2b2d4f2B - if _struct_2I2b2d2b2d4f2B is None: - _struct_2I2b2d2b2d4f2B = struct.Struct("<2I2b2d2b2d4f2B") - return _struct_2I2b2d2b2d4f2B diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_MasterboardDataMsg.pyc b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_MasterboardDataMsg.pyc deleted file mode 100644 index b077cd3..0000000 Binary files a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_MasterboardDataMsg.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_RobotModeDataMsg.py b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_RobotModeDataMsg.py deleted file mode 100644 index 2df2eb4..0000000 --- a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_RobotModeDataMsg.py +++ /dev/null @@ -1,159 +0,0 @@ -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from ur_msgs/RobotModeDataMsg.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - - -class RobotModeDataMsg(genpy.Message): - _md5sum = "867308ca39e2cc0644b50db27deb661f" - _type = "ur_msgs/RobotModeDataMsg" - _has_header = False #flag to mark the presence of a Header object - _full_text = """# This data structure contains the RobotModeData structure -# used by the Universal Robots controller -# -# This data structure is send at 10 Hz on TCP port 30002 -# -# Note: this message does not carry all fields from the RobotModeData structure as broadcast by the robot controller, but a subset. - -uint64 timestamp -bool is_robot_connected -bool is_real_robot_enabled -bool is_power_on_robot -bool is_emergency_stopped -bool is_protective_stopped -bool is_program_running -bool is_program_paused -""" - __slots__ = ['timestamp','is_robot_connected','is_real_robot_enabled','is_power_on_robot','is_emergency_stopped','is_protective_stopped','is_program_running','is_program_paused'] - _slot_types = ['uint64','bool','bool','bool','bool','bool','bool','bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - timestamp,is_robot_connected,is_real_robot_enabled,is_power_on_robot,is_emergency_stopped,is_protective_stopped,is_program_running,is_program_paused - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(RobotModeDataMsg, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.timestamp is None: - self.timestamp = 0 - if self.is_robot_connected is None: - self.is_robot_connected = False - if self.is_real_robot_enabled is None: - self.is_real_robot_enabled = False - if self.is_power_on_robot is None: - self.is_power_on_robot = False - if self.is_emergency_stopped is None: - self.is_emergency_stopped = False - if self.is_protective_stopped is None: - self.is_protective_stopped = False - if self.is_program_running is None: - self.is_program_running = False - if self.is_program_paused is None: - self.is_program_paused = False - else: - self.timestamp = 0 - self.is_robot_connected = False - self.is_real_robot_enabled = False - self.is_power_on_robot = False - self.is_emergency_stopped = False - self.is_protective_stopped = False - self.is_program_running = False - self.is_program_paused = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_Q7B().pack(_x.timestamp, _x.is_robot_connected, _x.is_real_robot_enabled, _x.is_power_on_robot, _x.is_emergency_stopped, _x.is_protective_stopped, _x.is_program_running, _x.is_program_paused)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - _x = self - start = end - end += 15 - (_x.timestamp, _x.is_robot_connected, _x.is_real_robot_enabled, _x.is_power_on_robot, _x.is_emergency_stopped, _x.is_protective_stopped, _x.is_program_running, _x.is_program_paused,) = _get_struct_Q7B().unpack(str[start:end]) - self.is_robot_connected = bool(self.is_robot_connected) - self.is_real_robot_enabled = bool(self.is_real_robot_enabled) - self.is_power_on_robot = bool(self.is_power_on_robot) - self.is_emergency_stopped = bool(self.is_emergency_stopped) - self.is_protective_stopped = bool(self.is_protective_stopped) - self.is_program_running = bool(self.is_program_running) - self.is_program_paused = bool(self.is_program_paused) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - _x = self - buff.write(_get_struct_Q7B().pack(_x.timestamp, _x.is_robot_connected, _x.is_real_robot_enabled, _x.is_power_on_robot, _x.is_emergency_stopped, _x.is_protective_stopped, _x.is_program_running, _x.is_program_paused)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - _x = self - start = end - end += 15 - (_x.timestamp, _x.is_robot_connected, _x.is_real_robot_enabled, _x.is_power_on_robot, _x.is_emergency_stopped, _x.is_protective_stopped, _x.is_program_running, _x.is_program_paused,) = _get_struct_Q7B().unpack(str[start:end]) - self.is_robot_connected = bool(self.is_robot_connected) - self.is_real_robot_enabled = bool(self.is_real_robot_enabled) - self.is_power_on_robot = bool(self.is_power_on_robot) - self.is_emergency_stopped = bool(self.is_emergency_stopped) - self.is_protective_stopped = bool(self.is_protective_stopped) - self.is_program_running = bool(self.is_program_running) - self.is_program_paused = bool(self.is_program_paused) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_Q7B = None -def _get_struct_Q7B(): - global _struct_Q7B - if _struct_Q7B is None: - _struct_Q7B = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class RobotStateRTMsg(genpy.Message): - _md5sum = "ce6feddd3ccb4ca7dbcd0ff105b603c7" - _type = "ur_msgs/RobotStateRTMsg" - _has_header = False #flag to mark the presence of a Header object - _full_text = """# Data structure for the realtime communications interface (aka Matlab interface) -# used by the Universal Robots controller -# -# This data structure is send at 125 Hz on TCP port 30003 -# -# Dokumentation can be found on the Universal Robots Support Wiki -# (http://wiki03.lynero.net/Technical/RealTimeClientInterface?rev=9) - -float64 time -float64[] q_target -float64[] qd_target -float64[] qdd_target -float64[] i_target -float64[] m_target -float64[] q_actual -float64[] qd_actual -float64[] i_actual -float64[] tool_acc_values -float64[] tcp_force -float64[] tool_vector -float64[] tcp_speed -float64 digital_input_bits -float64[] motor_temperatures -float64 controller_timer -float64 test_value -float64 robot_mode -float64[] joint_modes -""" - __slots__ = ['time','q_target','qd_target','qdd_target','i_target','m_target','q_actual','qd_actual','i_actual','tool_acc_values','tcp_force','tool_vector','tcp_speed','digital_input_bits','motor_temperatures','controller_timer','test_value','robot_mode','joint_modes'] - _slot_types = ['float64','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64[]','float64','float64[]','float64','float64','float64','float64[]'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - time,q_target,qd_target,qdd_target,i_target,m_target,q_actual,qd_actual,i_actual,tool_acc_values,tcp_force,tool_vector,tcp_speed,digital_input_bits,motor_temperatures,controller_timer,test_value,robot_mode,joint_modes - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(RobotStateRTMsg, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.time is None: - self.time = 0. - if self.q_target is None: - self.q_target = [] - if self.qd_target is None: - self.qd_target = [] - if self.qdd_target is None: - self.qdd_target = [] - if self.i_target is None: - self.i_target = [] - if self.m_target is None: - self.m_target = [] - if self.q_actual is None: - self.q_actual = [] - if self.qd_actual is None: - self.qd_actual = [] - if self.i_actual is None: - self.i_actual = [] - if self.tool_acc_values is None: - self.tool_acc_values = [] - if self.tcp_force is None: - self.tcp_force = [] - if self.tool_vector is None: - self.tool_vector = [] - if self.tcp_speed is None: - self.tcp_speed = [] - if self.digital_input_bits is None: - self.digital_input_bits = 0. - if self.motor_temperatures is None: - self.motor_temperatures = [] - if self.controller_timer is None: - self.controller_timer = 0. - if self.test_value is None: - self.test_value = 0. - if self.robot_mode is None: - self.robot_mode = 0. - if self.joint_modes is None: - self.joint_modes = [] - else: - self.time = 0. - self.q_target = [] - self.qd_target = [] - self.qdd_target = [] - self.i_target = [] - self.m_target = [] - self.q_actual = [] - self.qd_actual = [] - self.i_actual = [] - self.tool_acc_values = [] - self.tcp_force = [] - self.tool_vector = [] - self.tcp_speed = [] - self.digital_input_bits = 0. - self.motor_temperatures = [] - self.controller_timer = 0. - self.test_value = 0. - self.robot_mode = 0. - self.joint_modes = [] - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_d().pack(self.time)) - length = len(self.q_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.q_target)) - length = len(self.qd_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.qd_target)) - length = len(self.qdd_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.qdd_target)) - length = len(self.i_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.i_target)) - length = len(self.m_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.m_target)) - length = len(self.q_actual) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.q_actual)) - length = len(self.qd_actual) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.qd_actual)) - length = len(self.i_actual) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.i_actual)) - length = len(self.tool_acc_values) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.tool_acc_values)) - length = len(self.tcp_force) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.tcp_force)) - length = len(self.tool_vector) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.tool_vector)) - length = len(self.tcp_speed) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.tcp_speed)) - buff.write(_get_struct_d().pack(self.digital_input_bits)) - length = len(self.motor_temperatures) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.motor_temperatures)) - _x = self - buff.write(_get_struct_3d().pack(_x.controller_timer, _x.test_value, _x.robot_mode)) - length = len(self.joint_modes) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(struct.pack(pattern, *self.joint_modes)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 8 - (self.time,) = _get_struct_d().unpack(str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.q_target = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.qd_target = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.qdd_target = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.i_target = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.m_target = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.q_actual = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.qd_actual = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.i_actual = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tool_acc_values = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tcp_force = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tool_vector = struct.unpack(pattern, str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tcp_speed = struct.unpack(pattern, str[start:end]) - start = end - end += 8 - (self.digital_input_bits,) = _get_struct_d().unpack(str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.motor_temperatures = struct.unpack(pattern, str[start:end]) - _x = self - start = end - end += 24 - (_x.controller_timer, _x.test_value, _x.robot_mode,) = _get_struct_3d().unpack(str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.joint_modes = struct.unpack(pattern, str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_d().pack(self.time)) - length = len(self.q_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.q_target.tostring()) - length = len(self.qd_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.qd_target.tostring()) - length = len(self.qdd_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.qdd_target.tostring()) - length = len(self.i_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.i_target.tostring()) - length = len(self.m_target) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.m_target.tostring()) - length = len(self.q_actual) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.q_actual.tostring()) - length = len(self.qd_actual) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.qd_actual.tostring()) - length = len(self.i_actual) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.i_actual.tostring()) - length = len(self.tool_acc_values) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.tool_acc_values.tostring()) - length = len(self.tcp_force) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.tcp_force.tostring()) - length = len(self.tool_vector) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.tool_vector.tostring()) - length = len(self.tcp_speed) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.tcp_speed.tostring()) - buff.write(_get_struct_d().pack(self.digital_input_bits)) - length = len(self.motor_temperatures) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.motor_temperatures.tostring()) - _x = self - buff.write(_get_struct_3d().pack(_x.controller_timer, _x.test_value, _x.robot_mode)) - length = len(self.joint_modes) - buff.write(_struct_I.pack(length)) - pattern = '<%sd'%length - buff.write(self.joint_modes.tostring()) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 8 - (self.time,) = _get_struct_d().unpack(str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.q_target = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.qd_target = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.qdd_target = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.i_target = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.m_target = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.q_actual = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.qd_actual = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.i_actual = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tool_acc_values = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tcp_force = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tool_vector = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.tcp_speed = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - start = end - end += 8 - (self.digital_input_bits,) = _get_struct_d().unpack(str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.motor_temperatures = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - _x = self - start = end - end += 24 - (_x.controller_timer, _x.test_value, _x.robot_mode,) = _get_struct_3d().unpack(str[start:end]) - start = end - end += 4 - (length,) = _struct_I.unpack(str[start:end]) - pattern = '<%sd'%length - start = end - end += struct.calcsize(pattern) - self.joint_modes = numpy.frombuffer(str[start:end], dtype=numpy.float64, count=length) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_d = None -def _get_struct_d(): - global _struct_d - if _struct_d is None: - _struct_d = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class ToolDataMsg(genpy.Message): - _md5sum = "404fc266f37d89f75b372d12fa94a122" - _type = "ur_msgs/ToolDataMsg" - _has_header = False #flag to mark the presence of a Header object - _full_text = """# This data structure contains the ToolData structure -# used by the Universal Robots controller - -int8 ANALOG_INPUT_RANGE_CURRENT = 0 -int8 ANALOG_INPUT_RANGE_VOLTAGE = 1 - -int8 analog_input_range2 # one of ANALOG_INPUT_RANGE_* -int8 analog_input_range3 # one of ANALOG_INPUT_RANGE_* -float64 analog_input2 -float64 analog_input3 -float32 tool_voltage_48v -uint8 tool_output_voltage -float32 tool_current -float32 tool_temperature - -uint8 TOOL_BOOTLOADER_MODE = 249 -uint8 TOOL_RUNNING_MODE = 253 -uint8 TOOL_IDLE_MODE = 255 - -uint8 tool_mode # one of TOOL_* -""" - # Pseudo-constants - ANALOG_INPUT_RANGE_CURRENT = 0 - ANALOG_INPUT_RANGE_VOLTAGE = 1 - TOOL_BOOTLOADER_MODE = 249 - TOOL_RUNNING_MODE = 253 - TOOL_IDLE_MODE = 255 - - __slots__ = ['analog_input_range2','analog_input_range3','analog_input2','analog_input3','tool_voltage_48v','tool_output_voltage','tool_current','tool_temperature','tool_mode'] - _slot_types = ['int8','int8','float64','float64','float32','uint8','float32','float32','uint8'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - analog_input_range2,analog_input_range3,analog_input2,analog_input3,tool_voltage_48v,tool_output_voltage,tool_current,tool_temperature,tool_mode - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(ToolDataMsg, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.analog_input_range2 is None: - self.analog_input_range2 = 0 - if self.analog_input_range3 is None: - self.analog_input_range3 = 0 - if self.analog_input2 is None: - self.analog_input2 = 0. - if self.analog_input3 is None: - self.analog_input3 = 0. - if self.tool_voltage_48v is None: - self.tool_voltage_48v = 0. - if self.tool_output_voltage is None: - self.tool_output_voltage = 0 - if self.tool_current is None: - self.tool_current = 0. - if self.tool_temperature is None: - self.tool_temperature = 0. - if self.tool_mode is None: - self.tool_mode = 0 - else: - self.analog_input_range2 = 0 - self.analog_input_range3 = 0 - self.analog_input2 = 0. - self.analog_input3 = 0. - self.tool_voltage_48v = 0. - self.tool_output_voltage = 0 - self.tool_current = 0. - self.tool_temperature = 0. - self.tool_mode = 0 - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_2b2dfB2fB().pack(_x.analog_input_range2, _x.analog_input_range3, _x.analog_input2, _x.analog_input3, _x.tool_voltage_48v, _x.tool_output_voltage, _x.tool_current, _x.tool_temperature, _x.tool_mode)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - _x = self - start = end - end += 32 - (_x.analog_input_range2, _x.analog_input_range3, _x.analog_input2, _x.analog_input3, _x.tool_voltage_48v, _x.tool_output_voltage, _x.tool_current, _x.tool_temperature, _x.tool_mode,) = _get_struct_2b2dfB2fB().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - _x = self - buff.write(_get_struct_2b2dfB2fB().pack(_x.analog_input_range2, _x.analog_input_range3, _x.analog_input2, _x.analog_input3, _x.tool_voltage_48v, _x.tool_output_voltage, _x.tool_current, _x.tool_temperature, _x.tool_mode)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - _x = self - start = end - end += 32 - (_x.analog_input_range2, _x.analog_input_range3, _x.analog_input2, _x.analog_input3, _x.tool_voltage_48v, _x.tool_output_voltage, _x.tool_current, _x.tool_temperature, _x.tool_mode,) = _get_struct_2b2dfB2fB().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_2b2dfB2fB = None -def _get_struct_2b2dfB2fB(): - global _struct_2b2dfB2fB - if _struct_2b2dfB2fB is None: - _struct_2b2dfB2fB = struct.Struct("<2b2dfB2fB") - return _struct_2b2dfB2fB diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_ToolDataMsg.pyc b/devel/lib/python2.7/dist-packages/ur_msgs/msg/_ToolDataMsg.pyc deleted file mode 100644 index 7ee3a0f..0000000 Binary files a/devel/lib/python2.7/dist-packages/ur_msgs/msg/_ToolDataMsg.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/__init__.py b/devel/lib/python2.7/dist-packages/ur_msgs/msg/__init__.py deleted file mode 100644 index b30daba..0000000 --- a/devel/lib/python2.7/dist-packages/ur_msgs/msg/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -from ._Analog import * -from ._Digital import * -from ._IOStates import * -from ._MasterboardDataMsg import * -from ._RobotModeDataMsg import * -from ._RobotStateRTMsg import * -from ._ToolDataMsg import * diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/msg/__init__.pyc b/devel/lib/python2.7/dist-packages/ur_msgs/msg/__init__.pyc deleted file mode 100644 index c86309c..0000000 Binary files a/devel/lib/python2.7/dist-packages/ur_msgs/msg/__init__.pyc and /dev/null differ diff --git a/devel/lib/python2.7/dist-packages/ur_msgs/srv/_SetIO.py b/devel/lib/python2.7/dist-packages/ur_msgs/srv/_SetIO.py deleted file mode 100644 index 943a1ee..0000000 --- a/devel/lib/python2.7/dist-packages/ur_msgs/srv/_SetIO.py +++ /dev/null @@ -1,280 +0,0 @@ -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from ur_msgs/SetIORequest.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - - -class SetIORequest(genpy.Message): - _md5sum = "85200c86fbe60ea3e047bae3d6574bfd" - _type = "ur_msgs/SetIORequest" - _has_header = False #flag to mark the presence of a Header object - _full_text = """ - - - - - - - - - - - - - - - - - - - - - -int8 FUN_SET_DIGITAL_OUT = 1 -int8 FUN_SET_FLAG = 2 -int8 FUN_SET_ANALOG_OUT = 3 -int8 FUN_SET_TOOL_VOLTAGE = 4 - - -int8 STATE_OFF = 0 -int8 STATE_ON = 1 - - -int8 STATE_TOOL_VOLTAGE_0V = 0 -int8 STATE_TOOL_VOLTAGE_12V = 12 -int8 STATE_TOOL_VOLTAGE_24V = 24 - - -int8 fun -int8 pin -float32 state -""" - # Pseudo-constants - FUN_SET_DIGITAL_OUT = 1 - FUN_SET_FLAG = 2 - FUN_SET_ANALOG_OUT = 3 - FUN_SET_TOOL_VOLTAGE = 4 - STATE_OFF = 0 - STATE_ON = 1 - STATE_TOOL_VOLTAGE_0V = 0 - STATE_TOOL_VOLTAGE_12V = 12 - STATE_TOOL_VOLTAGE_24V = 24 - - __slots__ = ['fun','pin','state'] - _slot_types = ['int8','int8','float32'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - fun,pin,state - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetIORequest, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.fun is None: - self.fun = 0 - if self.pin is None: - self.pin = 0 - if self.state is None: - self.state = 0. - else: - self.fun = 0 - self.pin = 0 - self.state = 0. - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - _x = self - buff.write(_get_struct_2bf().pack(_x.fun, _x.pin, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - _x = self - start = end - end += 6 - (_x.fun, _x.pin, _x.state,) = _get_struct_2bf().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - _x = self - buff.write(_get_struct_2bf().pack(_x.fun, _x.pin, _x.state)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - _x = self - start = end - end += 6 - (_x.fun, _x.pin, _x.state,) = _get_struct_2bf().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_2bf = None -def _get_struct_2bf(): - global _struct_2bf - if _struct_2bf is None: - _struct_2bf = struct.Struct("<2bf") - return _struct_2bf -# This Python file uses the following encoding: utf-8 -"""autogenerated by genpy from ur_msgs/SetIOResponse.msg. Do not edit.""" -import sys -python3 = True if sys.hexversion > 0x03000000 else False -import genpy -import struct - - -class SetIOResponse(genpy.Message): - _md5sum = "358e233cde0c8a8bcfea4ce193f8fc15" - _type = "ur_msgs/SetIOResponse" - _has_header = False #flag to mark the presence of a Header object - _full_text = """bool success - -""" - __slots__ = ['success'] - _slot_types = ['bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - success - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetIOResponse, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.success is None: - self.success = False - else: - self.success = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_B = None -def _get_struct_B(): - global _struct_B - if _struct_B is None: - _struct_B = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class SetPayloadRequest(genpy.Message): - _md5sum = "d12269f931817591aa52047629ca66ca" - _type = "ur_msgs/SetPayloadRequest" - _has_header = False #flag to mark the presence of a Header object - _full_text = """float32 payload -""" - __slots__ = ['payload'] - _slot_types = ['float32'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - payload - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetPayloadRequest, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.payload is None: - self.payload = 0. - else: - self.payload = 0. - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_f().pack(self.payload)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 4 - (self.payload,) = _get_struct_f().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_f().pack(self.payload)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 4 - (self.payload,) = _get_struct_f().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_f = None -def _get_struct_f(): - global _struct_f - if _struct_f is None: - _struct_f = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class SetPayloadResponse(genpy.Message): - _md5sum = "358e233cde0c8a8bcfea4ce193f8fc15" - _type = "ur_msgs/SetPayloadResponse" - _has_header = False #flag to mark the presence of a Header object - _full_text = """bool success - -""" - __slots__ = ['success'] - _slot_types = ['bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - success - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetPayloadResponse, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.success is None: - self.success = False - else: - self.success = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_B = None -def _get_struct_B(): - global _struct_B - if _struct_B is None: - _struct_B = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class SetSpeedSliderFractionRequest(genpy.Message): - _md5sum = "64134244ab4dfc72a3406fe06d580274" - _type = "ur_msgs/SetSpeedSliderFractionRequest" - _has_header = False #flag to mark the presence of a Header object - _full_text = """ - - - - -float64 speed_slider_fraction -""" - __slots__ = ['speed_slider_fraction'] - _slot_types = ['float64'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - speed_slider_fraction - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetSpeedSliderFractionRequest, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.speed_slider_fraction is None: - self.speed_slider_fraction = 0. - else: - self.speed_slider_fraction = 0. - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_d().pack(self.speed_slider_fraction)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 8 - (self.speed_slider_fraction,) = _get_struct_d().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_d().pack(self.speed_slider_fraction)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 8 - (self.speed_slider_fraction,) = _get_struct_d().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_d = None -def _get_struct_d(): - global _struct_d - if _struct_d is None: - _struct_d = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class SetSpeedSliderFractionResponse(genpy.Message): - _md5sum = "358e233cde0c8a8bcfea4ce193f8fc15" - _type = "ur_msgs/SetSpeedSliderFractionResponse" - _has_header = False #flag to mark the presence of a Header object - _full_text = """bool success - -""" - __slots__ = ['success'] - _slot_types = ['bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - success - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetSpeedSliderFractionResponse, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.success is None: - self.success = False - else: - self.success = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_B = None -def _get_struct_B(): - global _struct_B - if _struct_B is None: - _struct_B = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class SetSpeedSliderRequest(genpy.Message): - _md5sum = "fdb28210bfa9d7c91146260178d9a584" - _type = "ur_rtde_msgs/SetSpeedSliderRequest" - _has_header = False #flag to mark the presence of a Header object - _full_text = """float64 data -""" - __slots__ = ['data'] - _slot_types = ['float64'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - data - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetSpeedSliderRequest, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.data is None: - self.data = 0. - else: - self.data = 0. - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_d().pack(self.data)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 8 - (self.data,) = _get_struct_d().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_d().pack(self.data)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 8 - (self.data,) = _get_struct_d().unpack(str[start:end]) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_d = None -def _get_struct_d(): - global _struct_d - if _struct_d is None: - _struct_d = struct.Struct(" 0x03000000 else False -import genpy -import struct - - -class SetSpeedSliderResponse(genpy.Message): - _md5sum = "358e233cde0c8a8bcfea4ce193f8fc15" - _type = "ur_rtde_msgs/SetSpeedSliderResponse" - _has_header = False #flag to mark the presence of a Header object - _full_text = """bool success - -""" - __slots__ = ['success'] - _slot_types = ['bool'] - - def __init__(self, *args, **kwds): - """ - Constructor. Any message fields that are implicitly/explicitly - set to None will be assigned a default value. The recommend - use is keyword arguments as this is more robust to future message - changes. You cannot mix in-order arguments and keyword arguments. - - The available fields are: - success - - :param args: complete set of field values, in .msg order - :param kwds: use keyword arguments corresponding to message field names - to set specific fields. - """ - if args or kwds: - super(SetSpeedSliderResponse, self).__init__(*args, **kwds) - #message fields cannot be None, assign default values for those that are - if self.success is None: - self.success = False - else: - self.success = False - - def _get_types(self): - """ - internal API method - """ - return self._slot_types - - def serialize(self, buff): - """ - serialize message into buffer - :param buff: buffer, ``StringIO`` - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize(self, str): - """ - unpack serialized message in str into this message instance - :param str: byte array of serialized message, ``str`` - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - - - def serialize_numpy(self, buff, numpy): - """ - serialize message with numpy array types into buffer - :param buff: buffer, ``StringIO`` - :param numpy: numpy python module - """ - try: - buff.write(_get_struct_B().pack(self.success)) - except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self))))) - except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self))))) - - def deserialize_numpy(self, str, numpy): - """ - unpack serialized message in str into this message instance using numpy for array types - :param str: byte array of serialized message, ``str`` - :param numpy: numpy python module - """ - try: - end = 0 - start = end - end += 1 - (self.success,) = _get_struct_B().unpack(str[start:end]) - self.success = bool(self.success) - return self - except struct.error as e: - raise genpy.DeserializationError(e) #most likely buffer underfill - -_struct_I = genpy.struct_I -def _get_struct_I(): - global _struct_I - return _struct_I -_struct_B = None -def _get_struct_B(): - global _struct_B - if _struct_B is None: - _struct_B = struct.Struct("