diff --git a/CMakeLists.txt b/CMakeLists.txt
index 581e61db..66dd650a 120000
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1 +1 @@
-/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake
\ No newline at end of file
+/opt/ros/melodic/share/catkin/cmake/toplevel.cmake
\ No newline at end of file
diff --git a/kortex_control/arms/gen3/6dof/config/joint_position_controllers.yaml b/kortex_control/arms/gen3/6dof/config/joint_position_controllers.yaml
index 05e23931..5c2f22bf 100644
--- a/kortex_control/arms/gen3/6dof/config/joint_position_controllers.yaml
+++ b/kortex_control/arms/gen3/6dof/config/joint_position_controllers.yaml
@@ -1,17 +1,17 @@
# Publish all joint states -----------------------------------
-joint_state_controller:
+$(arg prefix)joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 50
-gen3_joint_trajectory_controller:
+$(arg prefix)gen3_joint_trajectory_controller:
type: effort_controllers/JointTrajectoryController
joints:
- - joint_1
- - joint_2
- - joint_3
- - joint_4
- - joint_5
- - joint_6
+ - $(arg prefix)joint_1
+ - $(arg prefix)joint_2
+ - $(arg prefix)joint_3
+ - $(arg prefix)joint_4
+ - $(arg prefix)joint_5
+ - $(arg prefix)joint_6
constraints:
goal_time: 1.0
stopped_velocity_tolerance: 0.5
@@ -19,55 +19,55 @@ gen3_joint_trajectory_controller:
state_publish_rate: 25
action_monitor_rate: 25
gains:
- joint_1: {p: 3000.0, i: 0.0, d: 2.0, i_clamp_min: -100.0, i_clamp_max: 100.0}
- joint_2: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -5.0, i_clamp_max: 5.0}
- joint_3: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_4: {p: 750.0, i: 0.0, d: 0.2, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_5: {p: 5000.0, i: 0.0, d: 1.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_6: {p: 100.0, i: 0.0, d: 0.0, i_clamp_min: -0.1, i_clamp_max: 0.1}
+ $(arg prefix)joint_1: {p: 3000.0, i: 0.0, d: 2.0, i_clamp_min: -100.0, i_clamp_max: 100.0}
+ $(arg prefix)joint_2: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -5.0, i_clamp_max: 5.0}
+ $(arg prefix)joint_3: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_4: {p: 750.0, i: 0.0, d: 0.2, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_5: {p: 5000.0, i: 0.0, d: 1.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_6: {p: 100.0, i: 0.0, d: 0.0, i_clamp_min: -0.1, i_clamp_max: 0.1}
-joint_1_position_controller:
- joint: joint_1
+$(arg prefix)joint_1_position_controller:
+ joint: $(arg prefix)joint_1
pid:
p: 3000.0
i: 0.0
d: 2.0
type: effort_controllers/JointPositionController
-joint_2_position_controller:
- joint: joint_2
+$(arg prefix)joint_2_position_controller:
+ joint: $(arg prefix)joint_2
pid:
p: 50000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_3_position_controller:
- joint: joint_3
+$(arg prefix)joint_3_position_controller:
+ joint: $(arg prefix)joint_3
pid:
p: 50000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_4_position_controller:
- joint: joint_4
+$(arg prefix)joint_4_position_controller:
+ joint: $(arg prefix)joint_4
pid:
p: 750.0
i: 0.0
d: 0.2
type: effort_controllers/JointPositionController
-joint_5_position_controller:
- joint: joint_5
+$(arg prefix)joint_5_position_controller:
+ joint: $(arg prefix)joint_5
pid:
p: 5000.0
i: 0.0
d: 1.0
type: effort_controllers/JointPositionController
-joint_6_position_controller:
- joint: joint_6
+$(arg prefix)joint_6_position_controller:
+ joint: $(arg prefix)joint_6
pid:
p: 100.0
i: 0.0
diff --git a/kortex_control/arms/gen3/7dof/config/joint_position_controllers.yaml b/kortex_control/arms/gen3/7dof/config/joint_position_controllers.yaml
index bb6fa834..621a0b30 100644
--- a/kortex_control/arms/gen3/7dof/config/joint_position_controllers.yaml
+++ b/kortex_control/arms/gen3/7dof/config/joint_position_controllers.yaml
@@ -1,18 +1,18 @@
# Publish all joint states -----------------------------------
-joint_state_controller:
+$(arg prefix)joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 50
-gen3_joint_trajectory_controller:
+$(arg prefix)gen3_joint_trajectory_controller:
type: effort_controllers/JointTrajectoryController
joints:
- - joint_1
- - joint_2
- - joint_3
- - joint_4
- - joint_5
- - joint_6
- - joint_7
+ - $(arg prefix)joint_1
+ - $(arg prefix)joint_2
+ - $(arg prefix)joint_3
+ - $(arg prefix)joint_4
+ - $(arg prefix)joint_5
+ - $(arg prefix)joint_6
+ - $(arg prefix)joint_7
constraints:
goal_time: 1.0
stopped_velocity_tolerance: 0.5
@@ -20,64 +20,64 @@ gen3_joint_trajectory_controller:
state_publish_rate: 25
action_monitor_rate: 25
gains:
- joint_1: {p: 3000.0, i: 0.0, d: 2.0, i_clamp_min: -100.0, i_clamp_max: 100.0}
- joint_2: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -5.0, i_clamp_max: 5.0}
- joint_3: {p: 3000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_4: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_5: {p: 750.0, i: 0.0, d: 0.2, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_6: {p: 5000.0, i: 0.0, d: 1.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_7: {p: 100.0, i: 0.0, d: 0.0, i_clamp_min: -0.1, i_clamp_max: 0.1}
+ $(arg prefix)joint_1: {p: 3000.0, i: 0.0, d: 2.0, i_clamp_min: -100.0, i_clamp_max: 100.0}
+ $(arg prefix)joint_2: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -5.0, i_clamp_max: 5.0}
+ $(arg prefix)joint_3: {p: 3000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_4: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_5: {p: 750.0, i: 0.0, d: 0.2, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_6: {p: 5000.0, i: 0.0, d: 1.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_7: {p: 100.0, i: 0.0, d: 0.0, i_clamp_min: -0.1, i_clamp_max: 0.1}
-joint_1_position_controller:
- joint: joint_1
+$(arg prefix)joint_1_position_controller:
+ joint: $(arg prefix)joint_1
pid:
p: 3000.0
i: 0.0
d: 2.0
type: effort_controllers/JointPositionController
-joint_2_position_controller:
- joint: joint_2
+$(arg prefix)joint_2_position_controller:
+ joint: $(arg prefix)joint_2
pid:
p: 50000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_3_position_controller:
- joint: joint_3
+$(arg prefix)joint_3_position_controller:
+ joint: $(arg prefix)joint_3
pid:
p: 3000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_4_position_controller:
- joint: joint_4
+$(arg prefix)joint_4_position_controller:
+ joint: $(arg prefix)joint_4
pid:
p: 50000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_5_position_controller:
- joint: joint_5
+$(arg prefix)joint_5_position_controller:
+ joint: $(arg prefix)joint_5
pid:
p: 750.0
i: 0.0
d: 0.2
type: effort_controllers/JointPositionController
-joint_6_position_controller:
- joint: joint_6
+$(arg prefix)joint_6_position_controller:
+ joint: $(arg prefix)joint_6
pid:
p: 5000.0
i: 0.0
d: 1.0
type: effort_controllers/JointPositionController
-joint_7_position_controller:
- joint: joint_7
+$(arg prefix)joint_7_position_controller:
+ joint: $(arg prefix)joint_7
pid:
p: 100.0
i: 0.0
diff --git a/kortex_control/arms/gen3_lite/6dof/config/joint_position_controllers.yaml b/kortex_control/arms/gen3_lite/6dof/config/joint_position_controllers.yaml
index 05c1c470..c869f63a 100644
--- a/kortex_control/arms/gen3_lite/6dof/config/joint_position_controllers.yaml
+++ b/kortex_control/arms/gen3_lite/6dof/config/joint_position_controllers.yaml
@@ -1,17 +1,17 @@
# Publish all joint states -----------------------------------
-joint_state_controller:
+$(arg prefix)joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 50
-gen3_lite_joint_trajectory_controller:
+$(arg prefix)gen3_lite_joint_trajectory_controller:
type: effort_controllers/JointTrajectoryController
joints:
- - joint_1
- - joint_2
- - joint_3
- - joint_4
- - joint_5
- - joint_6
+ - $(arg prefix)joint_1
+ - $(arg prefix)joint_2
+ - $(arg prefix)joint_3
+ - $(arg prefix)joint_4
+ - $(arg prefix)joint_5
+ - $(arg prefix)joint_6
constraints:
goal_time: 1.0
stopped_velocity_tolerance: 0.5
@@ -19,55 +19,55 @@ gen3_lite_joint_trajectory_controller:
state_publish_rate: 25
action_monitor_rate: 25
gains:
- joint_1: {p: 3000.0, i: 0.0, d: 2.0, i_clamp_min: -100.0, i_clamp_max: 100.0}
- joint_2: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -5.0, i_clamp_max: 5.0}
- joint_3: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_4: {p: 750.0, i: 0.0, d: 0.2, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_5: {p: 5000.0, i: 0.0, d: 1.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
- joint_6: {p: 100.0, i: 0.0, d: 0.0, i_clamp_min: -0.1, i_clamp_max: 0.1}
+ $(arg prefix)joint_1: {p: 3000.0, i: 0.0, d: 2.0, i_clamp_min: -100.0, i_clamp_max: 100.0}
+ $(arg prefix)joint_2: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -5.0, i_clamp_max: 5.0}
+ $(arg prefix)joint_3: {p: 50000.0, i: 0.0, d: 0.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_4: {p: 750.0, i: 0.0, d: 0.2, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_5: {p: 5000.0, i: 0.0, d: 1.0, i_clamp_min: -1.0, i_clamp_max: 1.0}
+ $(arg prefix)joint_6: {p: 100.0, i: 0.0, d: 0.0, i_clamp_min: -0.1, i_clamp_max: 0.1}
-joint_1_position_controller:
- joint: joint_1
+$(arg prefix)joint_1_position_controller:
+ joint: $(arg prefix)joint_1
pid:
p: 3000.0
i: 0.0
d: 2.0
type: effort_controllers/JointPositionController
-joint_2_position_controller:
- joint: joint_2
+$(arg prefix)joint_2_position_controller:
+ joint: $(arg prefix)joint_2
pid:
p: 50000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_3_position_controller:
- joint: joint_3
+$(arg prefix)joint_3_position_controller:
+ joint: $(arg prefix)joint_3
pid:
p: 50000.0
i: 0.0
d: 0.0
type: effort_controllers/JointPositionController
-joint_4_position_controller:
- joint: joint_4
+$(arg prefix)joint_4_position_controller:
+ joint: $(arg prefix)joint_4
pid:
p: 750.0
i: 0.0
d: 0.2
type: effort_controllers/JointPositionController
-joint_5_position_controller:
- joint: joint_5
+$(arg prefix)joint_5_position_controller:
+ joint: $(arg prefix)joint_5
pid:
p: 5000.0
i: 0.0
d: 1.0
type: effort_controllers/JointPositionController
-joint_6_position_controller:
- joint: joint_6
+$(arg prefix)joint_6_position_controller:
+ joint: $(arg prefix)joint_6
pid:
p: 100.0
i: 0.0
diff --git a/kortex_control/grippers/gen3_lite_2f/config/gripper_action_controller_parameters.yaml b/kortex_control/grippers/gen3_lite_2f/config/gripper_action_controller_parameters.yaml
index 7d8c81d0..87ac60a0 100644
--- a/kortex_control/grippers/gen3_lite_2f/config/gripper_action_controller_parameters.yaml
+++ b/kortex_control/grippers/gen3_lite_2f/config/gripper_action_controller_parameters.yaml
@@ -1,11 +1,11 @@
-gen3_lite_2f_gripper_controller:
+$(arg prefix)gen3_lite_2f_gripper_controller:
type: position_controllers/GripperActionController
- joint: right_finger_bottom_joint
+ joint: $(arg prefix)right_finger_bottom_joint
action_monitor_rate: 100
gazebo_ros_control:
pid_gains:
- right_finger_bottom_joint: {p: 0.1, i: 0.0, d: 0.0}
- right_finger_tip_joint: {p: 1.0, i: 0.0, d: 0.0}
- left_finger_bottom_joint: {p: 10.0, i: 0.0, d: 0.0}
- left_finger_tip_joint: {p: 1.0, i: 0.0, d: 0.0}
\ No newline at end of file
+ $(arg prefix)right_finger_bottom_joint: {p: 10.0, i: 0.0, d: 0.0}
+ $(arg prefix)right_finger_tip_joint: {p: 1.0, i: 0.0, d: 0.0}
+ $(arg prefix)left_finger_bottom_joint: {p: 10.0, i: 0.0, d: 0.0}
+ $(arg prefix)left_finger_tip_joint: {p: 1.0, i: 0.0, d: 0.0}
\ No newline at end of file
diff --git a/kortex_control/grippers/robotiq_2f_140/config/gripper_action_controller_parameters.yaml b/kortex_control/grippers/robotiq_2f_140/config/gripper_action_controller_parameters.yaml
index bc61292d..869f515a 100644
--- a/kortex_control/grippers/robotiq_2f_140/config/gripper_action_controller_parameters.yaml
+++ b/kortex_control/grippers/robotiq_2f_140/config/gripper_action_controller_parameters.yaml
@@ -1,13 +1,13 @@
-robotiq_2f_140_gripper_controller:
+$(arg prefix)robotiq_2f_140_gripper_controller:
type: position_controllers/GripperActionController
- joint: finger_joint
+ joint: $(arg prefix)finger_joint
action_monitor_rate: 100
gazebo_ros_control:
pid_gains:
- finger_joint: {p: 10.0, i: 0.0, d: 0.01}
- right_outer_knuckle_joint: {p: 10.0, i: 0.0, d: 0.00}
- right_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
- left_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
- left_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
- right_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
\ No newline at end of file
+ $(arg prefix)finger_joint: {p: 10.0, i: 0.0, d: 0.01}
+ $(arg prefix)right_outer_knuckle_joint: {p: 10.0, i: 0.0, d: 0.00}
+ $(arg prefix)right_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
+ $(arg prefix)left_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
+ $(arg prefix)left_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
+ $(arg prefix)right_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
\ No newline at end of file
diff --git a/kortex_control/grippers/robotiq_2f_85/config/gripper_action_controller_parameters.yaml b/kortex_control/grippers/robotiq_2f_85/config/gripper_action_controller_parameters.yaml
index dc06e4f8..4e40277e 100644
--- a/kortex_control/grippers/robotiq_2f_85/config/gripper_action_controller_parameters.yaml
+++ b/kortex_control/grippers/robotiq_2f_85/config/gripper_action_controller_parameters.yaml
@@ -1,13 +1,13 @@
-robotiq_2f_85_gripper_controller:
+$(arg prefix)robotiq_2f_85_gripper_controller:
type: position_controllers/GripperActionController
- joint: finger_joint
+ joint: $(arg prefix)finger_joint
action_monitor_rate: 100
gazebo_ros_control:
pid_gains:
- finger_joint: {p: 10.0, i: 0.0, d: 0.01}
- right_outer_knuckle_joint: {p: 10.0, i: 0.0, d: 0.00}
- right_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
- left_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
- left_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
- right_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
\ No newline at end of file
+ $(arg prefix)finger_joint: {p: 10.0, i: 0.0, d: 0.01}
+ $(arg prefix)right_outer_knuckle_joint: {p: 10.0, i: 0.0, d: 0.00}
+ $(arg prefix)right_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
+ $(arg prefix)left_inner_knuckle_joint: {p: 10.0, i: 0.0, d: 0.01}
+ $(arg prefix)left_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
+ $(arg prefix)right_inner_finger_joint: {p: 0.5, i: 0.0, d: 0.001}
\ No newline at end of file
diff --git a/kortex_control/package.xml b/kortex_control/package.xml
index 935cfab5..f937c188 100644
--- a/kortex_control/package.xml
+++ b/kortex_control/package.xml
@@ -1,12 +1,12 @@
kortex_control
- 2.2.0
+ 2.2.2
- Gazebo Ros Control package for Kortex robots
- This package contains launch and configuration files for the ros_control controllers for simulation
+ Gazebo ROS Control package for simulated Kortex robots
+ This package contains configuration files for the gazebo_ros_control controllers for simulation of Kortex arms
Alexandre Vannobel
-
+
BSD
catkin
roslaunch
diff --git a/kortex_description/arms/gen3/6dof/config/gazebo_initial_joint_positions.yaml b/kortex_description/arms/gen3/6dof/config/gazebo_initial_joint_positions.yaml
index 62f19ff8..729f82b9 100644
--- a/kortex_description/arms/gen3/6dof/config/gazebo_initial_joint_positions.yaml
+++ b/kortex_description/arms/gen3/6dof/config/gazebo_initial_joint_positions.yaml
@@ -1,6 +1,6 @@
-initial_joint_positions: "-J joint_1 1.57
- -J joint_2 -0.35
- -J joint_3 -2.00
- -J joint_4 0
- -J joint_5 -1.00
- -J joint_6 1.57 "
\ No newline at end of file
+initial_joint_positions: "-J $(arg prefix)joint_1 1.57
+ -J $(arg prefix)joint_2 -0.35
+ -J $(arg prefix)joint_3 -2.00
+ -J $(arg prefix)joint_4 0
+ -J $(arg prefix)joint_5 -1.00
+ -J $(arg prefix)joint_6 1.57 "
\ No newline at end of file
diff --git a/kortex_description/arms/gen3/6dof/config/joint_limits.yaml b/kortex_description/arms/gen3/6dof/config/joint_limits.yaml
index 8692c090..e524d93f 100644
--- a/kortex_description/arms/gen3/6dof/config/joint_limits.yaml
+++ b/kortex_description/arms/gen3/6dof/config/joint_limits.yaml
@@ -1,7 +1,21 @@
joint_names:
- - joint_1
- - joint_2
- - joint_3
- - joint_4
- - joint_5
- - joint_6
+ - $(arg prefix)joint_1
+ - $(arg prefix)joint_2
+ - $(arg prefix)joint_3
+ - $(arg prefix)joint_4
+ - $(arg prefix)joint_5
+ - $(arg prefix)joint_6
+maximum_velocities:
+ - 0.8727
+ - 0.8727
+ - 0.8727
+ - 0.8727
+ - 0.8727
+ - 0.8727
+maximum_accelerations:
+ - 1.0
+ - 1.0
+ - 1.0
+ - 10.0
+ - 10.0
+ - 10.0
diff --git a/kortex_description/arms/gen3/6dof/config/twist_limits.yaml b/kortex_description/arms/gen3/6dof/config/twist_limits.yaml
new file mode 100644
index 00000000..7b71f618
--- /dev/null
+++ b/kortex_description/arms/gen3/6dof/config/twist_limits.yaml
@@ -0,0 +1,4 @@
+maximum_linear_velocity: 0.5
+maximum_angular_velocity: 1.74
+maximum_linear_acceleration: 0.4
+maximum_angular_acceleration: 0.4
\ No newline at end of file
diff --git a/kortex_description/arms/gen3/6dof/urdf/gen3_macro.xacro b/kortex_description/arms/gen3/6dof/urdf/gen3_macro.xacro
index db152ab5..c12d737b 100644
--- a/kortex_description/arms/gen3/6dof/urdf/gen3_macro.xacro
+++ b/kortex_description/arms/gen3/6dof/urdf/gen3_macro.xacro
@@ -228,11 +228,11 @@
-
+
-
+
-
+
transmission_interface/SimpleTransmission
-
+
hardware_interface/PositionJointInterface
-
+
1
hardware_interface/PositionJointInterface
@@ -16,24 +16,24 @@
- right_finger_bottom_joint
- right_finger_tip_joint
+ ${prefix}right_finger_bottom_joint
+ ${prefix}right_finger_tip_joint
-0.676
0.149
5.0
- right_finger_bottom_joint
- left_finger_bottom_joint
+ ${prefix}right_finger_bottom_joint
+ ${prefix}left_finger_bottom_joint
-1.0
0.0
5.0
- right_finger_bottom_joint
- left_finger_tip_joint
+ ${prefix}right_finger_bottom_joint
+ ${prefix}left_finger_tip_joint
-0.676
0.149
5.0
@@ -43,9 +43,9 @@
my_gen3_lite_gripper
- end_effector_link
- right_finger_dist_link
- left_finger_dist_link
+ ${prefix}end_effector_link
+ ${prefix}right_finger_dist_link
+ ${prefix}left_finger_dist_link
100
10
diff --git a/kortex_description/grippers/robotiq_2f_140/config/joint_limits.yaml b/kortex_description/grippers/robotiq_2f_140/config/joint_limits.yaml
index 3c16e30a..dd1fd9e8 100644
--- a/kortex_description/grippers/robotiq_2f_140/config/joint_limits.yaml
+++ b/kortex_description/grippers/robotiq_2f_140/config/joint_limits.yaml
@@ -1,5 +1,5 @@
gripper_joint_names:
- - finger_joint
+ - $(arg prefix)finger_joint
gripper_joint_limits_min:
- 0.000
diff --git a/kortex_description/grippers/robotiq_2f_140/urdf/robotiq_2f_140_transmission_macro.xacro b/kortex_description/grippers/robotiq_2f_140/urdf/robotiq_2f_140_transmission_macro.xacro
index 11adb98f..f1a85b8c 100644
--- a/kortex_description/grippers/robotiq_2f_140/urdf/robotiq_2f_140_transmission_macro.xacro
+++ b/kortex_description/grippers/robotiq_2f_140/urdf/robotiq_2f_140_transmission_macro.xacro
@@ -3,12 +3,12 @@
-
+
transmission_interface/SimpleTransmission
-
+
hardware_interface/PositionJointInterface
-
+
1
hardware_interface/PositionJointInterface
@@ -16,40 +16,40 @@
- finger_joint
- right_outer_knuckle_joint
+ ${prefix}finger_joint
+ ${prefix}right_outer_knuckle_joint
-1.0
0.0
5.0
- finger_joint
- right_inner_knuckle_joint
+ ${prefix}finger_joint
+ ${prefix}right_inner_knuckle_joint
-1.0
0.0
5.0
- finger_joint
- left_inner_knuckle_joint
+ ${prefix}finger_joint
+ ${prefix}left_inner_knuckle_joint
-1.0
0.0
5.0
- finger_joint
- left_inner_finger_joint
+ ${prefix}finger_joint
+ ${prefix}left_inner_finger_joint
1.0
0.0
5.0
- finger_joint
- right_inner_finger_joint
+ ${prefix}finger_joint
+ ${prefix}right_inner_finger_joint
1.0
0.0
5.0
@@ -59,9 +59,9 @@
my_robotiq_gripper
- bracelet_link
- left_inner_finger
- right_inner_finger
+ ${prefix}bracelet_link
+ ${prefix}left_inner_finger
+ ${prefix}right_inner_finger
100
10
diff --git a/kortex_description/grippers/robotiq_2f_85/config/joint_limits.yaml b/kortex_description/grippers/robotiq_2f_85/config/joint_limits.yaml
index 3c64028a..d67e31fe 100644
--- a/kortex_description/grippers/robotiq_2f_85/config/joint_limits.yaml
+++ b/kortex_description/grippers/robotiq_2f_85/config/joint_limits.yaml
@@ -1,5 +1,5 @@
gripper_joint_names:
- - finger_joint
+ - $(arg prefix)finger_joint
gripper_joint_limits_min:
- 0.000
diff --git a/kortex_description/grippers/robotiq_2f_85/urdf/robotiq_2f_85_transmission_macro.xacro b/kortex_description/grippers/robotiq_2f_85/urdf/robotiq_2f_85_transmission_macro.xacro
index fe287f37..4ed28bab 100644
--- a/kortex_description/grippers/robotiq_2f_85/urdf/robotiq_2f_85_transmission_macro.xacro
+++ b/kortex_description/grippers/robotiq_2f_85/urdf/robotiq_2f_85_transmission_macro.xacro
@@ -3,12 +3,12 @@
-
+
transmission_interface/SimpleTransmission
-
+
hardware_interface/PositionJointInterface
-
+
1
hardware_interface/PositionJointInterface
@@ -16,40 +16,40 @@
- finger_joint
- right_outer_knuckle_joint
+ ${prefix}finger_joint
+ ${prefix}right_outer_knuckle_joint
1.0
0.0
5.0
- finger_joint
- right_inner_knuckle_joint
+ ${prefix}finger_joint
+ ${prefix}right_inner_knuckle_joint
1.0
0.0
5.0
- finger_joint
- left_inner_knuckle_joint
+ ${prefix}finger_joint
+ ${prefix}left_inner_knuckle_joint
1.0
0.0
5.0
- finger_joint
- left_inner_finger_joint
+ ${prefix}finger_joint
+ ${prefix}left_inner_finger_joint
-1.0
0.0
5.0
- finger_joint
- right_inner_finger_joint
+ ${prefix}finger_joint
+ ${prefix}right_inner_finger_joint
-1.0
0.0
5.0
@@ -59,9 +59,9 @@
my_robotiq_gripper
- bracelet_link
- left_inner_finger
- right_inner_finger
+ ${prefix}bracelet_link
+ ${prefix}left_inner_finger
+ ${prefix}right_inner_finger
100
10
diff --git a/kortex_description/launch/visualize.launch b/kortex_description/launch/visualize.launch
index 30914192..6fe5e26f 100644
--- a/kortex_description/launch/visualize.launch
+++ b/kortex_description/launch/visualize.launch
@@ -14,10 +14,10 @@
-
-
diff --git a/kortex_description/package.xml b/kortex_description/package.xml
index 5f0ba38b..018c38c1 100644
--- a/kortex_description/package.xml
+++ b/kortex_description/package.xml
@@ -1,12 +1,13 @@
kortex_description
- 2.2.1
+ 2.2.2
- URDF Description package for Kortex-compatible robots
+ URDF and xacro description package for Kortex robots
This package contains configuration data, 3D models and launch files
-for Kortex-compatible arms and grippers
+for Kortex arms and supported grippers
-
+ Alexandre Vannobel
+
BSD
catkin
roslaunch
diff --git a/kortex_description/readme.md b/kortex_description/readme.md
index 2ecf830b..1811c64e 100644
--- a/kortex_description/readme.md
+++ b/kortex_description/readme.md
@@ -23,10 +23,10 @@ To load the description of a robot, you simply have to load the **ARM.xacro** or
For example:
- To load the Gen3 description with a Robotiq 2-F 85 gripper for simulation, you would put in your launch file :
-
+
- To load the Gen3 lite description, you would put in your launch file :
-
+
## Tool frame
diff --git a/kortex_driver/CMakeLists.txt b/kortex_driver/CMakeLists.txt
index c092cfdd..7e2c4752 100644
--- a/kortex_driver/CMakeLists.txt
+++ b/kortex_driver/CMakeLists.txt
@@ -17,10 +17,10 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
## find catkin and any catkin packages
-find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs message_generation actionlib control_msgs urdf)
+find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs controller_manager_msgs message_generation actionlib control_msgs urdf moveit_ros_planning_interface)
find_package(Boost REQUIRED COMPONENTS system)
-file(GLOB_RECURSE generated_files RELATIVE ${PROJECT_SOURCE_DIR} "src/generated/*.cpp")
+file(GLOB_RECURSE generated_files RELATIVE ${PROJECT_SOURCE_DIR} "src/generated/robot/*.cpp" "src/generated/simulation/*.cpp")
file(GLOB_RECURSE non_generated_files RELATIVE ${PROJECT_SOURCE_DIR} "src/non-generated/driver/*.cpp")
file(GLOB_RECURSE test_files RELATIVE ${PROJECT_SOURCE_DIR} "src/non-generated/tests/*.cc")
diff --git a/kortex_driver/include/kortex_driver/generated/actuatorconfig_services.h b/kortex_driver/include/kortex_driver/generated/actuatorconfig_services.h
deleted file mode 100644
index 7ec46094..00000000
--- a/kortex_driver/include/kortex_driver/generated/actuatorconfig_services.h
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_ACTUATORCONFIG_SERVICES_H_
-#define _KORTEX_ACTUATORCONFIG_SERVICES_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include "kortex_driver/GetAxisOffsets.h"
-#include "kortex_driver/SetAxisOffsets.h"
-#include "kortex_driver/SetTorqueOffset.h"
-#include "kortex_driver/ActuatorConfig_GetControlMode.h"
-#include "kortex_driver/SetControlMode.h"
-#include "kortex_driver/GetActivatedControlLoop.h"
-#include "kortex_driver/SetActivatedControlLoop.h"
-#include "kortex_driver/GetControlLoopParameters.h"
-#include "kortex_driver/SetControlLoopParameters.h"
-#include "kortex_driver/SelectCustomData.h"
-#include "kortex_driver/GetSelectedCustomData.h"
-#include "kortex_driver/SetCommandMode.h"
-#include "kortex_driver/ActuatorConfig_ClearFaults.h"
-#include "kortex_driver/SetServoing.h"
-#include "kortex_driver/MoveToPosition.h"
-#include "kortex_driver/GetCommandMode.h"
-#include "kortex_driver/GetServoing.h"
-#include "kortex_driver/GetTorqueOffset.h"
-#include "kortex_driver/SetCoggingFeedforwardMode.h"
-#include "kortex_driver/GetCoggingFeedforwardMode.h"
-
-#include "kortex_driver/KortexError.h"
-#include "kortex_driver/SetDeviceID.h"
-#include "kortex_driver/SetApiOptions.h"
-#include "kortex_driver/ApiOptions.h"
-
-using namespace std;
-
-class ActuatorConfigServices
-{
- public:
- ActuatorConfigServices(ros::NodeHandle& n, Kinova::Api::ActuatorConfig::ActuatorConfigClient* actuatorconfig, uint32_t device_id, uint32_t timeout_ms);
-
- bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res);
- bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res);
- bool GetAxisOffsets(kortex_driver::GetAxisOffsets::Request &req, kortex_driver::GetAxisOffsets::Response &res);
- bool SetAxisOffsets(kortex_driver::SetAxisOffsets::Request &req, kortex_driver::SetAxisOffsets::Response &res);
- bool SetTorqueOffset(kortex_driver::SetTorqueOffset::Request &req, kortex_driver::SetTorqueOffset::Response &res);
- bool ActuatorConfig_GetControlMode(kortex_driver::ActuatorConfig_GetControlMode::Request &req, kortex_driver::ActuatorConfig_GetControlMode::Response &res);
- bool SetControlMode(kortex_driver::SetControlMode::Request &req, kortex_driver::SetControlMode::Response &res);
- bool GetActivatedControlLoop(kortex_driver::GetActivatedControlLoop::Request &req, kortex_driver::GetActivatedControlLoop::Response &res);
- bool SetActivatedControlLoop(kortex_driver::SetActivatedControlLoop::Request &req, kortex_driver::SetActivatedControlLoop::Response &res);
- bool GetControlLoopParameters(kortex_driver::GetControlLoopParameters::Request &req, kortex_driver::GetControlLoopParameters::Response &res);
- bool SetControlLoopParameters(kortex_driver::SetControlLoopParameters::Request &req, kortex_driver::SetControlLoopParameters::Response &res);
- bool SelectCustomData(kortex_driver::SelectCustomData::Request &req, kortex_driver::SelectCustomData::Response &res);
- bool GetSelectedCustomData(kortex_driver::GetSelectedCustomData::Request &req, kortex_driver::GetSelectedCustomData::Response &res);
- bool SetCommandMode(kortex_driver::SetCommandMode::Request &req, kortex_driver::SetCommandMode::Response &res);
- bool ActuatorConfig_ClearFaults(kortex_driver::ActuatorConfig_ClearFaults::Request &req, kortex_driver::ActuatorConfig_ClearFaults::Response &res);
- bool SetServoing(kortex_driver::SetServoing::Request &req, kortex_driver::SetServoing::Response &res);
- bool MoveToPosition(kortex_driver::MoveToPosition::Request &req, kortex_driver::MoveToPosition::Response &res);
- bool GetCommandMode(kortex_driver::GetCommandMode::Request &req, kortex_driver::GetCommandMode::Response &res);
- bool GetServoing(kortex_driver::GetServoing::Request &req, kortex_driver::GetServoing::Response &res);
- bool GetTorqueOffset(kortex_driver::GetTorqueOffset::Request &req, kortex_driver::GetTorqueOffset::Response &res);
- bool SetCoggingFeedforwardMode(kortex_driver::SetCoggingFeedforwardMode::Request &req, kortex_driver::SetCoggingFeedforwardMode::Response &res);
- bool GetCoggingFeedforwardMode(kortex_driver::GetCoggingFeedforwardMode::Request &req, kortex_driver::GetCoggingFeedforwardMode::Response &res);
-
-private:
- uint32_t m_current_device_id;
- Kinova::Api::RouterClientSendOptions m_api_options;
-
- Kinova::Api::ActuatorConfig::ActuatorConfigClient* m_actuatorconfig;
-
- ros::NodeHandle m_n;
- ros::Publisher m_pub_Error;
-
- ros::ServiceServer m_serviceSetDeviceID;
- ros::ServiceServer m_serviceSetApiOptions;
-
- ros::ServiceServer m_serviceGetAxisOffsets;
- ros::ServiceServer m_serviceSetAxisOffsets;
- ros::ServiceServer m_serviceSetTorqueOffset;
- ros::ServiceServer m_serviceActuatorConfig_GetControlMode;
- ros::ServiceServer m_serviceSetControlMode;
- ros::ServiceServer m_serviceGetActivatedControlLoop;
- ros::ServiceServer m_serviceSetActivatedControlLoop;
- ros::ServiceServer m_serviceGetControlLoopParameters;
- ros::ServiceServer m_serviceSetControlLoopParameters;
- ros::ServiceServer m_serviceSelectCustomData;
- ros::ServiceServer m_serviceGetSelectedCustomData;
- ros::ServiceServer m_serviceSetCommandMode;
- ros::ServiceServer m_serviceActuatorConfig_ClearFaults;
- ros::ServiceServer m_serviceSetServoing;
- ros::ServiceServer m_serviceMoveToPosition;
- ros::ServiceServer m_serviceGetCommandMode;
- ros::ServiceServer m_serviceGetServoing;
- ros::ServiceServer m_serviceGetTorqueOffset;
- ros::ServiceServer m_serviceSetCoggingFeedforwardMode;
- ros::ServiceServer m_serviceGetCoggingFeedforwardMode;
-};
-#endif
diff --git a/kortex_driver/include/kortex_driver/generated/base_services.h b/kortex_driver/include/kortex_driver/generated/base_services.h
deleted file mode 100644
index ecfa5253..00000000
--- a/kortex_driver/include/kortex_driver/generated/base_services.h
+++ /dev/null
@@ -1,547 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_BASE_SERVICES_H_
-#define _KORTEX_BASE_SERVICES_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include "kortex_driver/CreateUserProfile.h"
-#include "kortex_driver/UpdateUserProfile.h"
-#include "kortex_driver/ReadUserProfile.h"
-#include "kortex_driver/DeleteUserProfile.h"
-#include "kortex_driver/ReadAllUserProfiles.h"
-#include "kortex_driver/ReadAllUsers.h"
-#include "kortex_driver/ChangePassword.h"
-#include "kortex_driver/CreateSequence.h"
-#include "kortex_driver/UpdateSequence.h"
-#include "kortex_driver/ReadSequence.h"
-#include "kortex_driver/DeleteSequence.h"
-#include "kortex_driver/ReadAllSequences.h"
-#include "kortex_driver/PlaySequence.h"
-#include "kortex_driver/PlayAdvancedSequence.h"
-#include "kortex_driver/StopSequence.h"
-#include "kortex_driver/PauseSequence.h"
-#include "kortex_driver/ResumeSequence.h"
-#include "kortex_driver/CreateProtectionZone.h"
-#include "kortex_driver/UpdateProtectionZone.h"
-#include "kortex_driver/ReadProtectionZone.h"
-#include "kortex_driver/DeleteProtectionZone.h"
-#include "kortex_driver/ReadAllProtectionZones.h"
-#include "kortex_driver/CreateMapping.h"
-#include "kortex_driver/ReadMapping.h"
-#include "kortex_driver/UpdateMapping.h"
-#include "kortex_driver/DeleteMapping.h"
-#include "kortex_driver/ReadAllMappings.h"
-#include "kortex_driver/CreateMap.h"
-#include "kortex_driver/ReadMap.h"
-#include "kortex_driver/UpdateMap.h"
-#include "kortex_driver/DeleteMap.h"
-#include "kortex_driver/ReadAllMaps.h"
-#include "kortex_driver/ActivateMap.h"
-#include "kortex_driver/CreateAction.h"
-#include "kortex_driver/ReadAction.h"
-#include "kortex_driver/ReadAllActions.h"
-#include "kortex_driver/DeleteAction.h"
-#include "kortex_driver/UpdateAction.h"
-#include "kortex_driver/ExecuteActionFromReference.h"
-#include "kortex_driver/ExecuteAction.h"
-#include "kortex_driver/PauseAction.h"
-#include "kortex_driver/StopAction.h"
-#include "kortex_driver/ResumeAction.h"
-#include "kortex_driver/GetIPv4Configuration.h"
-#include "kortex_driver/SetIPv4Configuration.h"
-#include "kortex_driver/SetCommunicationInterfaceEnable.h"
-#include "kortex_driver/IsCommunicationInterfaceEnable.h"
-#include "kortex_driver/GetAvailableWifi.h"
-#include "kortex_driver/GetWifiInformation.h"
-#include "kortex_driver/AddWifiConfiguration.h"
-#include "kortex_driver/DeleteWifiConfiguration.h"
-#include "kortex_driver/GetAllConfiguredWifis.h"
-#include "kortex_driver/ConnectWifi.h"
-#include "kortex_driver/DisconnectWifi.h"
-#include "kortex_driver/GetConnectedWifiInformation.h"
-#include "kortex_driver/Base_Unsubscribe.h"
-#include "kortex_driver/OnNotificationConfigurationChangeTopic.h"
-#include "kortex_driver/ConfigurationChangeNotification.h"
-#include "kortex_driver/OnNotificationMappingInfoTopic.h"
-#include "kortex_driver/MappingInfoNotification.h"
-#include "kortex_driver/OnNotificationControlModeTopic.h"
-#include "kortex_driver/ControlModeNotification.h"
-#include "kortex_driver/OnNotificationOperatingModeTopic.h"
-#include "kortex_driver/OperatingModeNotification.h"
-#include "kortex_driver/OnNotificationSequenceInfoTopic.h"
-#include "kortex_driver/SequenceInfoNotification.h"
-#include "kortex_driver/OnNotificationProtectionZoneTopic.h"
-#include "kortex_driver/ProtectionZoneNotification.h"
-#include "kortex_driver/OnNotificationUserTopic.h"
-#include "kortex_driver/UserNotification.h"
-#include "kortex_driver/OnNotificationControllerTopic.h"
-#include "kortex_driver/ControllerNotification.h"
-#include "kortex_driver/OnNotificationActionTopic.h"
-#include "kortex_driver/ActionNotification.h"
-#include "kortex_driver/OnNotificationRobotEventTopic.h"
-#include "kortex_driver/RobotEventNotification.h"
-#include "kortex_driver/PlayCartesianTrajectory.h"
-#include "kortex_driver/PlayCartesianTrajectoryPosition.h"
-#include "kortex_driver/PlayCartesianTrajectoryOrientation.h"
-#include "kortex_driver/Stop.h"
-#include "kortex_driver/GetMeasuredCartesianPose.h"
-#include "kortex_driver/SendWrenchCommand.h"
-#include "kortex_driver/SendWrenchJoystickCommand.h"
-#include "kortex_driver/SendTwistJoystickCommand.h"
-#include "kortex_driver/SendTwistCommand.h"
-#include "kortex_driver/PlayJointTrajectory.h"
-#include "kortex_driver/PlaySelectedJointTrajectory.h"
-#include "kortex_driver/GetMeasuredJointAngles.h"
-#include "kortex_driver/SendJointSpeedsCommand.h"
-#include "kortex_driver/SendSelectedJointSpeedCommand.h"
-#include "kortex_driver/SendGripperCommand.h"
-#include "kortex_driver/GetMeasuredGripperMovement.h"
-#include "kortex_driver/SetAdmittance.h"
-#include "kortex_driver/SetOperatingMode.h"
-#include "kortex_driver/ApplyEmergencyStop.h"
-#include "kortex_driver/Base_ClearFaults.h"
-#include "kortex_driver/Base_GetControlMode.h"
-#include "kortex_driver/GetOperatingMode.h"
-#include "kortex_driver/SetServoingMode.h"
-#include "kortex_driver/GetServoingMode.h"
-#include "kortex_driver/OnNotificationServoingModeTopic.h"
-#include "kortex_driver/ServoingModeNotification.h"
-#include "kortex_driver/RestoreFactorySettings.h"
-#include "kortex_driver/OnNotificationFactoryTopic.h"
-#include "kortex_driver/FactoryNotification.h"
-#include "kortex_driver/GetAllConnectedControllers.h"
-#include "kortex_driver/GetControllerState.h"
-#include "kortex_driver/GetActuatorCount.h"
-#include "kortex_driver/StartWifiScan.h"
-#include "kortex_driver/GetConfiguredWifi.h"
-#include "kortex_driver/OnNotificationNetworkTopic.h"
-#include "kortex_driver/NetworkNotification.h"
-#include "kortex_driver/GetArmState.h"
-#include "kortex_driver/OnNotificationArmStateTopic.h"
-#include "kortex_driver/ArmStateNotification.h"
-#include "kortex_driver/GetIPv4Information.h"
-#include "kortex_driver/SetWifiCountryCode.h"
-#include "kortex_driver/GetWifiCountryCode.h"
-#include "kortex_driver/Base_SetCapSenseConfig.h"
-#include "kortex_driver/Base_GetCapSenseConfig.h"
-#include "kortex_driver/GetAllJointsSpeedHardLimitation.h"
-#include "kortex_driver/GetAllJointsTorqueHardLimitation.h"
-#include "kortex_driver/GetTwistHardLimitation.h"
-#include "kortex_driver/GetWrenchHardLimitation.h"
-#include "kortex_driver/SendJointSpeedsJoystickCommand.h"
-#include "kortex_driver/SendSelectedJointSpeedJoystickCommand.h"
-#include "kortex_driver/EnableBridge.h"
-#include "kortex_driver/DisableBridge.h"
-#include "kortex_driver/GetBridgeList.h"
-#include "kortex_driver/GetBridgeConfig.h"
-#include "kortex_driver/PlayPreComputedJointTrajectory.h"
-#include "kortex_driver/GetProductConfiguration.h"
-#include "kortex_driver/UpdateEndEffectorTypeConfiguration.h"
-#include "kortex_driver/RestoreFactoryProductConfiguration.h"
-#include "kortex_driver/GetTrajectoryErrorReport.h"
-#include "kortex_driver/GetAllJointsSpeedSoftLimitation.h"
-#include "kortex_driver/GetAllJointsTorqueSoftLimitation.h"
-#include "kortex_driver/GetTwistSoftLimitation.h"
-#include "kortex_driver/GetWrenchSoftLimitation.h"
-#include "kortex_driver/SetControllerConfigurationMode.h"
-#include "kortex_driver/GetControllerConfigurationMode.h"
-#include "kortex_driver/StartTeaching.h"
-#include "kortex_driver/StopTeaching.h"
-#include "kortex_driver/AddSequenceTasks.h"
-#include "kortex_driver/UpdateSequenceTask.h"
-#include "kortex_driver/SwapSequenceTasks.h"
-#include "kortex_driver/ReadSequenceTask.h"
-#include "kortex_driver/ReadAllSequenceTasks.h"
-#include "kortex_driver/DeleteSequenceTask.h"
-#include "kortex_driver/DeleteAllSequenceTasks.h"
-#include "kortex_driver/TakeSnapshot.h"
-#include "kortex_driver/GetFirmwareBundleVersions.h"
-#include "kortex_driver/MoveSequenceTask.h"
-#include "kortex_driver/DuplicateMapping.h"
-#include "kortex_driver/DuplicateMap.h"
-#include "kortex_driver/SetControllerConfiguration.h"
-#include "kortex_driver/GetControllerConfiguration.h"
-#include "kortex_driver/GetAllControllerConfigurations.h"
-
-#include "kortex_driver/KortexError.h"
-#include "kortex_driver/SetDeviceID.h"
-#include "kortex_driver/SetApiOptions.h"
-#include "kortex_driver/ApiOptions.h"
-
-using namespace std;
-
-class BaseServices
-{
- public:
- BaseServices(ros::NodeHandle& n, Kinova::Api::Base::BaseClient* base, uint32_t device_id, uint32_t timeout_ms);
-
- bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res);
- bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res);
- bool CreateUserProfile(kortex_driver::CreateUserProfile::Request &req, kortex_driver::CreateUserProfile::Response &res);
- bool UpdateUserProfile(kortex_driver::UpdateUserProfile::Request &req, kortex_driver::UpdateUserProfile::Response &res);
- bool ReadUserProfile(kortex_driver::ReadUserProfile::Request &req, kortex_driver::ReadUserProfile::Response &res);
- bool DeleteUserProfile(kortex_driver::DeleteUserProfile::Request &req, kortex_driver::DeleteUserProfile::Response &res);
- bool ReadAllUserProfiles(kortex_driver::ReadAllUserProfiles::Request &req, kortex_driver::ReadAllUserProfiles::Response &res);
- bool ReadAllUsers(kortex_driver::ReadAllUsers::Request &req, kortex_driver::ReadAllUsers::Response &res);
- bool ChangePassword(kortex_driver::ChangePassword::Request &req, kortex_driver::ChangePassword::Response &res);
- bool CreateSequence(kortex_driver::CreateSequence::Request &req, kortex_driver::CreateSequence::Response &res);
- bool UpdateSequence(kortex_driver::UpdateSequence::Request &req, kortex_driver::UpdateSequence::Response &res);
- bool ReadSequence(kortex_driver::ReadSequence::Request &req, kortex_driver::ReadSequence::Response &res);
- bool DeleteSequence(kortex_driver::DeleteSequence::Request &req, kortex_driver::DeleteSequence::Response &res);
- bool ReadAllSequences(kortex_driver::ReadAllSequences::Request &req, kortex_driver::ReadAllSequences::Response &res);
- bool PlaySequence(kortex_driver::PlaySequence::Request &req, kortex_driver::PlaySequence::Response &res);
- bool PlayAdvancedSequence(kortex_driver::PlayAdvancedSequence::Request &req, kortex_driver::PlayAdvancedSequence::Response &res);
- bool StopSequence(kortex_driver::StopSequence::Request &req, kortex_driver::StopSequence::Response &res);
- bool PauseSequence(kortex_driver::PauseSequence::Request &req, kortex_driver::PauseSequence::Response &res);
- bool ResumeSequence(kortex_driver::ResumeSequence::Request &req, kortex_driver::ResumeSequence::Response &res);
- bool CreateProtectionZone(kortex_driver::CreateProtectionZone::Request &req, kortex_driver::CreateProtectionZone::Response &res);
- bool UpdateProtectionZone(kortex_driver::UpdateProtectionZone::Request &req, kortex_driver::UpdateProtectionZone::Response &res);
- bool ReadProtectionZone(kortex_driver::ReadProtectionZone::Request &req, kortex_driver::ReadProtectionZone::Response &res);
- bool DeleteProtectionZone(kortex_driver::DeleteProtectionZone::Request &req, kortex_driver::DeleteProtectionZone::Response &res);
- bool ReadAllProtectionZones(kortex_driver::ReadAllProtectionZones::Request &req, kortex_driver::ReadAllProtectionZones::Response &res);
- bool CreateMapping(kortex_driver::CreateMapping::Request &req, kortex_driver::CreateMapping::Response &res);
- bool ReadMapping(kortex_driver::ReadMapping::Request &req, kortex_driver::ReadMapping::Response &res);
- bool UpdateMapping(kortex_driver::UpdateMapping::Request &req, kortex_driver::UpdateMapping::Response &res);
- bool DeleteMapping(kortex_driver::DeleteMapping::Request &req, kortex_driver::DeleteMapping::Response &res);
- bool ReadAllMappings(kortex_driver::ReadAllMappings::Request &req, kortex_driver::ReadAllMappings::Response &res);
- bool CreateMap(kortex_driver::CreateMap::Request &req, kortex_driver::CreateMap::Response &res);
- bool ReadMap(kortex_driver::ReadMap::Request &req, kortex_driver::ReadMap::Response &res);
- bool UpdateMap(kortex_driver::UpdateMap::Request &req, kortex_driver::UpdateMap::Response &res);
- bool DeleteMap(kortex_driver::DeleteMap::Request &req, kortex_driver::DeleteMap::Response &res);
- bool ReadAllMaps(kortex_driver::ReadAllMaps::Request &req, kortex_driver::ReadAllMaps::Response &res);
- bool ActivateMap(kortex_driver::ActivateMap::Request &req, kortex_driver::ActivateMap::Response &res);
- bool CreateAction(kortex_driver::CreateAction::Request &req, kortex_driver::CreateAction::Response &res);
- bool ReadAction(kortex_driver::ReadAction::Request &req, kortex_driver::ReadAction::Response &res);
- bool ReadAllActions(kortex_driver::ReadAllActions::Request &req, kortex_driver::ReadAllActions::Response &res);
- bool DeleteAction(kortex_driver::DeleteAction::Request &req, kortex_driver::DeleteAction::Response &res);
- bool UpdateAction(kortex_driver::UpdateAction::Request &req, kortex_driver::UpdateAction::Response &res);
- bool ExecuteActionFromReference(kortex_driver::ExecuteActionFromReference::Request &req, kortex_driver::ExecuteActionFromReference::Response &res);
- bool ExecuteAction(kortex_driver::ExecuteAction::Request &req, kortex_driver::ExecuteAction::Response &res);
- bool PauseAction(kortex_driver::PauseAction::Request &req, kortex_driver::PauseAction::Response &res);
- bool StopAction(kortex_driver::StopAction::Request &req, kortex_driver::StopAction::Response &res);
- bool ResumeAction(kortex_driver::ResumeAction::Request &req, kortex_driver::ResumeAction::Response &res);
- bool GetIPv4Configuration(kortex_driver::GetIPv4Configuration::Request &req, kortex_driver::GetIPv4Configuration::Response &res);
- bool SetIPv4Configuration(kortex_driver::SetIPv4Configuration::Request &req, kortex_driver::SetIPv4Configuration::Response &res);
- bool SetCommunicationInterfaceEnable(kortex_driver::SetCommunicationInterfaceEnable::Request &req, kortex_driver::SetCommunicationInterfaceEnable::Response &res);
- bool IsCommunicationInterfaceEnable(kortex_driver::IsCommunicationInterfaceEnable::Request &req, kortex_driver::IsCommunicationInterfaceEnable::Response &res);
- bool GetAvailableWifi(kortex_driver::GetAvailableWifi::Request &req, kortex_driver::GetAvailableWifi::Response &res);
- bool GetWifiInformation(kortex_driver::GetWifiInformation::Request &req, kortex_driver::GetWifiInformation::Response &res);
- bool AddWifiConfiguration(kortex_driver::AddWifiConfiguration::Request &req, kortex_driver::AddWifiConfiguration::Response &res);
- bool DeleteWifiConfiguration(kortex_driver::DeleteWifiConfiguration::Request &req, kortex_driver::DeleteWifiConfiguration::Response &res);
- bool GetAllConfiguredWifis(kortex_driver::GetAllConfiguredWifis::Request &req, kortex_driver::GetAllConfiguredWifis::Response &res);
- bool ConnectWifi(kortex_driver::ConnectWifi::Request &req, kortex_driver::ConnectWifi::Response &res);
- bool DisconnectWifi(kortex_driver::DisconnectWifi::Request &req, kortex_driver::DisconnectWifi::Response &res);
- bool GetConnectedWifiInformation(kortex_driver::GetConnectedWifiInformation::Request &req, kortex_driver::GetConnectedWifiInformation::Response &res);
- bool Base_Unsubscribe(kortex_driver::Base_Unsubscribe::Request &req, kortex_driver::Base_Unsubscribe::Response &res);
- bool OnNotificationConfigurationChangeTopic(kortex_driver::OnNotificationConfigurationChangeTopic::Request &req, kortex_driver::OnNotificationConfigurationChangeTopic::Response &res);
- void cb_ConfigurationChangeTopic(Kinova::Api::Base::ConfigurationChangeNotification notif);
- bool OnNotificationMappingInfoTopic(kortex_driver::OnNotificationMappingInfoTopic::Request &req, kortex_driver::OnNotificationMappingInfoTopic::Response &res);
- void cb_MappingInfoTopic(Kinova::Api::Base::MappingInfoNotification notif);
- bool OnNotificationControlModeTopic(kortex_driver::OnNotificationControlModeTopic::Request &req, kortex_driver::OnNotificationControlModeTopic::Response &res);
- void cb_ControlModeTopic(Kinova::Api::Base::ControlModeNotification notif);
- bool OnNotificationOperatingModeTopic(kortex_driver::OnNotificationOperatingModeTopic::Request &req, kortex_driver::OnNotificationOperatingModeTopic::Response &res);
- void cb_OperatingModeTopic(Kinova::Api::Base::OperatingModeNotification notif);
- bool OnNotificationSequenceInfoTopic(kortex_driver::OnNotificationSequenceInfoTopic::Request &req, kortex_driver::OnNotificationSequenceInfoTopic::Response &res);
- void cb_SequenceInfoTopic(Kinova::Api::Base::SequenceInfoNotification notif);
- bool OnNotificationProtectionZoneTopic(kortex_driver::OnNotificationProtectionZoneTopic::Request &req, kortex_driver::OnNotificationProtectionZoneTopic::Response &res);
- void cb_ProtectionZoneTopic(Kinova::Api::Base::ProtectionZoneNotification notif);
- bool OnNotificationUserTopic(kortex_driver::OnNotificationUserTopic::Request &req, kortex_driver::OnNotificationUserTopic::Response &res);
- void cb_UserTopic(Kinova::Api::Base::UserNotification notif);
- bool OnNotificationControllerTopic(kortex_driver::OnNotificationControllerTopic::Request &req, kortex_driver::OnNotificationControllerTopic::Response &res);
- void cb_ControllerTopic(Kinova::Api::Base::ControllerNotification notif);
- bool OnNotificationActionTopic(kortex_driver::OnNotificationActionTopic::Request &req, kortex_driver::OnNotificationActionTopic::Response &res);
- void cb_ActionTopic(Kinova::Api::Base::ActionNotification notif);
- bool OnNotificationRobotEventTopic(kortex_driver::OnNotificationRobotEventTopic::Request &req, kortex_driver::OnNotificationRobotEventTopic::Response &res);
- void cb_RobotEventTopic(Kinova::Api::Base::RobotEventNotification notif);
- bool PlayCartesianTrajectory(kortex_driver::PlayCartesianTrajectory::Request &req, kortex_driver::PlayCartesianTrajectory::Response &res);
- bool PlayCartesianTrajectoryPosition(kortex_driver::PlayCartesianTrajectoryPosition::Request &req, kortex_driver::PlayCartesianTrajectoryPosition::Response &res);
- bool PlayCartesianTrajectoryOrientation(kortex_driver::PlayCartesianTrajectoryOrientation::Request &req, kortex_driver::PlayCartesianTrajectoryOrientation::Response &res);
- bool Stop(kortex_driver::Stop::Request &req, kortex_driver::Stop::Response &res);
- bool GetMeasuredCartesianPose(kortex_driver::GetMeasuredCartesianPose::Request &req, kortex_driver::GetMeasuredCartesianPose::Response &res);
- bool SendWrenchCommand(kortex_driver::SendWrenchCommand::Request &req, kortex_driver::SendWrenchCommand::Response &res);
- bool SendWrenchJoystickCommand(kortex_driver::SendWrenchJoystickCommand::Request &req, kortex_driver::SendWrenchJoystickCommand::Response &res);
- bool SendTwistJoystickCommand(kortex_driver::SendTwistJoystickCommand::Request &req, kortex_driver::SendTwistJoystickCommand::Response &res);
- bool SendTwistCommand(kortex_driver::SendTwistCommand::Request &req, kortex_driver::SendTwistCommand::Response &res);
- bool PlayJointTrajectory(kortex_driver::PlayJointTrajectory::Request &req, kortex_driver::PlayJointTrajectory::Response &res);
- bool PlaySelectedJointTrajectory(kortex_driver::PlaySelectedJointTrajectory::Request &req, kortex_driver::PlaySelectedJointTrajectory::Response &res);
- bool GetMeasuredJointAngles(kortex_driver::GetMeasuredJointAngles::Request &req, kortex_driver::GetMeasuredJointAngles::Response &res);
- bool SendJointSpeedsCommand(kortex_driver::SendJointSpeedsCommand::Request &req, kortex_driver::SendJointSpeedsCommand::Response &res);
- bool SendSelectedJointSpeedCommand(kortex_driver::SendSelectedJointSpeedCommand::Request &req, kortex_driver::SendSelectedJointSpeedCommand::Response &res);
- bool SendGripperCommand(kortex_driver::SendGripperCommand::Request &req, kortex_driver::SendGripperCommand::Response &res);
- bool GetMeasuredGripperMovement(kortex_driver::GetMeasuredGripperMovement::Request &req, kortex_driver::GetMeasuredGripperMovement::Response &res);
- bool SetAdmittance(kortex_driver::SetAdmittance::Request &req, kortex_driver::SetAdmittance::Response &res);
- bool SetOperatingMode(kortex_driver::SetOperatingMode::Request &req, kortex_driver::SetOperatingMode::Response &res);
- bool ApplyEmergencyStop(kortex_driver::ApplyEmergencyStop::Request &req, kortex_driver::ApplyEmergencyStop::Response &res);
- bool Base_ClearFaults(kortex_driver::Base_ClearFaults::Request &req, kortex_driver::Base_ClearFaults::Response &res);
- bool Base_GetControlMode(kortex_driver::Base_GetControlMode::Request &req, kortex_driver::Base_GetControlMode::Response &res);
- bool GetOperatingMode(kortex_driver::GetOperatingMode::Request &req, kortex_driver::GetOperatingMode::Response &res);
- bool SetServoingMode(kortex_driver::SetServoingMode::Request &req, kortex_driver::SetServoingMode::Response &res);
- bool GetServoingMode(kortex_driver::GetServoingMode::Request &req, kortex_driver::GetServoingMode::Response &res);
- bool OnNotificationServoingModeTopic(kortex_driver::OnNotificationServoingModeTopic::Request &req, kortex_driver::OnNotificationServoingModeTopic::Response &res);
- void cb_ServoingModeTopic(Kinova::Api::Base::ServoingModeNotification notif);
- bool RestoreFactorySettings(kortex_driver::RestoreFactorySettings::Request &req, kortex_driver::RestoreFactorySettings::Response &res);
- bool OnNotificationFactoryTopic(kortex_driver::OnNotificationFactoryTopic::Request &req, kortex_driver::OnNotificationFactoryTopic::Response &res);
- void cb_FactoryTopic(Kinova::Api::Base::FactoryNotification notif);
- bool GetAllConnectedControllers(kortex_driver::GetAllConnectedControllers::Request &req, kortex_driver::GetAllConnectedControllers::Response &res);
- bool GetControllerState(kortex_driver::GetControllerState::Request &req, kortex_driver::GetControllerState::Response &res);
- bool GetActuatorCount(kortex_driver::GetActuatorCount::Request &req, kortex_driver::GetActuatorCount::Response &res);
- bool StartWifiScan(kortex_driver::StartWifiScan::Request &req, kortex_driver::StartWifiScan::Response &res);
- bool GetConfiguredWifi(kortex_driver::GetConfiguredWifi::Request &req, kortex_driver::GetConfiguredWifi::Response &res);
- bool OnNotificationNetworkTopic(kortex_driver::OnNotificationNetworkTopic::Request &req, kortex_driver::OnNotificationNetworkTopic::Response &res);
- void cb_NetworkTopic(Kinova::Api::Base::NetworkNotification notif);
- bool GetArmState(kortex_driver::GetArmState::Request &req, kortex_driver::GetArmState::Response &res);
- bool OnNotificationArmStateTopic(kortex_driver::OnNotificationArmStateTopic::Request &req, kortex_driver::OnNotificationArmStateTopic::Response &res);
- void cb_ArmStateTopic(Kinova::Api::Base::ArmStateNotification notif);
- bool GetIPv4Information(kortex_driver::GetIPv4Information::Request &req, kortex_driver::GetIPv4Information::Response &res);
- bool SetWifiCountryCode(kortex_driver::SetWifiCountryCode::Request &req, kortex_driver::SetWifiCountryCode::Response &res);
- bool GetWifiCountryCode(kortex_driver::GetWifiCountryCode::Request &req, kortex_driver::GetWifiCountryCode::Response &res);
- bool Base_SetCapSenseConfig(kortex_driver::Base_SetCapSenseConfig::Request &req, kortex_driver::Base_SetCapSenseConfig::Response &res);
- bool Base_GetCapSenseConfig(kortex_driver::Base_GetCapSenseConfig::Request &req, kortex_driver::Base_GetCapSenseConfig::Response &res);
- bool GetAllJointsSpeedHardLimitation(kortex_driver::GetAllJointsSpeedHardLimitation::Request &req, kortex_driver::GetAllJointsSpeedHardLimitation::Response &res);
- bool GetAllJointsTorqueHardLimitation(kortex_driver::GetAllJointsTorqueHardLimitation::Request &req, kortex_driver::GetAllJointsTorqueHardLimitation::Response &res);
- bool GetTwistHardLimitation(kortex_driver::GetTwistHardLimitation::Request &req, kortex_driver::GetTwistHardLimitation::Response &res);
- bool GetWrenchHardLimitation(kortex_driver::GetWrenchHardLimitation::Request &req, kortex_driver::GetWrenchHardLimitation::Response &res);
- bool SendJointSpeedsJoystickCommand(kortex_driver::SendJointSpeedsJoystickCommand::Request &req, kortex_driver::SendJointSpeedsJoystickCommand::Response &res);
- bool SendSelectedJointSpeedJoystickCommand(kortex_driver::SendSelectedJointSpeedJoystickCommand::Request &req, kortex_driver::SendSelectedJointSpeedJoystickCommand::Response &res);
- bool EnableBridge(kortex_driver::EnableBridge::Request &req, kortex_driver::EnableBridge::Response &res);
- bool DisableBridge(kortex_driver::DisableBridge::Request &req, kortex_driver::DisableBridge::Response &res);
- bool GetBridgeList(kortex_driver::GetBridgeList::Request &req, kortex_driver::GetBridgeList::Response &res);
- bool GetBridgeConfig(kortex_driver::GetBridgeConfig::Request &req, kortex_driver::GetBridgeConfig::Response &res);
- bool PlayPreComputedJointTrajectory(kortex_driver::PlayPreComputedJointTrajectory::Request &req, kortex_driver::PlayPreComputedJointTrajectory::Response &res);
- bool GetProductConfiguration(kortex_driver::GetProductConfiguration::Request &req, kortex_driver::GetProductConfiguration::Response &res);
- bool UpdateEndEffectorTypeConfiguration(kortex_driver::UpdateEndEffectorTypeConfiguration::Request &req, kortex_driver::UpdateEndEffectorTypeConfiguration::Response &res);
- bool RestoreFactoryProductConfiguration(kortex_driver::RestoreFactoryProductConfiguration::Request &req, kortex_driver::RestoreFactoryProductConfiguration::Response &res);
- bool GetTrajectoryErrorReport(kortex_driver::GetTrajectoryErrorReport::Request &req, kortex_driver::GetTrajectoryErrorReport::Response &res);
- bool GetAllJointsSpeedSoftLimitation(kortex_driver::GetAllJointsSpeedSoftLimitation::Request &req, kortex_driver::GetAllJointsSpeedSoftLimitation::Response &res);
- bool GetAllJointsTorqueSoftLimitation(kortex_driver::GetAllJointsTorqueSoftLimitation::Request &req, kortex_driver::GetAllJointsTorqueSoftLimitation::Response &res);
- bool GetTwistSoftLimitation(kortex_driver::GetTwistSoftLimitation::Request &req, kortex_driver::GetTwistSoftLimitation::Response &res);
- bool GetWrenchSoftLimitation(kortex_driver::GetWrenchSoftLimitation::Request &req, kortex_driver::GetWrenchSoftLimitation::Response &res);
- bool SetControllerConfigurationMode(kortex_driver::SetControllerConfigurationMode::Request &req, kortex_driver::SetControllerConfigurationMode::Response &res);
- bool GetControllerConfigurationMode(kortex_driver::GetControllerConfigurationMode::Request &req, kortex_driver::GetControllerConfigurationMode::Response &res);
- bool StartTeaching(kortex_driver::StartTeaching::Request &req, kortex_driver::StartTeaching::Response &res);
- bool StopTeaching(kortex_driver::StopTeaching::Request &req, kortex_driver::StopTeaching::Response &res);
- bool AddSequenceTasks(kortex_driver::AddSequenceTasks::Request &req, kortex_driver::AddSequenceTasks::Response &res);
- bool UpdateSequenceTask(kortex_driver::UpdateSequenceTask::Request &req, kortex_driver::UpdateSequenceTask::Response &res);
- bool SwapSequenceTasks(kortex_driver::SwapSequenceTasks::Request &req, kortex_driver::SwapSequenceTasks::Response &res);
- bool ReadSequenceTask(kortex_driver::ReadSequenceTask::Request &req, kortex_driver::ReadSequenceTask::Response &res);
- bool ReadAllSequenceTasks(kortex_driver::ReadAllSequenceTasks::Request &req, kortex_driver::ReadAllSequenceTasks::Response &res);
- bool DeleteSequenceTask(kortex_driver::DeleteSequenceTask::Request &req, kortex_driver::DeleteSequenceTask::Response &res);
- bool DeleteAllSequenceTasks(kortex_driver::DeleteAllSequenceTasks::Request &req, kortex_driver::DeleteAllSequenceTasks::Response &res);
- bool TakeSnapshot(kortex_driver::TakeSnapshot::Request &req, kortex_driver::TakeSnapshot::Response &res);
- bool GetFirmwareBundleVersions(kortex_driver::GetFirmwareBundleVersions::Request &req, kortex_driver::GetFirmwareBundleVersions::Response &res);
- bool MoveSequenceTask(kortex_driver::MoveSequenceTask::Request &req, kortex_driver::MoveSequenceTask::Response &res);
- bool DuplicateMapping(kortex_driver::DuplicateMapping::Request &req, kortex_driver::DuplicateMapping::Response &res);
- bool DuplicateMap(kortex_driver::DuplicateMap::Request &req, kortex_driver::DuplicateMap::Response &res);
- bool SetControllerConfiguration(kortex_driver::SetControllerConfiguration::Request &req, kortex_driver::SetControllerConfiguration::Response &res);
- bool GetControllerConfiguration(kortex_driver::GetControllerConfiguration::Request &req, kortex_driver::GetControllerConfiguration::Response &res);
- bool GetAllControllerConfigurations(kortex_driver::GetAllControllerConfigurations::Request &req, kortex_driver::GetAllControllerConfigurations::Response &res);
-
-private:
- uint32_t m_current_device_id;
- Kinova::Api::RouterClientSendOptions m_api_options;
-
- Kinova::Api::Base::BaseClient* m_base;
-
- ros::NodeHandle m_n;
- ros::Publisher m_pub_Error;
- ros::Publisher m_pub_ConfigurationChangeTopic;
- bool m_is_activated_ConfigurationChangeTopic;
- ros::Publisher m_pub_MappingInfoTopic;
- bool m_is_activated_MappingInfoTopic;
- ros::Publisher m_pub_ControlModeTopic;
- bool m_is_activated_ControlModeTopic;
- ros::Publisher m_pub_OperatingModeTopic;
- bool m_is_activated_OperatingModeTopic;
- ros::Publisher m_pub_SequenceInfoTopic;
- bool m_is_activated_SequenceInfoTopic;
- ros::Publisher m_pub_ProtectionZoneTopic;
- bool m_is_activated_ProtectionZoneTopic;
- ros::Publisher m_pub_UserTopic;
- bool m_is_activated_UserTopic;
- ros::Publisher m_pub_ControllerTopic;
- bool m_is_activated_ControllerTopic;
- ros::Publisher m_pub_ActionTopic;
- bool m_is_activated_ActionTopic;
- ros::Publisher m_pub_RobotEventTopic;
- bool m_is_activated_RobotEventTopic;
- ros::Publisher m_pub_ServoingModeTopic;
- bool m_is_activated_ServoingModeTopic;
- ros::Publisher m_pub_FactoryTopic;
- bool m_is_activated_FactoryTopic;
- ros::Publisher m_pub_NetworkTopic;
- bool m_is_activated_NetworkTopic;
- ros::Publisher m_pub_ArmStateTopic;
- bool m_is_activated_ArmStateTopic;
-
- ros::ServiceServer m_serviceSetDeviceID;
- ros::ServiceServer m_serviceSetApiOptions;
-
- ros::ServiceServer m_serviceCreateUserProfile;
- ros::ServiceServer m_serviceUpdateUserProfile;
- ros::ServiceServer m_serviceReadUserProfile;
- ros::ServiceServer m_serviceDeleteUserProfile;
- ros::ServiceServer m_serviceReadAllUserProfiles;
- ros::ServiceServer m_serviceReadAllUsers;
- ros::ServiceServer m_serviceChangePassword;
- ros::ServiceServer m_serviceCreateSequence;
- ros::ServiceServer m_serviceUpdateSequence;
- ros::ServiceServer m_serviceReadSequence;
- ros::ServiceServer m_serviceDeleteSequence;
- ros::ServiceServer m_serviceReadAllSequences;
- ros::ServiceServer m_servicePlaySequence;
- ros::ServiceServer m_servicePlayAdvancedSequence;
- ros::ServiceServer m_serviceStopSequence;
- ros::ServiceServer m_servicePauseSequence;
- ros::ServiceServer m_serviceResumeSequence;
- ros::ServiceServer m_serviceCreateProtectionZone;
- ros::ServiceServer m_serviceUpdateProtectionZone;
- ros::ServiceServer m_serviceReadProtectionZone;
- ros::ServiceServer m_serviceDeleteProtectionZone;
- ros::ServiceServer m_serviceReadAllProtectionZones;
- ros::ServiceServer m_serviceCreateMapping;
- ros::ServiceServer m_serviceReadMapping;
- ros::ServiceServer m_serviceUpdateMapping;
- ros::ServiceServer m_serviceDeleteMapping;
- ros::ServiceServer m_serviceReadAllMappings;
- ros::ServiceServer m_serviceCreateMap;
- ros::ServiceServer m_serviceReadMap;
- ros::ServiceServer m_serviceUpdateMap;
- ros::ServiceServer m_serviceDeleteMap;
- ros::ServiceServer m_serviceReadAllMaps;
- ros::ServiceServer m_serviceActivateMap;
- ros::ServiceServer m_serviceCreateAction;
- ros::ServiceServer m_serviceReadAction;
- ros::ServiceServer m_serviceReadAllActions;
- ros::ServiceServer m_serviceDeleteAction;
- ros::ServiceServer m_serviceUpdateAction;
- ros::ServiceServer m_serviceExecuteActionFromReference;
- ros::ServiceServer m_serviceExecuteAction;
- ros::ServiceServer m_servicePauseAction;
- ros::ServiceServer m_serviceStopAction;
- ros::ServiceServer m_serviceResumeAction;
- ros::ServiceServer m_serviceGetIPv4Configuration;
- ros::ServiceServer m_serviceSetIPv4Configuration;
- ros::ServiceServer m_serviceSetCommunicationInterfaceEnable;
- ros::ServiceServer m_serviceIsCommunicationInterfaceEnable;
- ros::ServiceServer m_serviceGetAvailableWifi;
- ros::ServiceServer m_serviceGetWifiInformation;
- ros::ServiceServer m_serviceAddWifiConfiguration;
- ros::ServiceServer m_serviceDeleteWifiConfiguration;
- ros::ServiceServer m_serviceGetAllConfiguredWifis;
- ros::ServiceServer m_serviceConnectWifi;
- ros::ServiceServer m_serviceDisconnectWifi;
- ros::ServiceServer m_serviceGetConnectedWifiInformation;
- ros::ServiceServer m_serviceBase_Unsubscribe;
- ros::ServiceServer m_serviceOnNotificationConfigurationChangeTopic;
- ros::ServiceServer m_serviceOnNotificationMappingInfoTopic;
- ros::ServiceServer m_serviceOnNotificationControlModeTopic;
- ros::ServiceServer m_serviceOnNotificationOperatingModeTopic;
- ros::ServiceServer m_serviceOnNotificationSequenceInfoTopic;
- ros::ServiceServer m_serviceOnNotificationProtectionZoneTopic;
- ros::ServiceServer m_serviceOnNotificationUserTopic;
- ros::ServiceServer m_serviceOnNotificationControllerTopic;
- ros::ServiceServer m_serviceOnNotificationActionTopic;
- ros::ServiceServer m_serviceOnNotificationRobotEventTopic;
- ros::ServiceServer m_servicePlayCartesianTrajectory;
- ros::ServiceServer m_servicePlayCartesianTrajectoryPosition;
- ros::ServiceServer m_servicePlayCartesianTrajectoryOrientation;
- ros::ServiceServer m_serviceStop;
- ros::ServiceServer m_serviceGetMeasuredCartesianPose;
- ros::ServiceServer m_serviceSendWrenchCommand;
- ros::ServiceServer m_serviceSendWrenchJoystickCommand;
- ros::ServiceServer m_serviceSendTwistJoystickCommand;
- ros::ServiceServer m_serviceSendTwistCommand;
- ros::ServiceServer m_servicePlayJointTrajectory;
- ros::ServiceServer m_servicePlaySelectedJointTrajectory;
- ros::ServiceServer m_serviceGetMeasuredJointAngles;
- ros::ServiceServer m_serviceSendJointSpeedsCommand;
- ros::ServiceServer m_serviceSendSelectedJointSpeedCommand;
- ros::ServiceServer m_serviceSendGripperCommand;
- ros::ServiceServer m_serviceGetMeasuredGripperMovement;
- ros::ServiceServer m_serviceSetAdmittance;
- ros::ServiceServer m_serviceSetOperatingMode;
- ros::ServiceServer m_serviceApplyEmergencyStop;
- ros::ServiceServer m_serviceBase_ClearFaults;
- ros::ServiceServer m_serviceBase_GetControlMode;
- ros::ServiceServer m_serviceGetOperatingMode;
- ros::ServiceServer m_serviceSetServoingMode;
- ros::ServiceServer m_serviceGetServoingMode;
- ros::ServiceServer m_serviceOnNotificationServoingModeTopic;
- ros::ServiceServer m_serviceRestoreFactorySettings;
- ros::ServiceServer m_serviceOnNotificationFactoryTopic;
- ros::ServiceServer m_serviceGetAllConnectedControllers;
- ros::ServiceServer m_serviceGetControllerState;
- ros::ServiceServer m_serviceGetActuatorCount;
- ros::ServiceServer m_serviceStartWifiScan;
- ros::ServiceServer m_serviceGetConfiguredWifi;
- ros::ServiceServer m_serviceOnNotificationNetworkTopic;
- ros::ServiceServer m_serviceGetArmState;
- ros::ServiceServer m_serviceOnNotificationArmStateTopic;
- ros::ServiceServer m_serviceGetIPv4Information;
- ros::ServiceServer m_serviceSetWifiCountryCode;
- ros::ServiceServer m_serviceGetWifiCountryCode;
- ros::ServiceServer m_serviceBase_SetCapSenseConfig;
- ros::ServiceServer m_serviceBase_GetCapSenseConfig;
- ros::ServiceServer m_serviceGetAllJointsSpeedHardLimitation;
- ros::ServiceServer m_serviceGetAllJointsTorqueHardLimitation;
- ros::ServiceServer m_serviceGetTwistHardLimitation;
- ros::ServiceServer m_serviceGetWrenchHardLimitation;
- ros::ServiceServer m_serviceSendJointSpeedsJoystickCommand;
- ros::ServiceServer m_serviceSendSelectedJointSpeedJoystickCommand;
- ros::ServiceServer m_serviceEnableBridge;
- ros::ServiceServer m_serviceDisableBridge;
- ros::ServiceServer m_serviceGetBridgeList;
- ros::ServiceServer m_serviceGetBridgeConfig;
- ros::ServiceServer m_servicePlayPreComputedJointTrajectory;
- ros::ServiceServer m_serviceGetProductConfiguration;
- ros::ServiceServer m_serviceUpdateEndEffectorTypeConfiguration;
- ros::ServiceServer m_serviceRestoreFactoryProductConfiguration;
- ros::ServiceServer m_serviceGetTrajectoryErrorReport;
- ros::ServiceServer m_serviceGetAllJointsSpeedSoftLimitation;
- ros::ServiceServer m_serviceGetAllJointsTorqueSoftLimitation;
- ros::ServiceServer m_serviceGetTwistSoftLimitation;
- ros::ServiceServer m_serviceGetWrenchSoftLimitation;
- ros::ServiceServer m_serviceSetControllerConfigurationMode;
- ros::ServiceServer m_serviceGetControllerConfigurationMode;
- ros::ServiceServer m_serviceStartTeaching;
- ros::ServiceServer m_serviceStopTeaching;
- ros::ServiceServer m_serviceAddSequenceTasks;
- ros::ServiceServer m_serviceUpdateSequenceTask;
- ros::ServiceServer m_serviceSwapSequenceTasks;
- ros::ServiceServer m_serviceReadSequenceTask;
- ros::ServiceServer m_serviceReadAllSequenceTasks;
- ros::ServiceServer m_serviceDeleteSequenceTask;
- ros::ServiceServer m_serviceDeleteAllSequenceTasks;
- ros::ServiceServer m_serviceTakeSnapshot;
- ros::ServiceServer m_serviceGetFirmwareBundleVersions;
- ros::ServiceServer m_serviceMoveSequenceTask;
- ros::ServiceServer m_serviceDuplicateMapping;
- ros::ServiceServer m_serviceDuplicateMap;
- ros::ServiceServer m_serviceSetControllerConfiguration;
- ros::ServiceServer m_serviceGetControllerConfiguration;
- ros::ServiceServer m_serviceGetAllControllerConfigurations;
-};
-#endif
diff --git a/kortex_driver/include/kortex_driver/generated/controlconfig_services.h b/kortex_driver/include/kortex_driver/generated/controlconfig_services.h
deleted file mode 100644
index 5483d206..00000000
--- a/kortex_driver/include/kortex_driver/generated/controlconfig_services.h
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_CONTROLCONFIG_SERVICES_H_
-#define _KORTEX_CONTROLCONFIG_SERVICES_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include "kortex_driver/SetGravityVector.h"
-#include "kortex_driver/GetGravityVector.h"
-#include "kortex_driver/SetPayloadInformation.h"
-#include "kortex_driver/GetPayloadInformation.h"
-#include "kortex_driver/SetToolConfiguration.h"
-#include "kortex_driver/GetToolConfiguration.h"
-#include "kortex_driver/OnNotificationControlConfigurationTopic.h"
-#include "kortex_driver/ControlConfigurationNotification.h"
-#include "kortex_driver/ControlConfig_Unsubscribe.h"
-#include "kortex_driver/SetCartesianReferenceFrame.h"
-#include "kortex_driver/GetCartesianReferenceFrame.h"
-#include "kortex_driver/ControlConfig_GetControlMode.h"
-#include "kortex_driver/SetJointSpeedSoftLimits.h"
-#include "kortex_driver/SetTwistLinearSoftLimit.h"
-#include "kortex_driver/SetTwistAngularSoftLimit.h"
-#include "kortex_driver/SetJointAccelerationSoftLimits.h"
-#include "kortex_driver/GetKinematicHardLimits.h"
-#include "kortex_driver/GetKinematicSoftLimits.h"
-#include "kortex_driver/GetAllKinematicSoftLimits.h"
-#include "kortex_driver/SetDesiredLinearTwist.h"
-#include "kortex_driver/SetDesiredAngularTwist.h"
-#include "kortex_driver/SetDesiredJointSpeeds.h"
-#include "kortex_driver/GetDesiredSpeeds.h"
-#include "kortex_driver/ResetGravityVector.h"
-#include "kortex_driver/ResetPayloadInformation.h"
-#include "kortex_driver/ResetToolConfiguration.h"
-#include "kortex_driver/ResetJointSpeedSoftLimits.h"
-#include "kortex_driver/ResetTwistLinearSoftLimit.h"
-#include "kortex_driver/ResetTwistAngularSoftLimit.h"
-#include "kortex_driver/ResetJointAccelerationSoftLimits.h"
-
-#include "kortex_driver/KortexError.h"
-#include "kortex_driver/SetDeviceID.h"
-#include "kortex_driver/SetApiOptions.h"
-#include "kortex_driver/ApiOptions.h"
-
-using namespace std;
-
-class ControlConfigServices
-{
- public:
- ControlConfigServices(ros::NodeHandle& n, Kinova::Api::ControlConfig::ControlConfigClient* controlconfig, uint32_t device_id, uint32_t timeout_ms);
-
- bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res);
- bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res);
- bool SetGravityVector(kortex_driver::SetGravityVector::Request &req, kortex_driver::SetGravityVector::Response &res);
- bool GetGravityVector(kortex_driver::GetGravityVector::Request &req, kortex_driver::GetGravityVector::Response &res);
- bool SetPayloadInformation(kortex_driver::SetPayloadInformation::Request &req, kortex_driver::SetPayloadInformation::Response &res);
- bool GetPayloadInformation(kortex_driver::GetPayloadInformation::Request &req, kortex_driver::GetPayloadInformation::Response &res);
- bool SetToolConfiguration(kortex_driver::SetToolConfiguration::Request &req, kortex_driver::SetToolConfiguration::Response &res);
- bool GetToolConfiguration(kortex_driver::GetToolConfiguration::Request &req, kortex_driver::GetToolConfiguration::Response &res);
- bool OnNotificationControlConfigurationTopic(kortex_driver::OnNotificationControlConfigurationTopic::Request &req, kortex_driver::OnNotificationControlConfigurationTopic::Response &res);
- void cb_ControlConfigurationTopic(Kinova::Api::ControlConfig::ControlConfigurationNotification notif);
- bool ControlConfig_Unsubscribe(kortex_driver::ControlConfig_Unsubscribe::Request &req, kortex_driver::ControlConfig_Unsubscribe::Response &res);
- bool SetCartesianReferenceFrame(kortex_driver::SetCartesianReferenceFrame::Request &req, kortex_driver::SetCartesianReferenceFrame::Response &res);
- bool GetCartesianReferenceFrame(kortex_driver::GetCartesianReferenceFrame::Request &req, kortex_driver::GetCartesianReferenceFrame::Response &res);
- bool ControlConfig_GetControlMode(kortex_driver::ControlConfig_GetControlMode::Request &req, kortex_driver::ControlConfig_GetControlMode::Response &res);
- bool SetJointSpeedSoftLimits(kortex_driver::SetJointSpeedSoftLimits::Request &req, kortex_driver::SetJointSpeedSoftLimits::Response &res);
- bool SetTwistLinearSoftLimit(kortex_driver::SetTwistLinearSoftLimit::Request &req, kortex_driver::SetTwistLinearSoftLimit::Response &res);
- bool SetTwistAngularSoftLimit(kortex_driver::SetTwistAngularSoftLimit::Request &req, kortex_driver::SetTwistAngularSoftLimit::Response &res);
- bool SetJointAccelerationSoftLimits(kortex_driver::SetJointAccelerationSoftLimits::Request &req, kortex_driver::SetJointAccelerationSoftLimits::Response &res);
- bool GetKinematicHardLimits(kortex_driver::GetKinematicHardLimits::Request &req, kortex_driver::GetKinematicHardLimits::Response &res);
- bool GetKinematicSoftLimits(kortex_driver::GetKinematicSoftLimits::Request &req, kortex_driver::GetKinematicSoftLimits::Response &res);
- bool GetAllKinematicSoftLimits(kortex_driver::GetAllKinematicSoftLimits::Request &req, kortex_driver::GetAllKinematicSoftLimits::Response &res);
- bool SetDesiredLinearTwist(kortex_driver::SetDesiredLinearTwist::Request &req, kortex_driver::SetDesiredLinearTwist::Response &res);
- bool SetDesiredAngularTwist(kortex_driver::SetDesiredAngularTwist::Request &req, kortex_driver::SetDesiredAngularTwist::Response &res);
- bool SetDesiredJointSpeeds(kortex_driver::SetDesiredJointSpeeds::Request &req, kortex_driver::SetDesiredJointSpeeds::Response &res);
- bool GetDesiredSpeeds(kortex_driver::GetDesiredSpeeds::Request &req, kortex_driver::GetDesiredSpeeds::Response &res);
- bool ResetGravityVector(kortex_driver::ResetGravityVector::Request &req, kortex_driver::ResetGravityVector::Response &res);
- bool ResetPayloadInformation(kortex_driver::ResetPayloadInformation::Request &req, kortex_driver::ResetPayloadInformation::Response &res);
- bool ResetToolConfiguration(kortex_driver::ResetToolConfiguration::Request &req, kortex_driver::ResetToolConfiguration::Response &res);
- bool ResetJointSpeedSoftLimits(kortex_driver::ResetJointSpeedSoftLimits::Request &req, kortex_driver::ResetJointSpeedSoftLimits::Response &res);
- bool ResetTwistLinearSoftLimit(kortex_driver::ResetTwistLinearSoftLimit::Request &req, kortex_driver::ResetTwistLinearSoftLimit::Response &res);
- bool ResetTwistAngularSoftLimit(kortex_driver::ResetTwistAngularSoftLimit::Request &req, kortex_driver::ResetTwistAngularSoftLimit::Response &res);
- bool ResetJointAccelerationSoftLimits(kortex_driver::ResetJointAccelerationSoftLimits::Request &req, kortex_driver::ResetJointAccelerationSoftLimits::Response &res);
-
-private:
- uint32_t m_current_device_id;
- Kinova::Api::RouterClientSendOptions m_api_options;
-
- Kinova::Api::ControlConfig::ControlConfigClient* m_controlconfig;
-
- ros::NodeHandle m_n;
- ros::Publisher m_pub_Error;
- ros::Publisher m_pub_ControlConfigurationTopic;
- bool m_is_activated_ControlConfigurationTopic;
-
- ros::ServiceServer m_serviceSetDeviceID;
- ros::ServiceServer m_serviceSetApiOptions;
-
- ros::ServiceServer m_serviceSetGravityVector;
- ros::ServiceServer m_serviceGetGravityVector;
- ros::ServiceServer m_serviceSetPayloadInformation;
- ros::ServiceServer m_serviceGetPayloadInformation;
- ros::ServiceServer m_serviceSetToolConfiguration;
- ros::ServiceServer m_serviceGetToolConfiguration;
- ros::ServiceServer m_serviceOnNotificationControlConfigurationTopic;
- ros::ServiceServer m_serviceControlConfig_Unsubscribe;
- ros::ServiceServer m_serviceSetCartesianReferenceFrame;
- ros::ServiceServer m_serviceGetCartesianReferenceFrame;
- ros::ServiceServer m_serviceControlConfig_GetControlMode;
- ros::ServiceServer m_serviceSetJointSpeedSoftLimits;
- ros::ServiceServer m_serviceSetTwistLinearSoftLimit;
- ros::ServiceServer m_serviceSetTwistAngularSoftLimit;
- ros::ServiceServer m_serviceSetJointAccelerationSoftLimits;
- ros::ServiceServer m_serviceGetKinematicHardLimits;
- ros::ServiceServer m_serviceGetKinematicSoftLimits;
- ros::ServiceServer m_serviceGetAllKinematicSoftLimits;
- ros::ServiceServer m_serviceSetDesiredLinearTwist;
- ros::ServiceServer m_serviceSetDesiredAngularTwist;
- ros::ServiceServer m_serviceSetDesiredJointSpeeds;
- ros::ServiceServer m_serviceGetDesiredSpeeds;
- ros::ServiceServer m_serviceResetGravityVector;
- ros::ServiceServer m_serviceResetPayloadInformation;
- ros::ServiceServer m_serviceResetToolConfiguration;
- ros::ServiceServer m_serviceResetJointSpeedSoftLimits;
- ros::ServiceServer m_serviceResetTwistLinearSoftLimit;
- ros::ServiceServer m_serviceResetTwistAngularSoftLimit;
- ros::ServiceServer m_serviceResetJointAccelerationSoftLimits;
-};
-#endif
diff --git a/kortex_driver/include/kortex_driver/generated/deviceconfig_services.h b/kortex_driver/include/kortex_driver/generated/deviceconfig_services.h
deleted file mode 100644
index f80caaf0..00000000
--- a/kortex_driver/include/kortex_driver/generated/deviceconfig_services.h
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_DEVICECONFIG_SERVICES_H_
-#define _KORTEX_DEVICECONFIG_SERVICES_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include "kortex_driver/GetRunMode.h"
-#include "kortex_driver/SetRunMode.h"
-#include "kortex_driver/GetDeviceType.h"
-#include "kortex_driver/GetFirmwareVersion.h"
-#include "kortex_driver/GetBootloaderVersion.h"
-#include "kortex_driver/GetModelNumber.h"
-#include "kortex_driver/GetPartNumber.h"
-#include "kortex_driver/GetSerialNumber.h"
-#include "kortex_driver/GetMACAddress.h"
-#include "kortex_driver/GetIPv4Settings.h"
-#include "kortex_driver/SetIPv4Settings.h"
-#include "kortex_driver/GetPartNumberRevision.h"
-#include "kortex_driver/RebootRequest.h"
-#include "kortex_driver/SetSafetyEnable.h"
-#include "kortex_driver/SetSafetyErrorThreshold.h"
-#include "kortex_driver/SetSafetyWarningThreshold.h"
-#include "kortex_driver/SetSafetyConfiguration.h"
-#include "kortex_driver/GetSafetyConfiguration.h"
-#include "kortex_driver/GetSafetyInformation.h"
-#include "kortex_driver/GetSafetyEnable.h"
-#include "kortex_driver/GetSafetyStatus.h"
-#include "kortex_driver/ClearAllSafetyStatus.h"
-#include "kortex_driver/ClearSafetyStatus.h"
-#include "kortex_driver/GetAllSafetyConfiguration.h"
-#include "kortex_driver/GetAllSafetyInformation.h"
-#include "kortex_driver/ResetSafetyDefaults.h"
-#include "kortex_driver/OnNotificationSafetyTopic.h"
-#include "kortex_driver/SafetyNotification.h"
-#include "kortex_driver/ExecuteCalibration.h"
-#include "kortex_driver/GetCalibrationResult.h"
-#include "kortex_driver/StopCalibration.h"
-#include "kortex_driver/DeviceConfig_SetCapSenseConfig.h"
-#include "kortex_driver/DeviceConfig_GetCapSenseConfig.h"
-
-#include "kortex_driver/KortexError.h"
-#include "kortex_driver/SetDeviceID.h"
-#include "kortex_driver/SetApiOptions.h"
-#include "kortex_driver/ApiOptions.h"
-
-using namespace std;
-
-class DeviceConfigServices
-{
- public:
- DeviceConfigServices(ros::NodeHandle& n, Kinova::Api::DeviceConfig::DeviceConfigClient* deviceconfig, uint32_t device_id, uint32_t timeout_ms);
-
- bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res);
- bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res);
- bool GetRunMode(kortex_driver::GetRunMode::Request &req, kortex_driver::GetRunMode::Response &res);
- bool SetRunMode(kortex_driver::SetRunMode::Request &req, kortex_driver::SetRunMode::Response &res);
- bool GetDeviceType(kortex_driver::GetDeviceType::Request &req, kortex_driver::GetDeviceType::Response &res);
- bool GetFirmwareVersion(kortex_driver::GetFirmwareVersion::Request &req, kortex_driver::GetFirmwareVersion::Response &res);
- bool GetBootloaderVersion(kortex_driver::GetBootloaderVersion::Request &req, kortex_driver::GetBootloaderVersion::Response &res);
- bool GetModelNumber(kortex_driver::GetModelNumber::Request &req, kortex_driver::GetModelNumber::Response &res);
- bool GetPartNumber(kortex_driver::GetPartNumber::Request &req, kortex_driver::GetPartNumber::Response &res);
- bool GetSerialNumber(kortex_driver::GetSerialNumber::Request &req, kortex_driver::GetSerialNumber::Response &res);
- bool GetMACAddress(kortex_driver::GetMACAddress::Request &req, kortex_driver::GetMACAddress::Response &res);
- bool GetIPv4Settings(kortex_driver::GetIPv4Settings::Request &req, kortex_driver::GetIPv4Settings::Response &res);
- bool SetIPv4Settings(kortex_driver::SetIPv4Settings::Request &req, kortex_driver::SetIPv4Settings::Response &res);
- bool GetPartNumberRevision(kortex_driver::GetPartNumberRevision::Request &req, kortex_driver::GetPartNumberRevision::Response &res);
- bool RebootRequest(kortex_driver::RebootRequest::Request &req, kortex_driver::RebootRequest::Response &res);
- bool SetSafetyEnable(kortex_driver::SetSafetyEnable::Request &req, kortex_driver::SetSafetyEnable::Response &res);
- bool SetSafetyErrorThreshold(kortex_driver::SetSafetyErrorThreshold::Request &req, kortex_driver::SetSafetyErrorThreshold::Response &res);
- bool SetSafetyWarningThreshold(kortex_driver::SetSafetyWarningThreshold::Request &req, kortex_driver::SetSafetyWarningThreshold::Response &res);
- bool SetSafetyConfiguration(kortex_driver::SetSafetyConfiguration::Request &req, kortex_driver::SetSafetyConfiguration::Response &res);
- bool GetSafetyConfiguration(kortex_driver::GetSafetyConfiguration::Request &req, kortex_driver::GetSafetyConfiguration::Response &res);
- bool GetSafetyInformation(kortex_driver::GetSafetyInformation::Request &req, kortex_driver::GetSafetyInformation::Response &res);
- bool GetSafetyEnable(kortex_driver::GetSafetyEnable::Request &req, kortex_driver::GetSafetyEnable::Response &res);
- bool GetSafetyStatus(kortex_driver::GetSafetyStatus::Request &req, kortex_driver::GetSafetyStatus::Response &res);
- bool ClearAllSafetyStatus(kortex_driver::ClearAllSafetyStatus::Request &req, kortex_driver::ClearAllSafetyStatus::Response &res);
- bool ClearSafetyStatus(kortex_driver::ClearSafetyStatus::Request &req, kortex_driver::ClearSafetyStatus::Response &res);
- bool GetAllSafetyConfiguration(kortex_driver::GetAllSafetyConfiguration::Request &req, kortex_driver::GetAllSafetyConfiguration::Response &res);
- bool GetAllSafetyInformation(kortex_driver::GetAllSafetyInformation::Request &req, kortex_driver::GetAllSafetyInformation::Response &res);
- bool ResetSafetyDefaults(kortex_driver::ResetSafetyDefaults::Request &req, kortex_driver::ResetSafetyDefaults::Response &res);
- bool OnNotificationSafetyTopic(kortex_driver::OnNotificationSafetyTopic::Request &req, kortex_driver::OnNotificationSafetyTopic::Response &res);
- void cb_SafetyTopic(Kinova::Api::Common::SafetyNotification notif);
- bool ExecuteCalibration(kortex_driver::ExecuteCalibration::Request &req, kortex_driver::ExecuteCalibration::Response &res);
- bool GetCalibrationResult(kortex_driver::GetCalibrationResult::Request &req, kortex_driver::GetCalibrationResult::Response &res);
- bool StopCalibration(kortex_driver::StopCalibration::Request &req, kortex_driver::StopCalibration::Response &res);
- bool DeviceConfig_SetCapSenseConfig(kortex_driver::DeviceConfig_SetCapSenseConfig::Request &req, kortex_driver::DeviceConfig_SetCapSenseConfig::Response &res);
- bool DeviceConfig_GetCapSenseConfig(kortex_driver::DeviceConfig_GetCapSenseConfig::Request &req, kortex_driver::DeviceConfig_GetCapSenseConfig::Response &res);
-
-private:
- uint32_t m_current_device_id;
- Kinova::Api::RouterClientSendOptions m_api_options;
-
- Kinova::Api::DeviceConfig::DeviceConfigClient* m_deviceconfig;
-
- ros::NodeHandle m_n;
- ros::Publisher m_pub_Error;
- ros::Publisher m_pub_SafetyTopic;
- bool m_is_activated_SafetyTopic;
-
- ros::ServiceServer m_serviceSetDeviceID;
- ros::ServiceServer m_serviceSetApiOptions;
-
- ros::ServiceServer m_serviceGetRunMode;
- ros::ServiceServer m_serviceSetRunMode;
- ros::ServiceServer m_serviceGetDeviceType;
- ros::ServiceServer m_serviceGetFirmwareVersion;
- ros::ServiceServer m_serviceGetBootloaderVersion;
- ros::ServiceServer m_serviceGetModelNumber;
- ros::ServiceServer m_serviceGetPartNumber;
- ros::ServiceServer m_serviceGetSerialNumber;
- ros::ServiceServer m_serviceGetMACAddress;
- ros::ServiceServer m_serviceGetIPv4Settings;
- ros::ServiceServer m_serviceSetIPv4Settings;
- ros::ServiceServer m_serviceGetPartNumberRevision;
- ros::ServiceServer m_serviceRebootRequest;
- ros::ServiceServer m_serviceSetSafetyEnable;
- ros::ServiceServer m_serviceSetSafetyErrorThreshold;
- ros::ServiceServer m_serviceSetSafetyWarningThreshold;
- ros::ServiceServer m_serviceSetSafetyConfiguration;
- ros::ServiceServer m_serviceGetSafetyConfiguration;
- ros::ServiceServer m_serviceGetSafetyInformation;
- ros::ServiceServer m_serviceGetSafetyEnable;
- ros::ServiceServer m_serviceGetSafetyStatus;
- ros::ServiceServer m_serviceClearAllSafetyStatus;
- ros::ServiceServer m_serviceClearSafetyStatus;
- ros::ServiceServer m_serviceGetAllSafetyConfiguration;
- ros::ServiceServer m_serviceGetAllSafetyInformation;
- ros::ServiceServer m_serviceResetSafetyDefaults;
- ros::ServiceServer m_serviceOnNotificationSafetyTopic;
- ros::ServiceServer m_serviceExecuteCalibration;
- ros::ServiceServer m_serviceGetCalibrationResult;
- ros::ServiceServer m_serviceStopCalibration;
- ros::ServiceServer m_serviceDeviceConfig_SetCapSenseConfig;
- ros::ServiceServer m_serviceDeviceConfig_GetCapSenseConfig;
-};
-#endif
diff --git a/kortex_driver/include/kortex_driver/generated/devicemanager_proto_converter.h b/kortex_driver/include/kortex_driver/generated/devicemanager_proto_converter.h
deleted file mode 100644
index 352de2e7..00000000
--- a/kortex_driver/include/kortex_driver/generated/devicemanager_proto_converter.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_DEVICEMANAGER_PROTO_CONVERTER_H_
-#define _KORTEX_DEVICEMANAGER_PROTO_CONVERTER_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
-
-
-#include "kortex_driver/DeviceHandles.h"
-
-
-int ToProtoData(kortex_driver::DeviceHandles input, Kinova::Api::DeviceManager::DeviceHandles *output);
-
-#endif
\ No newline at end of file
diff --git a/kortex_driver/include/kortex_driver/generated/devicemanager_ros_converter.h b/kortex_driver/include/kortex_driver/generated/devicemanager_ros_converter.h
deleted file mode 100644
index 4e5359b7..00000000
--- a/kortex_driver/include/kortex_driver/generated/devicemanager_ros_converter.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_DEVICEMANAGER_ROS_CONVERTER_H_
-#define _KORTEX_DEVICEMANAGER_ROS_CONVERTER_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
-
-
-#include "kortex_driver/DeviceHandles.h"
-
-
-int ToRosData(Kinova::Api::DeviceManager::DeviceHandles input, kortex_driver::DeviceHandles &output);
-
-#endif
\ No newline at end of file
diff --git a/kortex_driver/include/kortex_driver/generated/devicemanager_services.h b/kortex_driver/include/kortex_driver/generated/devicemanager_services.h
deleted file mode 100644
index b5d016a3..00000000
--- a/kortex_driver/include/kortex_driver/generated/devicemanager_services.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_DEVICEMANAGER_SERVICES_H_
-#define _KORTEX_DEVICEMANAGER_SERVICES_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include "kortex_driver/ReadAllDevices.h"
-
-#include "kortex_driver/KortexError.h"
-#include "kortex_driver/SetDeviceID.h"
-#include "kortex_driver/SetApiOptions.h"
-#include "kortex_driver/ApiOptions.h"
-
-using namespace std;
-
-class DeviceManagerServices
-{
- public:
- DeviceManagerServices(ros::NodeHandle& n, Kinova::Api::DeviceManager::DeviceManagerClient* devicemanager, uint32_t device_id, uint32_t timeout_ms);
-
- bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res);
- bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res);
- bool ReadAllDevices(kortex_driver::ReadAllDevices::Request &req, kortex_driver::ReadAllDevices::Response &res);
-
-private:
- uint32_t m_current_device_id;
- Kinova::Api::RouterClientSendOptions m_api_options;
-
- Kinova::Api::DeviceManager::DeviceManagerClient* m_devicemanager;
-
- ros::NodeHandle m_n;
- ros::Publisher m_pub_Error;
-
- ros::ServiceServer m_serviceSetDeviceID;
- ros::ServiceServer m_serviceSetApiOptions;
-
- ros::ServiceServer m_serviceReadAllDevices;
-};
-#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interconnectconfig_services.h b/kortex_driver/include/kortex_driver/generated/interconnectconfig_services.h
deleted file mode 100644
index 34e135e6..00000000
--- a/kortex_driver/include/kortex_driver/generated/interconnectconfig_services.h
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
-* KINOVA (R) KORTEX (TM)
-*
-* Copyright (c) 2019 Kinova inc. All rights reserved.
-*
-* This software may be modified and distributed under the
-* terms of the BSD 3-Clause license.
-*
-* Refer to the LICENSE file for details.
-*
-*/
-
-/*
- * This file has been auto-generated and should not be modified.
- */
-
-#ifndef _KORTEX_INTERCONNECTCONFIG_SERVICES_H_
-#define _KORTEX_INTERCONNECTCONFIG_SERVICES_H_
-
-#include "ros/ros.h"
-
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-#include "kortex_driver/GetUARTConfiguration.h"
-#include "kortex_driver/SetUARTConfiguration.h"
-#include "kortex_driver/GetEthernetConfiguration.h"
-#include "kortex_driver/SetEthernetConfiguration.h"
-#include "kortex_driver/GetGPIOConfiguration.h"
-#include "kortex_driver/SetGPIOConfiguration.h"
-#include "kortex_driver/GetGPIOState.h"
-#include "kortex_driver/SetGPIOState.h"
-#include "kortex_driver/GetI2CConfiguration.h"
-#include "kortex_driver/SetI2CConfiguration.h"
-#include "kortex_driver/I2CRead.h"
-#include "kortex_driver/I2CReadRegister.h"
-#include "kortex_driver/I2CWrite.h"
-#include "kortex_driver/I2CWriteRegister.h"
-
-#include "kortex_driver/KortexError.h"
-#include "kortex_driver/SetDeviceID.h"
-#include "kortex_driver/SetApiOptions.h"
-#include "kortex_driver/ApiOptions.h"
-
-using namespace std;
-
-class InterconnectConfigServices
-{
- public:
- InterconnectConfigServices(ros::NodeHandle& n, Kinova::Api::InterconnectConfig::InterconnectConfigClient* interconnectconfig, uint32_t device_id, uint32_t timeout_ms);
-
- bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res);
- bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res);
- bool GetUARTConfiguration(kortex_driver::GetUARTConfiguration::Request &req, kortex_driver::GetUARTConfiguration::Response &res);
- bool SetUARTConfiguration(kortex_driver::SetUARTConfiguration::Request &req, kortex_driver::SetUARTConfiguration::Response &res);
- bool GetEthernetConfiguration(kortex_driver::GetEthernetConfiguration::Request &req, kortex_driver::GetEthernetConfiguration::Response &res);
- bool SetEthernetConfiguration(kortex_driver::SetEthernetConfiguration::Request &req, kortex_driver::SetEthernetConfiguration::Response &res);
- bool GetGPIOConfiguration(kortex_driver::GetGPIOConfiguration::Request &req, kortex_driver::GetGPIOConfiguration::Response &res);
- bool SetGPIOConfiguration(kortex_driver::SetGPIOConfiguration::Request &req, kortex_driver::SetGPIOConfiguration::Response &res);
- bool GetGPIOState(kortex_driver::GetGPIOState::Request &req, kortex_driver::GetGPIOState::Response &res);
- bool SetGPIOState(kortex_driver::SetGPIOState::Request &req, kortex_driver::SetGPIOState::Response &res);
- bool GetI2CConfiguration(kortex_driver::GetI2CConfiguration::Request &req, kortex_driver::GetI2CConfiguration::Response &res);
- bool SetI2CConfiguration(kortex_driver::SetI2CConfiguration::Request &req, kortex_driver::SetI2CConfiguration::Response &res);
- bool I2CRead(kortex_driver::I2CRead::Request &req, kortex_driver::I2CRead::Response &res);
- bool I2CReadRegister(kortex_driver::I2CReadRegister::Request &req, kortex_driver::I2CReadRegister::Response &res);
- bool I2CWrite(kortex_driver::I2CWrite::Request &req, kortex_driver::I2CWrite::Response &res);
- bool I2CWriteRegister(kortex_driver::I2CWriteRegister::Request &req, kortex_driver::I2CWriteRegister::Response &res);
-
-private:
- uint32_t m_current_device_id;
- Kinova::Api::RouterClientSendOptions m_api_options;
-
- Kinova::Api::InterconnectConfig::InterconnectConfigClient* m_interconnectconfig;
-
- ros::NodeHandle m_n;
- ros::Publisher m_pub_Error;
-
- ros::ServiceServer m_serviceSetDeviceID;
- ros::ServiceServer m_serviceSetApiOptions;
-
- ros::ServiceServer m_serviceGetUARTConfiguration;
- ros::ServiceServer m_serviceSetUARTConfiguration;
- ros::ServiceServer m_serviceGetEthernetConfiguration;
- ros::ServiceServer m_serviceSetEthernetConfiguration;
- ros::ServiceServer m_serviceGetGPIOConfiguration;
- ros::ServiceServer m_serviceSetGPIOConfiguration;
- ros::ServiceServer m_serviceGetGPIOState;
- ros::ServiceServer m_serviceSetGPIOState;
- ros::ServiceServer m_serviceGetI2CConfiguration;
- ros::ServiceServer m_serviceSetI2CConfiguration;
- ros::ServiceServer m_serviceI2CRead;
- ros::ServiceServer m_serviceI2CReadRegister;
- ros::ServiceServer m_serviceI2CWrite;
- ros::ServiceServer m_serviceI2CWriteRegister;
-};
-#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/actuatorconfig_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/actuatorconfig_services_interface.h
new file mode 100644
index 00000000..0aedc895
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/actuatorconfig_services_interface.h
@@ -0,0 +1,111 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_ACTUATORCONFIG_SERVICES_INTERFACE_H_
+#define _KORTEX_ACTUATORCONFIG_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/GetAxisOffsets.h"
+#include "kortex_driver/SetAxisOffsets.h"
+#include "kortex_driver/SetTorqueOffset.h"
+#include "kortex_driver/ActuatorConfig_GetControlMode.h"
+#include "kortex_driver/SetControlMode.h"
+#include "kortex_driver/GetActivatedControlLoop.h"
+#include "kortex_driver/SetActivatedControlLoop.h"
+#include "kortex_driver/GetControlLoopParameters.h"
+#include "kortex_driver/SetControlLoopParameters.h"
+#include "kortex_driver/SelectCustomData.h"
+#include "kortex_driver/GetSelectedCustomData.h"
+#include "kortex_driver/SetCommandMode.h"
+#include "kortex_driver/ActuatorConfig_ClearFaults.h"
+#include "kortex_driver/SetServoing.h"
+#include "kortex_driver/MoveToPosition.h"
+#include "kortex_driver/GetCommandMode.h"
+#include "kortex_driver/GetServoing.h"
+#include "kortex_driver/GetTorqueOffset.h"
+#include "kortex_driver/SetCoggingFeedforwardMode.h"
+#include "kortex_driver/GetCoggingFeedforwardMode.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IActuatorConfigServices
+{
+ public:
+ IActuatorConfigServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool GetAxisOffsets(kortex_driver::GetAxisOffsets::Request &req, kortex_driver::GetAxisOffsets::Response &res) = 0;
+ virtual bool SetAxisOffsets(kortex_driver::SetAxisOffsets::Request &req, kortex_driver::SetAxisOffsets::Response &res) = 0;
+ virtual bool SetTorqueOffset(kortex_driver::SetTorqueOffset::Request &req, kortex_driver::SetTorqueOffset::Response &res) = 0;
+ virtual bool ActuatorConfig_GetControlMode(kortex_driver::ActuatorConfig_GetControlMode::Request &req, kortex_driver::ActuatorConfig_GetControlMode::Response &res) = 0;
+ virtual bool SetControlMode(kortex_driver::SetControlMode::Request &req, kortex_driver::SetControlMode::Response &res) = 0;
+ virtual bool GetActivatedControlLoop(kortex_driver::GetActivatedControlLoop::Request &req, kortex_driver::GetActivatedControlLoop::Response &res) = 0;
+ virtual bool SetActivatedControlLoop(kortex_driver::SetActivatedControlLoop::Request &req, kortex_driver::SetActivatedControlLoop::Response &res) = 0;
+ virtual bool GetControlLoopParameters(kortex_driver::GetControlLoopParameters::Request &req, kortex_driver::GetControlLoopParameters::Response &res) = 0;
+ virtual bool SetControlLoopParameters(kortex_driver::SetControlLoopParameters::Request &req, kortex_driver::SetControlLoopParameters::Response &res) = 0;
+ virtual bool SelectCustomData(kortex_driver::SelectCustomData::Request &req, kortex_driver::SelectCustomData::Response &res) = 0;
+ virtual bool GetSelectedCustomData(kortex_driver::GetSelectedCustomData::Request &req, kortex_driver::GetSelectedCustomData::Response &res) = 0;
+ virtual bool SetCommandMode(kortex_driver::SetCommandMode::Request &req, kortex_driver::SetCommandMode::Response &res) = 0;
+ virtual bool ActuatorConfig_ClearFaults(kortex_driver::ActuatorConfig_ClearFaults::Request &req, kortex_driver::ActuatorConfig_ClearFaults::Response &res) = 0;
+ virtual bool SetServoing(kortex_driver::SetServoing::Request &req, kortex_driver::SetServoing::Response &res) = 0;
+ virtual bool MoveToPosition(kortex_driver::MoveToPosition::Request &req, kortex_driver::MoveToPosition::Response &res) = 0;
+ virtual bool GetCommandMode(kortex_driver::GetCommandMode::Request &req, kortex_driver::GetCommandMode::Response &res) = 0;
+ virtual bool GetServoing(kortex_driver::GetServoing::Request &req, kortex_driver::GetServoing::Response &res) = 0;
+ virtual bool GetTorqueOffset(kortex_driver::GetTorqueOffset::Request &req, kortex_driver::GetTorqueOffset::Response &res) = 0;
+ virtual bool SetCoggingFeedforwardMode(kortex_driver::SetCoggingFeedforwardMode::Request &req, kortex_driver::SetCoggingFeedforwardMode::Response &res) = 0;
+ virtual bool GetCoggingFeedforwardMode(kortex_driver::GetCoggingFeedforwardMode::Request &req, kortex_driver::GetCoggingFeedforwardMode::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceGetAxisOffsets;
+ ros::ServiceServer m_serviceSetAxisOffsets;
+ ros::ServiceServer m_serviceSetTorqueOffset;
+ ros::ServiceServer m_serviceActuatorConfig_GetControlMode;
+ ros::ServiceServer m_serviceSetControlMode;
+ ros::ServiceServer m_serviceGetActivatedControlLoop;
+ ros::ServiceServer m_serviceSetActivatedControlLoop;
+ ros::ServiceServer m_serviceGetControlLoopParameters;
+ ros::ServiceServer m_serviceSetControlLoopParameters;
+ ros::ServiceServer m_serviceSelectCustomData;
+ ros::ServiceServer m_serviceGetSelectedCustomData;
+ ros::ServiceServer m_serviceSetCommandMode;
+ ros::ServiceServer m_serviceActuatorConfig_ClearFaults;
+ ros::ServiceServer m_serviceSetServoing;
+ ros::ServiceServer m_serviceMoveToPosition;
+ ros::ServiceServer m_serviceGetCommandMode;
+ ros::ServiceServer m_serviceGetServoing;
+ ros::ServiceServer m_serviceGetTorqueOffset;
+ ros::ServiceServer m_serviceSetCoggingFeedforwardMode;
+ ros::ServiceServer m_serviceGetCoggingFeedforwardMode;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/base_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/base_services_interface.h
new file mode 100644
index 00000000..1df8686a
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/base_services_interface.h
@@ -0,0 +1,539 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_BASE_SERVICES_INTERFACE_H_
+#define _KORTEX_BASE_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/CreateUserProfile.h"
+#include "kortex_driver/UpdateUserProfile.h"
+#include "kortex_driver/ReadUserProfile.h"
+#include "kortex_driver/DeleteUserProfile.h"
+#include "kortex_driver/ReadAllUserProfiles.h"
+#include "kortex_driver/ReadAllUsers.h"
+#include "kortex_driver/ChangePassword.h"
+#include "kortex_driver/CreateSequence.h"
+#include "kortex_driver/UpdateSequence.h"
+#include "kortex_driver/ReadSequence.h"
+#include "kortex_driver/DeleteSequence.h"
+#include "kortex_driver/ReadAllSequences.h"
+#include "kortex_driver/PlaySequence.h"
+#include "kortex_driver/PlayAdvancedSequence.h"
+#include "kortex_driver/StopSequence.h"
+#include "kortex_driver/PauseSequence.h"
+#include "kortex_driver/ResumeSequence.h"
+#include "kortex_driver/CreateProtectionZone.h"
+#include "kortex_driver/UpdateProtectionZone.h"
+#include "kortex_driver/ReadProtectionZone.h"
+#include "kortex_driver/DeleteProtectionZone.h"
+#include "kortex_driver/ReadAllProtectionZones.h"
+#include "kortex_driver/CreateMapping.h"
+#include "kortex_driver/ReadMapping.h"
+#include "kortex_driver/UpdateMapping.h"
+#include "kortex_driver/DeleteMapping.h"
+#include "kortex_driver/ReadAllMappings.h"
+#include "kortex_driver/CreateMap.h"
+#include "kortex_driver/ReadMap.h"
+#include "kortex_driver/UpdateMap.h"
+#include "kortex_driver/DeleteMap.h"
+#include "kortex_driver/ReadAllMaps.h"
+#include "kortex_driver/ActivateMap.h"
+#include "kortex_driver/CreateAction.h"
+#include "kortex_driver/ReadAction.h"
+#include "kortex_driver/ReadAllActions.h"
+#include "kortex_driver/DeleteAction.h"
+#include "kortex_driver/UpdateAction.h"
+#include "kortex_driver/ExecuteActionFromReference.h"
+#include "kortex_driver/ExecuteAction.h"
+#include "kortex_driver/PauseAction.h"
+#include "kortex_driver/StopAction.h"
+#include "kortex_driver/ResumeAction.h"
+#include "kortex_driver/GetIPv4Configuration.h"
+#include "kortex_driver/SetIPv4Configuration.h"
+#include "kortex_driver/SetCommunicationInterfaceEnable.h"
+#include "kortex_driver/IsCommunicationInterfaceEnable.h"
+#include "kortex_driver/GetAvailableWifi.h"
+#include "kortex_driver/GetWifiInformation.h"
+#include "kortex_driver/AddWifiConfiguration.h"
+#include "kortex_driver/DeleteWifiConfiguration.h"
+#include "kortex_driver/GetAllConfiguredWifis.h"
+#include "kortex_driver/ConnectWifi.h"
+#include "kortex_driver/DisconnectWifi.h"
+#include "kortex_driver/GetConnectedWifiInformation.h"
+#include "kortex_driver/Base_Unsubscribe.h"
+#include "kortex_driver/OnNotificationConfigurationChangeTopic.h"
+#include "kortex_driver/ConfigurationChangeNotification.h"
+#include "kortex_driver/OnNotificationMappingInfoTopic.h"
+#include "kortex_driver/MappingInfoNotification.h"
+#include "kortex_driver/OnNotificationControlModeTopic.h"
+#include "kortex_driver/ControlModeNotification.h"
+#include "kortex_driver/OnNotificationOperatingModeTopic.h"
+#include "kortex_driver/OperatingModeNotification.h"
+#include "kortex_driver/OnNotificationSequenceInfoTopic.h"
+#include "kortex_driver/SequenceInfoNotification.h"
+#include "kortex_driver/OnNotificationProtectionZoneTopic.h"
+#include "kortex_driver/ProtectionZoneNotification.h"
+#include "kortex_driver/OnNotificationUserTopic.h"
+#include "kortex_driver/UserNotification.h"
+#include "kortex_driver/OnNotificationControllerTopic.h"
+#include "kortex_driver/ControllerNotification.h"
+#include "kortex_driver/OnNotificationActionTopic.h"
+#include "kortex_driver/ActionNotification.h"
+#include "kortex_driver/OnNotificationRobotEventTopic.h"
+#include "kortex_driver/RobotEventNotification.h"
+#include "kortex_driver/PlayCartesianTrajectory.h"
+#include "kortex_driver/PlayCartesianTrajectoryPosition.h"
+#include "kortex_driver/PlayCartesianTrajectoryOrientation.h"
+#include "kortex_driver/Stop.h"
+#include "kortex_driver/GetMeasuredCartesianPose.h"
+#include "kortex_driver/SendWrenchCommand.h"
+#include "kortex_driver/SendWrenchJoystickCommand.h"
+#include "kortex_driver/SendTwistJoystickCommand.h"
+#include "kortex_driver/SendTwistCommand.h"
+#include "kortex_driver/PlayJointTrajectory.h"
+#include "kortex_driver/PlaySelectedJointTrajectory.h"
+#include "kortex_driver/GetMeasuredJointAngles.h"
+#include "kortex_driver/SendJointSpeedsCommand.h"
+#include "kortex_driver/SendSelectedJointSpeedCommand.h"
+#include "kortex_driver/SendGripperCommand.h"
+#include "kortex_driver/GetMeasuredGripperMovement.h"
+#include "kortex_driver/SetAdmittance.h"
+#include "kortex_driver/SetOperatingMode.h"
+#include "kortex_driver/ApplyEmergencyStop.h"
+#include "kortex_driver/Base_ClearFaults.h"
+#include "kortex_driver/Base_GetControlMode.h"
+#include "kortex_driver/GetOperatingMode.h"
+#include "kortex_driver/SetServoingMode.h"
+#include "kortex_driver/GetServoingMode.h"
+#include "kortex_driver/OnNotificationServoingModeTopic.h"
+#include "kortex_driver/ServoingModeNotification.h"
+#include "kortex_driver/RestoreFactorySettings.h"
+#include "kortex_driver/OnNotificationFactoryTopic.h"
+#include "kortex_driver/FactoryNotification.h"
+#include "kortex_driver/GetAllConnectedControllers.h"
+#include "kortex_driver/GetControllerState.h"
+#include "kortex_driver/GetActuatorCount.h"
+#include "kortex_driver/StartWifiScan.h"
+#include "kortex_driver/GetConfiguredWifi.h"
+#include "kortex_driver/OnNotificationNetworkTopic.h"
+#include "kortex_driver/NetworkNotification.h"
+#include "kortex_driver/GetArmState.h"
+#include "kortex_driver/OnNotificationArmStateTopic.h"
+#include "kortex_driver/ArmStateNotification.h"
+#include "kortex_driver/GetIPv4Information.h"
+#include "kortex_driver/SetWifiCountryCode.h"
+#include "kortex_driver/GetWifiCountryCode.h"
+#include "kortex_driver/Base_SetCapSenseConfig.h"
+#include "kortex_driver/Base_GetCapSenseConfig.h"
+#include "kortex_driver/GetAllJointsSpeedHardLimitation.h"
+#include "kortex_driver/GetAllJointsTorqueHardLimitation.h"
+#include "kortex_driver/GetTwistHardLimitation.h"
+#include "kortex_driver/GetWrenchHardLimitation.h"
+#include "kortex_driver/SendJointSpeedsJoystickCommand.h"
+#include "kortex_driver/SendSelectedJointSpeedJoystickCommand.h"
+#include "kortex_driver/EnableBridge.h"
+#include "kortex_driver/DisableBridge.h"
+#include "kortex_driver/GetBridgeList.h"
+#include "kortex_driver/GetBridgeConfig.h"
+#include "kortex_driver/PlayPreComputedJointTrajectory.h"
+#include "kortex_driver/GetProductConfiguration.h"
+#include "kortex_driver/UpdateEndEffectorTypeConfiguration.h"
+#include "kortex_driver/RestoreFactoryProductConfiguration.h"
+#include "kortex_driver/GetTrajectoryErrorReport.h"
+#include "kortex_driver/GetAllJointsSpeedSoftLimitation.h"
+#include "kortex_driver/GetAllJointsTorqueSoftLimitation.h"
+#include "kortex_driver/GetTwistSoftLimitation.h"
+#include "kortex_driver/GetWrenchSoftLimitation.h"
+#include "kortex_driver/SetControllerConfigurationMode.h"
+#include "kortex_driver/GetControllerConfigurationMode.h"
+#include "kortex_driver/StartTeaching.h"
+#include "kortex_driver/StopTeaching.h"
+#include "kortex_driver/AddSequenceTasks.h"
+#include "kortex_driver/UpdateSequenceTask.h"
+#include "kortex_driver/SwapSequenceTasks.h"
+#include "kortex_driver/ReadSequenceTask.h"
+#include "kortex_driver/ReadAllSequenceTasks.h"
+#include "kortex_driver/DeleteSequenceTask.h"
+#include "kortex_driver/DeleteAllSequenceTasks.h"
+#include "kortex_driver/TakeSnapshot.h"
+#include "kortex_driver/GetFirmwareBundleVersions.h"
+#include "kortex_driver/MoveSequenceTask.h"
+#include "kortex_driver/DuplicateMapping.h"
+#include "kortex_driver/DuplicateMap.h"
+#include "kortex_driver/SetControllerConfiguration.h"
+#include "kortex_driver/GetControllerConfiguration.h"
+#include "kortex_driver/GetAllControllerConfigurations.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IBaseServices
+{
+ public:
+ IBaseServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool CreateUserProfile(kortex_driver::CreateUserProfile::Request &req, kortex_driver::CreateUserProfile::Response &res) = 0;
+ virtual bool UpdateUserProfile(kortex_driver::UpdateUserProfile::Request &req, kortex_driver::UpdateUserProfile::Response &res) = 0;
+ virtual bool ReadUserProfile(kortex_driver::ReadUserProfile::Request &req, kortex_driver::ReadUserProfile::Response &res) = 0;
+ virtual bool DeleteUserProfile(kortex_driver::DeleteUserProfile::Request &req, kortex_driver::DeleteUserProfile::Response &res) = 0;
+ virtual bool ReadAllUserProfiles(kortex_driver::ReadAllUserProfiles::Request &req, kortex_driver::ReadAllUserProfiles::Response &res) = 0;
+ virtual bool ReadAllUsers(kortex_driver::ReadAllUsers::Request &req, kortex_driver::ReadAllUsers::Response &res) = 0;
+ virtual bool ChangePassword(kortex_driver::ChangePassword::Request &req, kortex_driver::ChangePassword::Response &res) = 0;
+ virtual bool CreateSequence(kortex_driver::CreateSequence::Request &req, kortex_driver::CreateSequence::Response &res) = 0;
+ virtual bool UpdateSequence(kortex_driver::UpdateSequence::Request &req, kortex_driver::UpdateSequence::Response &res) = 0;
+ virtual bool ReadSequence(kortex_driver::ReadSequence::Request &req, kortex_driver::ReadSequence::Response &res) = 0;
+ virtual bool DeleteSequence(kortex_driver::DeleteSequence::Request &req, kortex_driver::DeleteSequence::Response &res) = 0;
+ virtual bool ReadAllSequences(kortex_driver::ReadAllSequences::Request &req, kortex_driver::ReadAllSequences::Response &res) = 0;
+ virtual bool PlaySequence(kortex_driver::PlaySequence::Request &req, kortex_driver::PlaySequence::Response &res) = 0;
+ virtual bool PlayAdvancedSequence(kortex_driver::PlayAdvancedSequence::Request &req, kortex_driver::PlayAdvancedSequence::Response &res) = 0;
+ virtual bool StopSequence(kortex_driver::StopSequence::Request &req, kortex_driver::StopSequence::Response &res) = 0;
+ virtual bool PauseSequence(kortex_driver::PauseSequence::Request &req, kortex_driver::PauseSequence::Response &res) = 0;
+ virtual bool ResumeSequence(kortex_driver::ResumeSequence::Request &req, kortex_driver::ResumeSequence::Response &res) = 0;
+ virtual bool CreateProtectionZone(kortex_driver::CreateProtectionZone::Request &req, kortex_driver::CreateProtectionZone::Response &res) = 0;
+ virtual bool UpdateProtectionZone(kortex_driver::UpdateProtectionZone::Request &req, kortex_driver::UpdateProtectionZone::Response &res) = 0;
+ virtual bool ReadProtectionZone(kortex_driver::ReadProtectionZone::Request &req, kortex_driver::ReadProtectionZone::Response &res) = 0;
+ virtual bool DeleteProtectionZone(kortex_driver::DeleteProtectionZone::Request &req, kortex_driver::DeleteProtectionZone::Response &res) = 0;
+ virtual bool ReadAllProtectionZones(kortex_driver::ReadAllProtectionZones::Request &req, kortex_driver::ReadAllProtectionZones::Response &res) = 0;
+ virtual bool CreateMapping(kortex_driver::CreateMapping::Request &req, kortex_driver::CreateMapping::Response &res) = 0;
+ virtual bool ReadMapping(kortex_driver::ReadMapping::Request &req, kortex_driver::ReadMapping::Response &res) = 0;
+ virtual bool UpdateMapping(kortex_driver::UpdateMapping::Request &req, kortex_driver::UpdateMapping::Response &res) = 0;
+ virtual bool DeleteMapping(kortex_driver::DeleteMapping::Request &req, kortex_driver::DeleteMapping::Response &res) = 0;
+ virtual bool ReadAllMappings(kortex_driver::ReadAllMappings::Request &req, kortex_driver::ReadAllMappings::Response &res) = 0;
+ virtual bool CreateMap(kortex_driver::CreateMap::Request &req, kortex_driver::CreateMap::Response &res) = 0;
+ virtual bool ReadMap(kortex_driver::ReadMap::Request &req, kortex_driver::ReadMap::Response &res) = 0;
+ virtual bool UpdateMap(kortex_driver::UpdateMap::Request &req, kortex_driver::UpdateMap::Response &res) = 0;
+ virtual bool DeleteMap(kortex_driver::DeleteMap::Request &req, kortex_driver::DeleteMap::Response &res) = 0;
+ virtual bool ReadAllMaps(kortex_driver::ReadAllMaps::Request &req, kortex_driver::ReadAllMaps::Response &res) = 0;
+ virtual bool ActivateMap(kortex_driver::ActivateMap::Request &req, kortex_driver::ActivateMap::Response &res) = 0;
+ virtual bool CreateAction(kortex_driver::CreateAction::Request &req, kortex_driver::CreateAction::Response &res) = 0;
+ virtual bool ReadAction(kortex_driver::ReadAction::Request &req, kortex_driver::ReadAction::Response &res) = 0;
+ virtual bool ReadAllActions(kortex_driver::ReadAllActions::Request &req, kortex_driver::ReadAllActions::Response &res) = 0;
+ virtual bool DeleteAction(kortex_driver::DeleteAction::Request &req, kortex_driver::DeleteAction::Response &res) = 0;
+ virtual bool UpdateAction(kortex_driver::UpdateAction::Request &req, kortex_driver::UpdateAction::Response &res) = 0;
+ virtual bool ExecuteActionFromReference(kortex_driver::ExecuteActionFromReference::Request &req, kortex_driver::ExecuteActionFromReference::Response &res) = 0;
+ virtual bool ExecuteAction(kortex_driver::ExecuteAction::Request &req, kortex_driver::ExecuteAction::Response &res) = 0;
+ virtual bool PauseAction(kortex_driver::PauseAction::Request &req, kortex_driver::PauseAction::Response &res) = 0;
+ virtual bool StopAction(kortex_driver::StopAction::Request &req, kortex_driver::StopAction::Response &res) = 0;
+ virtual bool ResumeAction(kortex_driver::ResumeAction::Request &req, kortex_driver::ResumeAction::Response &res) = 0;
+ virtual bool GetIPv4Configuration(kortex_driver::GetIPv4Configuration::Request &req, kortex_driver::GetIPv4Configuration::Response &res) = 0;
+ virtual bool SetIPv4Configuration(kortex_driver::SetIPv4Configuration::Request &req, kortex_driver::SetIPv4Configuration::Response &res) = 0;
+ virtual bool SetCommunicationInterfaceEnable(kortex_driver::SetCommunicationInterfaceEnable::Request &req, kortex_driver::SetCommunicationInterfaceEnable::Response &res) = 0;
+ virtual bool IsCommunicationInterfaceEnable(kortex_driver::IsCommunicationInterfaceEnable::Request &req, kortex_driver::IsCommunicationInterfaceEnable::Response &res) = 0;
+ virtual bool GetAvailableWifi(kortex_driver::GetAvailableWifi::Request &req, kortex_driver::GetAvailableWifi::Response &res) = 0;
+ virtual bool GetWifiInformation(kortex_driver::GetWifiInformation::Request &req, kortex_driver::GetWifiInformation::Response &res) = 0;
+ virtual bool AddWifiConfiguration(kortex_driver::AddWifiConfiguration::Request &req, kortex_driver::AddWifiConfiguration::Response &res) = 0;
+ virtual bool DeleteWifiConfiguration(kortex_driver::DeleteWifiConfiguration::Request &req, kortex_driver::DeleteWifiConfiguration::Response &res) = 0;
+ virtual bool GetAllConfiguredWifis(kortex_driver::GetAllConfiguredWifis::Request &req, kortex_driver::GetAllConfiguredWifis::Response &res) = 0;
+ virtual bool ConnectWifi(kortex_driver::ConnectWifi::Request &req, kortex_driver::ConnectWifi::Response &res) = 0;
+ virtual bool DisconnectWifi(kortex_driver::DisconnectWifi::Request &req, kortex_driver::DisconnectWifi::Response &res) = 0;
+ virtual bool GetConnectedWifiInformation(kortex_driver::GetConnectedWifiInformation::Request &req, kortex_driver::GetConnectedWifiInformation::Response &res) = 0;
+ virtual bool Base_Unsubscribe(kortex_driver::Base_Unsubscribe::Request &req, kortex_driver::Base_Unsubscribe::Response &res) = 0;
+ virtual bool OnNotificationConfigurationChangeTopic(kortex_driver::OnNotificationConfigurationChangeTopic::Request &req, kortex_driver::OnNotificationConfigurationChangeTopic::Response &res) = 0;
+ virtual void cb_ConfigurationChangeTopic(Kinova::Api::Base::ConfigurationChangeNotification notif) = 0;
+ virtual bool OnNotificationMappingInfoTopic(kortex_driver::OnNotificationMappingInfoTopic::Request &req, kortex_driver::OnNotificationMappingInfoTopic::Response &res) = 0;
+ virtual void cb_MappingInfoTopic(Kinova::Api::Base::MappingInfoNotification notif) = 0;
+ virtual bool OnNotificationControlModeTopic(kortex_driver::OnNotificationControlModeTopic::Request &req, kortex_driver::OnNotificationControlModeTopic::Response &res) = 0;
+ virtual void cb_ControlModeTopic(Kinova::Api::Base::ControlModeNotification notif) = 0;
+ virtual bool OnNotificationOperatingModeTopic(kortex_driver::OnNotificationOperatingModeTopic::Request &req, kortex_driver::OnNotificationOperatingModeTopic::Response &res) = 0;
+ virtual void cb_OperatingModeTopic(Kinova::Api::Base::OperatingModeNotification notif) = 0;
+ virtual bool OnNotificationSequenceInfoTopic(kortex_driver::OnNotificationSequenceInfoTopic::Request &req, kortex_driver::OnNotificationSequenceInfoTopic::Response &res) = 0;
+ virtual void cb_SequenceInfoTopic(Kinova::Api::Base::SequenceInfoNotification notif) = 0;
+ virtual bool OnNotificationProtectionZoneTopic(kortex_driver::OnNotificationProtectionZoneTopic::Request &req, kortex_driver::OnNotificationProtectionZoneTopic::Response &res) = 0;
+ virtual void cb_ProtectionZoneTopic(Kinova::Api::Base::ProtectionZoneNotification notif) = 0;
+ virtual bool OnNotificationUserTopic(kortex_driver::OnNotificationUserTopic::Request &req, kortex_driver::OnNotificationUserTopic::Response &res) = 0;
+ virtual void cb_UserTopic(Kinova::Api::Base::UserNotification notif) = 0;
+ virtual bool OnNotificationControllerTopic(kortex_driver::OnNotificationControllerTopic::Request &req, kortex_driver::OnNotificationControllerTopic::Response &res) = 0;
+ virtual void cb_ControllerTopic(Kinova::Api::Base::ControllerNotification notif) = 0;
+ virtual bool OnNotificationActionTopic(kortex_driver::OnNotificationActionTopic::Request &req, kortex_driver::OnNotificationActionTopic::Response &res) = 0;
+ virtual void cb_ActionTopic(Kinova::Api::Base::ActionNotification notif) = 0;
+ virtual bool OnNotificationRobotEventTopic(kortex_driver::OnNotificationRobotEventTopic::Request &req, kortex_driver::OnNotificationRobotEventTopic::Response &res) = 0;
+ virtual void cb_RobotEventTopic(Kinova::Api::Base::RobotEventNotification notif) = 0;
+ virtual bool PlayCartesianTrajectory(kortex_driver::PlayCartesianTrajectory::Request &req, kortex_driver::PlayCartesianTrajectory::Response &res) = 0;
+ virtual bool PlayCartesianTrajectoryPosition(kortex_driver::PlayCartesianTrajectoryPosition::Request &req, kortex_driver::PlayCartesianTrajectoryPosition::Response &res) = 0;
+ virtual bool PlayCartesianTrajectoryOrientation(kortex_driver::PlayCartesianTrajectoryOrientation::Request &req, kortex_driver::PlayCartesianTrajectoryOrientation::Response &res) = 0;
+ virtual bool Stop(kortex_driver::Stop::Request &req, kortex_driver::Stop::Response &res) = 0;
+ virtual bool GetMeasuredCartesianPose(kortex_driver::GetMeasuredCartesianPose::Request &req, kortex_driver::GetMeasuredCartesianPose::Response &res) = 0;
+ virtual bool SendWrenchCommand(kortex_driver::SendWrenchCommand::Request &req, kortex_driver::SendWrenchCommand::Response &res) = 0;
+ virtual bool SendWrenchJoystickCommand(kortex_driver::SendWrenchJoystickCommand::Request &req, kortex_driver::SendWrenchJoystickCommand::Response &res) = 0;
+ virtual bool SendTwistJoystickCommand(kortex_driver::SendTwistJoystickCommand::Request &req, kortex_driver::SendTwistJoystickCommand::Response &res) = 0;
+ virtual bool SendTwistCommand(kortex_driver::SendTwistCommand::Request &req, kortex_driver::SendTwistCommand::Response &res) = 0;
+ virtual bool PlayJointTrajectory(kortex_driver::PlayJointTrajectory::Request &req, kortex_driver::PlayJointTrajectory::Response &res) = 0;
+ virtual bool PlaySelectedJointTrajectory(kortex_driver::PlaySelectedJointTrajectory::Request &req, kortex_driver::PlaySelectedJointTrajectory::Response &res) = 0;
+ virtual bool GetMeasuredJointAngles(kortex_driver::GetMeasuredJointAngles::Request &req, kortex_driver::GetMeasuredJointAngles::Response &res) = 0;
+ virtual bool SendJointSpeedsCommand(kortex_driver::SendJointSpeedsCommand::Request &req, kortex_driver::SendJointSpeedsCommand::Response &res) = 0;
+ virtual bool SendSelectedJointSpeedCommand(kortex_driver::SendSelectedJointSpeedCommand::Request &req, kortex_driver::SendSelectedJointSpeedCommand::Response &res) = 0;
+ virtual bool SendGripperCommand(kortex_driver::SendGripperCommand::Request &req, kortex_driver::SendGripperCommand::Response &res) = 0;
+ virtual bool GetMeasuredGripperMovement(kortex_driver::GetMeasuredGripperMovement::Request &req, kortex_driver::GetMeasuredGripperMovement::Response &res) = 0;
+ virtual bool SetAdmittance(kortex_driver::SetAdmittance::Request &req, kortex_driver::SetAdmittance::Response &res) = 0;
+ virtual bool SetOperatingMode(kortex_driver::SetOperatingMode::Request &req, kortex_driver::SetOperatingMode::Response &res) = 0;
+ virtual bool ApplyEmergencyStop(kortex_driver::ApplyEmergencyStop::Request &req, kortex_driver::ApplyEmergencyStop::Response &res) = 0;
+ virtual bool Base_ClearFaults(kortex_driver::Base_ClearFaults::Request &req, kortex_driver::Base_ClearFaults::Response &res) = 0;
+ virtual bool Base_GetControlMode(kortex_driver::Base_GetControlMode::Request &req, kortex_driver::Base_GetControlMode::Response &res) = 0;
+ virtual bool GetOperatingMode(kortex_driver::GetOperatingMode::Request &req, kortex_driver::GetOperatingMode::Response &res) = 0;
+ virtual bool SetServoingMode(kortex_driver::SetServoingMode::Request &req, kortex_driver::SetServoingMode::Response &res) = 0;
+ virtual bool GetServoingMode(kortex_driver::GetServoingMode::Request &req, kortex_driver::GetServoingMode::Response &res) = 0;
+ virtual bool OnNotificationServoingModeTopic(kortex_driver::OnNotificationServoingModeTopic::Request &req, kortex_driver::OnNotificationServoingModeTopic::Response &res) = 0;
+ virtual void cb_ServoingModeTopic(Kinova::Api::Base::ServoingModeNotification notif) = 0;
+ virtual bool RestoreFactorySettings(kortex_driver::RestoreFactorySettings::Request &req, kortex_driver::RestoreFactorySettings::Response &res) = 0;
+ virtual bool OnNotificationFactoryTopic(kortex_driver::OnNotificationFactoryTopic::Request &req, kortex_driver::OnNotificationFactoryTopic::Response &res) = 0;
+ virtual void cb_FactoryTopic(Kinova::Api::Base::FactoryNotification notif) = 0;
+ virtual bool GetAllConnectedControllers(kortex_driver::GetAllConnectedControllers::Request &req, kortex_driver::GetAllConnectedControllers::Response &res) = 0;
+ virtual bool GetControllerState(kortex_driver::GetControllerState::Request &req, kortex_driver::GetControllerState::Response &res) = 0;
+ virtual bool GetActuatorCount(kortex_driver::GetActuatorCount::Request &req, kortex_driver::GetActuatorCount::Response &res) = 0;
+ virtual bool StartWifiScan(kortex_driver::StartWifiScan::Request &req, kortex_driver::StartWifiScan::Response &res) = 0;
+ virtual bool GetConfiguredWifi(kortex_driver::GetConfiguredWifi::Request &req, kortex_driver::GetConfiguredWifi::Response &res) = 0;
+ virtual bool OnNotificationNetworkTopic(kortex_driver::OnNotificationNetworkTopic::Request &req, kortex_driver::OnNotificationNetworkTopic::Response &res) = 0;
+ virtual void cb_NetworkTopic(Kinova::Api::Base::NetworkNotification notif) = 0;
+ virtual bool GetArmState(kortex_driver::GetArmState::Request &req, kortex_driver::GetArmState::Response &res) = 0;
+ virtual bool OnNotificationArmStateTopic(kortex_driver::OnNotificationArmStateTopic::Request &req, kortex_driver::OnNotificationArmStateTopic::Response &res) = 0;
+ virtual void cb_ArmStateTopic(Kinova::Api::Base::ArmStateNotification notif) = 0;
+ virtual bool GetIPv4Information(kortex_driver::GetIPv4Information::Request &req, kortex_driver::GetIPv4Information::Response &res) = 0;
+ virtual bool SetWifiCountryCode(kortex_driver::SetWifiCountryCode::Request &req, kortex_driver::SetWifiCountryCode::Response &res) = 0;
+ virtual bool GetWifiCountryCode(kortex_driver::GetWifiCountryCode::Request &req, kortex_driver::GetWifiCountryCode::Response &res) = 0;
+ virtual bool Base_SetCapSenseConfig(kortex_driver::Base_SetCapSenseConfig::Request &req, kortex_driver::Base_SetCapSenseConfig::Response &res) = 0;
+ virtual bool Base_GetCapSenseConfig(kortex_driver::Base_GetCapSenseConfig::Request &req, kortex_driver::Base_GetCapSenseConfig::Response &res) = 0;
+ virtual bool GetAllJointsSpeedHardLimitation(kortex_driver::GetAllJointsSpeedHardLimitation::Request &req, kortex_driver::GetAllJointsSpeedHardLimitation::Response &res) = 0;
+ virtual bool GetAllJointsTorqueHardLimitation(kortex_driver::GetAllJointsTorqueHardLimitation::Request &req, kortex_driver::GetAllJointsTorqueHardLimitation::Response &res) = 0;
+ virtual bool GetTwistHardLimitation(kortex_driver::GetTwistHardLimitation::Request &req, kortex_driver::GetTwistHardLimitation::Response &res) = 0;
+ virtual bool GetWrenchHardLimitation(kortex_driver::GetWrenchHardLimitation::Request &req, kortex_driver::GetWrenchHardLimitation::Response &res) = 0;
+ virtual bool SendJointSpeedsJoystickCommand(kortex_driver::SendJointSpeedsJoystickCommand::Request &req, kortex_driver::SendJointSpeedsJoystickCommand::Response &res) = 0;
+ virtual bool SendSelectedJointSpeedJoystickCommand(kortex_driver::SendSelectedJointSpeedJoystickCommand::Request &req, kortex_driver::SendSelectedJointSpeedJoystickCommand::Response &res) = 0;
+ virtual bool EnableBridge(kortex_driver::EnableBridge::Request &req, kortex_driver::EnableBridge::Response &res) = 0;
+ virtual bool DisableBridge(kortex_driver::DisableBridge::Request &req, kortex_driver::DisableBridge::Response &res) = 0;
+ virtual bool GetBridgeList(kortex_driver::GetBridgeList::Request &req, kortex_driver::GetBridgeList::Response &res) = 0;
+ virtual bool GetBridgeConfig(kortex_driver::GetBridgeConfig::Request &req, kortex_driver::GetBridgeConfig::Response &res) = 0;
+ virtual bool PlayPreComputedJointTrajectory(kortex_driver::PlayPreComputedJointTrajectory::Request &req, kortex_driver::PlayPreComputedJointTrajectory::Response &res) = 0;
+ virtual bool GetProductConfiguration(kortex_driver::GetProductConfiguration::Request &req, kortex_driver::GetProductConfiguration::Response &res) = 0;
+ virtual bool UpdateEndEffectorTypeConfiguration(kortex_driver::UpdateEndEffectorTypeConfiguration::Request &req, kortex_driver::UpdateEndEffectorTypeConfiguration::Response &res) = 0;
+ virtual bool RestoreFactoryProductConfiguration(kortex_driver::RestoreFactoryProductConfiguration::Request &req, kortex_driver::RestoreFactoryProductConfiguration::Response &res) = 0;
+ virtual bool GetTrajectoryErrorReport(kortex_driver::GetTrajectoryErrorReport::Request &req, kortex_driver::GetTrajectoryErrorReport::Response &res) = 0;
+ virtual bool GetAllJointsSpeedSoftLimitation(kortex_driver::GetAllJointsSpeedSoftLimitation::Request &req, kortex_driver::GetAllJointsSpeedSoftLimitation::Response &res) = 0;
+ virtual bool GetAllJointsTorqueSoftLimitation(kortex_driver::GetAllJointsTorqueSoftLimitation::Request &req, kortex_driver::GetAllJointsTorqueSoftLimitation::Response &res) = 0;
+ virtual bool GetTwistSoftLimitation(kortex_driver::GetTwistSoftLimitation::Request &req, kortex_driver::GetTwistSoftLimitation::Response &res) = 0;
+ virtual bool GetWrenchSoftLimitation(kortex_driver::GetWrenchSoftLimitation::Request &req, kortex_driver::GetWrenchSoftLimitation::Response &res) = 0;
+ virtual bool SetControllerConfigurationMode(kortex_driver::SetControllerConfigurationMode::Request &req, kortex_driver::SetControllerConfigurationMode::Response &res) = 0;
+ virtual bool GetControllerConfigurationMode(kortex_driver::GetControllerConfigurationMode::Request &req, kortex_driver::GetControllerConfigurationMode::Response &res) = 0;
+ virtual bool StartTeaching(kortex_driver::StartTeaching::Request &req, kortex_driver::StartTeaching::Response &res) = 0;
+ virtual bool StopTeaching(kortex_driver::StopTeaching::Request &req, kortex_driver::StopTeaching::Response &res) = 0;
+ virtual bool AddSequenceTasks(kortex_driver::AddSequenceTasks::Request &req, kortex_driver::AddSequenceTasks::Response &res) = 0;
+ virtual bool UpdateSequenceTask(kortex_driver::UpdateSequenceTask::Request &req, kortex_driver::UpdateSequenceTask::Response &res) = 0;
+ virtual bool SwapSequenceTasks(kortex_driver::SwapSequenceTasks::Request &req, kortex_driver::SwapSequenceTasks::Response &res) = 0;
+ virtual bool ReadSequenceTask(kortex_driver::ReadSequenceTask::Request &req, kortex_driver::ReadSequenceTask::Response &res) = 0;
+ virtual bool ReadAllSequenceTasks(kortex_driver::ReadAllSequenceTasks::Request &req, kortex_driver::ReadAllSequenceTasks::Response &res) = 0;
+ virtual bool DeleteSequenceTask(kortex_driver::DeleteSequenceTask::Request &req, kortex_driver::DeleteSequenceTask::Response &res) = 0;
+ virtual bool DeleteAllSequenceTasks(kortex_driver::DeleteAllSequenceTasks::Request &req, kortex_driver::DeleteAllSequenceTasks::Response &res) = 0;
+ virtual bool TakeSnapshot(kortex_driver::TakeSnapshot::Request &req, kortex_driver::TakeSnapshot::Response &res) = 0;
+ virtual bool GetFirmwareBundleVersions(kortex_driver::GetFirmwareBundleVersions::Request &req, kortex_driver::GetFirmwareBundleVersions::Response &res) = 0;
+ virtual bool MoveSequenceTask(kortex_driver::MoveSequenceTask::Request &req, kortex_driver::MoveSequenceTask::Response &res) = 0;
+ virtual bool DuplicateMapping(kortex_driver::DuplicateMapping::Request &req, kortex_driver::DuplicateMapping::Response &res) = 0;
+ virtual bool DuplicateMap(kortex_driver::DuplicateMap::Request &req, kortex_driver::DuplicateMap::Response &res) = 0;
+ virtual bool SetControllerConfiguration(kortex_driver::SetControllerConfiguration::Request &req, kortex_driver::SetControllerConfiguration::Response &res) = 0;
+ virtual bool GetControllerConfiguration(kortex_driver::GetControllerConfiguration::Request &req, kortex_driver::GetControllerConfiguration::Response &res) = 0;
+ virtual bool GetAllControllerConfigurations(kortex_driver::GetAllControllerConfigurations::Request &req, kortex_driver::GetAllControllerConfigurations::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+ ros::Publisher m_pub_ConfigurationChangeTopic;
+ bool m_is_activated_ConfigurationChangeTopic;
+ ros::Publisher m_pub_MappingInfoTopic;
+ bool m_is_activated_MappingInfoTopic;
+ ros::Publisher m_pub_ControlModeTopic;
+ bool m_is_activated_ControlModeTopic;
+ ros::Publisher m_pub_OperatingModeTopic;
+ bool m_is_activated_OperatingModeTopic;
+ ros::Publisher m_pub_SequenceInfoTopic;
+ bool m_is_activated_SequenceInfoTopic;
+ ros::Publisher m_pub_ProtectionZoneTopic;
+ bool m_is_activated_ProtectionZoneTopic;
+ ros::Publisher m_pub_UserTopic;
+ bool m_is_activated_UserTopic;
+ ros::Publisher m_pub_ControllerTopic;
+ bool m_is_activated_ControllerTopic;
+ ros::Publisher m_pub_ActionTopic;
+ bool m_is_activated_ActionTopic;
+ ros::Publisher m_pub_RobotEventTopic;
+ bool m_is_activated_RobotEventTopic;
+ ros::Publisher m_pub_ServoingModeTopic;
+ bool m_is_activated_ServoingModeTopic;
+ ros::Publisher m_pub_FactoryTopic;
+ bool m_is_activated_FactoryTopic;
+ ros::Publisher m_pub_NetworkTopic;
+ bool m_is_activated_NetworkTopic;
+ ros::Publisher m_pub_ArmStateTopic;
+ bool m_is_activated_ArmStateTopic;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceCreateUserProfile;
+ ros::ServiceServer m_serviceUpdateUserProfile;
+ ros::ServiceServer m_serviceReadUserProfile;
+ ros::ServiceServer m_serviceDeleteUserProfile;
+ ros::ServiceServer m_serviceReadAllUserProfiles;
+ ros::ServiceServer m_serviceReadAllUsers;
+ ros::ServiceServer m_serviceChangePassword;
+ ros::ServiceServer m_serviceCreateSequence;
+ ros::ServiceServer m_serviceUpdateSequence;
+ ros::ServiceServer m_serviceReadSequence;
+ ros::ServiceServer m_serviceDeleteSequence;
+ ros::ServiceServer m_serviceReadAllSequences;
+ ros::ServiceServer m_servicePlaySequence;
+ ros::ServiceServer m_servicePlayAdvancedSequence;
+ ros::ServiceServer m_serviceStopSequence;
+ ros::ServiceServer m_servicePauseSequence;
+ ros::ServiceServer m_serviceResumeSequence;
+ ros::ServiceServer m_serviceCreateProtectionZone;
+ ros::ServiceServer m_serviceUpdateProtectionZone;
+ ros::ServiceServer m_serviceReadProtectionZone;
+ ros::ServiceServer m_serviceDeleteProtectionZone;
+ ros::ServiceServer m_serviceReadAllProtectionZones;
+ ros::ServiceServer m_serviceCreateMapping;
+ ros::ServiceServer m_serviceReadMapping;
+ ros::ServiceServer m_serviceUpdateMapping;
+ ros::ServiceServer m_serviceDeleteMapping;
+ ros::ServiceServer m_serviceReadAllMappings;
+ ros::ServiceServer m_serviceCreateMap;
+ ros::ServiceServer m_serviceReadMap;
+ ros::ServiceServer m_serviceUpdateMap;
+ ros::ServiceServer m_serviceDeleteMap;
+ ros::ServiceServer m_serviceReadAllMaps;
+ ros::ServiceServer m_serviceActivateMap;
+ ros::ServiceServer m_serviceCreateAction;
+ ros::ServiceServer m_serviceReadAction;
+ ros::ServiceServer m_serviceReadAllActions;
+ ros::ServiceServer m_serviceDeleteAction;
+ ros::ServiceServer m_serviceUpdateAction;
+ ros::ServiceServer m_serviceExecuteActionFromReference;
+ ros::ServiceServer m_serviceExecuteAction;
+ ros::ServiceServer m_servicePauseAction;
+ ros::ServiceServer m_serviceStopAction;
+ ros::ServiceServer m_serviceResumeAction;
+ ros::ServiceServer m_serviceGetIPv4Configuration;
+ ros::ServiceServer m_serviceSetIPv4Configuration;
+ ros::ServiceServer m_serviceSetCommunicationInterfaceEnable;
+ ros::ServiceServer m_serviceIsCommunicationInterfaceEnable;
+ ros::ServiceServer m_serviceGetAvailableWifi;
+ ros::ServiceServer m_serviceGetWifiInformation;
+ ros::ServiceServer m_serviceAddWifiConfiguration;
+ ros::ServiceServer m_serviceDeleteWifiConfiguration;
+ ros::ServiceServer m_serviceGetAllConfiguredWifis;
+ ros::ServiceServer m_serviceConnectWifi;
+ ros::ServiceServer m_serviceDisconnectWifi;
+ ros::ServiceServer m_serviceGetConnectedWifiInformation;
+ ros::ServiceServer m_serviceBase_Unsubscribe;
+ ros::ServiceServer m_serviceOnNotificationConfigurationChangeTopic;
+ ros::ServiceServer m_serviceOnNotificationMappingInfoTopic;
+ ros::ServiceServer m_serviceOnNotificationControlModeTopic;
+ ros::ServiceServer m_serviceOnNotificationOperatingModeTopic;
+ ros::ServiceServer m_serviceOnNotificationSequenceInfoTopic;
+ ros::ServiceServer m_serviceOnNotificationProtectionZoneTopic;
+ ros::ServiceServer m_serviceOnNotificationUserTopic;
+ ros::ServiceServer m_serviceOnNotificationControllerTopic;
+ ros::ServiceServer m_serviceOnNotificationActionTopic;
+ ros::ServiceServer m_serviceOnNotificationRobotEventTopic;
+ ros::ServiceServer m_servicePlayCartesianTrajectory;
+ ros::ServiceServer m_servicePlayCartesianTrajectoryPosition;
+ ros::ServiceServer m_servicePlayCartesianTrajectoryOrientation;
+ ros::ServiceServer m_serviceStop;
+ ros::ServiceServer m_serviceGetMeasuredCartesianPose;
+ ros::ServiceServer m_serviceSendWrenchCommand;
+ ros::ServiceServer m_serviceSendWrenchJoystickCommand;
+ ros::ServiceServer m_serviceSendTwistJoystickCommand;
+ ros::ServiceServer m_serviceSendTwistCommand;
+ ros::ServiceServer m_servicePlayJointTrajectory;
+ ros::ServiceServer m_servicePlaySelectedJointTrajectory;
+ ros::ServiceServer m_serviceGetMeasuredJointAngles;
+ ros::ServiceServer m_serviceSendJointSpeedsCommand;
+ ros::ServiceServer m_serviceSendSelectedJointSpeedCommand;
+ ros::ServiceServer m_serviceSendGripperCommand;
+ ros::ServiceServer m_serviceGetMeasuredGripperMovement;
+ ros::ServiceServer m_serviceSetAdmittance;
+ ros::ServiceServer m_serviceSetOperatingMode;
+ ros::ServiceServer m_serviceApplyEmergencyStop;
+ ros::ServiceServer m_serviceBase_ClearFaults;
+ ros::ServiceServer m_serviceBase_GetControlMode;
+ ros::ServiceServer m_serviceGetOperatingMode;
+ ros::ServiceServer m_serviceSetServoingMode;
+ ros::ServiceServer m_serviceGetServoingMode;
+ ros::ServiceServer m_serviceOnNotificationServoingModeTopic;
+ ros::ServiceServer m_serviceRestoreFactorySettings;
+ ros::ServiceServer m_serviceOnNotificationFactoryTopic;
+ ros::ServiceServer m_serviceGetAllConnectedControllers;
+ ros::ServiceServer m_serviceGetControllerState;
+ ros::ServiceServer m_serviceGetActuatorCount;
+ ros::ServiceServer m_serviceStartWifiScan;
+ ros::ServiceServer m_serviceGetConfiguredWifi;
+ ros::ServiceServer m_serviceOnNotificationNetworkTopic;
+ ros::ServiceServer m_serviceGetArmState;
+ ros::ServiceServer m_serviceOnNotificationArmStateTopic;
+ ros::ServiceServer m_serviceGetIPv4Information;
+ ros::ServiceServer m_serviceSetWifiCountryCode;
+ ros::ServiceServer m_serviceGetWifiCountryCode;
+ ros::ServiceServer m_serviceBase_SetCapSenseConfig;
+ ros::ServiceServer m_serviceBase_GetCapSenseConfig;
+ ros::ServiceServer m_serviceGetAllJointsSpeedHardLimitation;
+ ros::ServiceServer m_serviceGetAllJointsTorqueHardLimitation;
+ ros::ServiceServer m_serviceGetTwistHardLimitation;
+ ros::ServiceServer m_serviceGetWrenchHardLimitation;
+ ros::ServiceServer m_serviceSendJointSpeedsJoystickCommand;
+ ros::ServiceServer m_serviceSendSelectedJointSpeedJoystickCommand;
+ ros::ServiceServer m_serviceEnableBridge;
+ ros::ServiceServer m_serviceDisableBridge;
+ ros::ServiceServer m_serviceGetBridgeList;
+ ros::ServiceServer m_serviceGetBridgeConfig;
+ ros::ServiceServer m_servicePlayPreComputedJointTrajectory;
+ ros::ServiceServer m_serviceGetProductConfiguration;
+ ros::ServiceServer m_serviceUpdateEndEffectorTypeConfiguration;
+ ros::ServiceServer m_serviceRestoreFactoryProductConfiguration;
+ ros::ServiceServer m_serviceGetTrajectoryErrorReport;
+ ros::ServiceServer m_serviceGetAllJointsSpeedSoftLimitation;
+ ros::ServiceServer m_serviceGetAllJointsTorqueSoftLimitation;
+ ros::ServiceServer m_serviceGetTwistSoftLimitation;
+ ros::ServiceServer m_serviceGetWrenchSoftLimitation;
+ ros::ServiceServer m_serviceSetControllerConfigurationMode;
+ ros::ServiceServer m_serviceGetControllerConfigurationMode;
+ ros::ServiceServer m_serviceStartTeaching;
+ ros::ServiceServer m_serviceStopTeaching;
+ ros::ServiceServer m_serviceAddSequenceTasks;
+ ros::ServiceServer m_serviceUpdateSequenceTask;
+ ros::ServiceServer m_serviceSwapSequenceTasks;
+ ros::ServiceServer m_serviceReadSequenceTask;
+ ros::ServiceServer m_serviceReadAllSequenceTasks;
+ ros::ServiceServer m_serviceDeleteSequenceTask;
+ ros::ServiceServer m_serviceDeleteAllSequenceTasks;
+ ros::ServiceServer m_serviceTakeSnapshot;
+ ros::ServiceServer m_serviceGetFirmwareBundleVersions;
+ ros::ServiceServer m_serviceMoveSequenceTask;
+ ros::ServiceServer m_serviceDuplicateMapping;
+ ros::ServiceServer m_serviceDuplicateMap;
+ ros::ServiceServer m_serviceSetControllerConfiguration;
+ ros::ServiceServer m_serviceGetControllerConfiguration;
+ ros::ServiceServer m_serviceGetAllControllerConfigurations;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/controlconfig_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/controlconfig_services_interface.h
new file mode 100644
index 00000000..6475c3db
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/controlconfig_services_interface.h
@@ -0,0 +1,142 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_CONTROLCONFIG_SERVICES_INTERFACE_H_
+#define _KORTEX_CONTROLCONFIG_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/SetGravityVector.h"
+#include "kortex_driver/GetGravityVector.h"
+#include "kortex_driver/SetPayloadInformation.h"
+#include "kortex_driver/GetPayloadInformation.h"
+#include "kortex_driver/SetToolConfiguration.h"
+#include "kortex_driver/GetToolConfiguration.h"
+#include "kortex_driver/OnNotificationControlConfigurationTopic.h"
+#include "kortex_driver/ControlConfigurationNotification.h"
+#include "kortex_driver/ControlConfig_Unsubscribe.h"
+#include "kortex_driver/SetCartesianReferenceFrame.h"
+#include "kortex_driver/GetCartesianReferenceFrame.h"
+#include "kortex_driver/ControlConfig_GetControlMode.h"
+#include "kortex_driver/SetJointSpeedSoftLimits.h"
+#include "kortex_driver/SetTwistLinearSoftLimit.h"
+#include "kortex_driver/SetTwistAngularSoftLimit.h"
+#include "kortex_driver/SetJointAccelerationSoftLimits.h"
+#include "kortex_driver/GetKinematicHardLimits.h"
+#include "kortex_driver/GetKinematicSoftLimits.h"
+#include "kortex_driver/GetAllKinematicSoftLimits.h"
+#include "kortex_driver/SetDesiredLinearTwist.h"
+#include "kortex_driver/SetDesiredAngularTwist.h"
+#include "kortex_driver/SetDesiredJointSpeeds.h"
+#include "kortex_driver/GetDesiredSpeeds.h"
+#include "kortex_driver/ResetGravityVector.h"
+#include "kortex_driver/ResetPayloadInformation.h"
+#include "kortex_driver/ResetToolConfiguration.h"
+#include "kortex_driver/ResetJointSpeedSoftLimits.h"
+#include "kortex_driver/ResetTwistLinearSoftLimit.h"
+#include "kortex_driver/ResetTwistAngularSoftLimit.h"
+#include "kortex_driver/ResetJointAccelerationSoftLimits.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IControlConfigServices
+{
+ public:
+ IControlConfigServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool SetGravityVector(kortex_driver::SetGravityVector::Request &req, kortex_driver::SetGravityVector::Response &res) = 0;
+ virtual bool GetGravityVector(kortex_driver::GetGravityVector::Request &req, kortex_driver::GetGravityVector::Response &res) = 0;
+ virtual bool SetPayloadInformation(kortex_driver::SetPayloadInformation::Request &req, kortex_driver::SetPayloadInformation::Response &res) = 0;
+ virtual bool GetPayloadInformation(kortex_driver::GetPayloadInformation::Request &req, kortex_driver::GetPayloadInformation::Response &res) = 0;
+ virtual bool SetToolConfiguration(kortex_driver::SetToolConfiguration::Request &req, kortex_driver::SetToolConfiguration::Response &res) = 0;
+ virtual bool GetToolConfiguration(kortex_driver::GetToolConfiguration::Request &req, kortex_driver::GetToolConfiguration::Response &res) = 0;
+ virtual bool OnNotificationControlConfigurationTopic(kortex_driver::OnNotificationControlConfigurationTopic::Request &req, kortex_driver::OnNotificationControlConfigurationTopic::Response &res) = 0;
+ virtual void cb_ControlConfigurationTopic(Kinova::Api::ControlConfig::ControlConfigurationNotification notif) = 0;
+ virtual bool ControlConfig_Unsubscribe(kortex_driver::ControlConfig_Unsubscribe::Request &req, kortex_driver::ControlConfig_Unsubscribe::Response &res) = 0;
+ virtual bool SetCartesianReferenceFrame(kortex_driver::SetCartesianReferenceFrame::Request &req, kortex_driver::SetCartesianReferenceFrame::Response &res) = 0;
+ virtual bool GetCartesianReferenceFrame(kortex_driver::GetCartesianReferenceFrame::Request &req, kortex_driver::GetCartesianReferenceFrame::Response &res) = 0;
+ virtual bool ControlConfig_GetControlMode(kortex_driver::ControlConfig_GetControlMode::Request &req, kortex_driver::ControlConfig_GetControlMode::Response &res) = 0;
+ virtual bool SetJointSpeedSoftLimits(kortex_driver::SetJointSpeedSoftLimits::Request &req, kortex_driver::SetJointSpeedSoftLimits::Response &res) = 0;
+ virtual bool SetTwistLinearSoftLimit(kortex_driver::SetTwistLinearSoftLimit::Request &req, kortex_driver::SetTwistLinearSoftLimit::Response &res) = 0;
+ virtual bool SetTwistAngularSoftLimit(kortex_driver::SetTwistAngularSoftLimit::Request &req, kortex_driver::SetTwistAngularSoftLimit::Response &res) = 0;
+ virtual bool SetJointAccelerationSoftLimits(kortex_driver::SetJointAccelerationSoftLimits::Request &req, kortex_driver::SetJointAccelerationSoftLimits::Response &res) = 0;
+ virtual bool GetKinematicHardLimits(kortex_driver::GetKinematicHardLimits::Request &req, kortex_driver::GetKinematicHardLimits::Response &res) = 0;
+ virtual bool GetKinematicSoftLimits(kortex_driver::GetKinematicSoftLimits::Request &req, kortex_driver::GetKinematicSoftLimits::Response &res) = 0;
+ virtual bool GetAllKinematicSoftLimits(kortex_driver::GetAllKinematicSoftLimits::Request &req, kortex_driver::GetAllKinematicSoftLimits::Response &res) = 0;
+ virtual bool SetDesiredLinearTwist(kortex_driver::SetDesiredLinearTwist::Request &req, kortex_driver::SetDesiredLinearTwist::Response &res) = 0;
+ virtual bool SetDesiredAngularTwist(kortex_driver::SetDesiredAngularTwist::Request &req, kortex_driver::SetDesiredAngularTwist::Response &res) = 0;
+ virtual bool SetDesiredJointSpeeds(kortex_driver::SetDesiredJointSpeeds::Request &req, kortex_driver::SetDesiredJointSpeeds::Response &res) = 0;
+ virtual bool GetDesiredSpeeds(kortex_driver::GetDesiredSpeeds::Request &req, kortex_driver::GetDesiredSpeeds::Response &res) = 0;
+ virtual bool ResetGravityVector(kortex_driver::ResetGravityVector::Request &req, kortex_driver::ResetGravityVector::Response &res) = 0;
+ virtual bool ResetPayloadInformation(kortex_driver::ResetPayloadInformation::Request &req, kortex_driver::ResetPayloadInformation::Response &res) = 0;
+ virtual bool ResetToolConfiguration(kortex_driver::ResetToolConfiguration::Request &req, kortex_driver::ResetToolConfiguration::Response &res) = 0;
+ virtual bool ResetJointSpeedSoftLimits(kortex_driver::ResetJointSpeedSoftLimits::Request &req, kortex_driver::ResetJointSpeedSoftLimits::Response &res) = 0;
+ virtual bool ResetTwistLinearSoftLimit(kortex_driver::ResetTwistLinearSoftLimit::Request &req, kortex_driver::ResetTwistLinearSoftLimit::Response &res) = 0;
+ virtual bool ResetTwistAngularSoftLimit(kortex_driver::ResetTwistAngularSoftLimit::Request &req, kortex_driver::ResetTwistAngularSoftLimit::Response &res) = 0;
+ virtual bool ResetJointAccelerationSoftLimits(kortex_driver::ResetJointAccelerationSoftLimits::Request &req, kortex_driver::ResetJointAccelerationSoftLimits::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+ ros::Publisher m_pub_ControlConfigurationTopic;
+ bool m_is_activated_ControlConfigurationTopic;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceSetGravityVector;
+ ros::ServiceServer m_serviceGetGravityVector;
+ ros::ServiceServer m_serviceSetPayloadInformation;
+ ros::ServiceServer m_serviceGetPayloadInformation;
+ ros::ServiceServer m_serviceSetToolConfiguration;
+ ros::ServiceServer m_serviceGetToolConfiguration;
+ ros::ServiceServer m_serviceOnNotificationControlConfigurationTopic;
+ ros::ServiceServer m_serviceControlConfig_Unsubscribe;
+ ros::ServiceServer m_serviceSetCartesianReferenceFrame;
+ ros::ServiceServer m_serviceGetCartesianReferenceFrame;
+ ros::ServiceServer m_serviceControlConfig_GetControlMode;
+ ros::ServiceServer m_serviceSetJointSpeedSoftLimits;
+ ros::ServiceServer m_serviceSetTwistLinearSoftLimit;
+ ros::ServiceServer m_serviceSetTwistAngularSoftLimit;
+ ros::ServiceServer m_serviceSetJointAccelerationSoftLimits;
+ ros::ServiceServer m_serviceGetKinematicHardLimits;
+ ros::ServiceServer m_serviceGetKinematicSoftLimits;
+ ros::ServiceServer m_serviceGetAllKinematicSoftLimits;
+ ros::ServiceServer m_serviceSetDesiredLinearTwist;
+ ros::ServiceServer m_serviceSetDesiredAngularTwist;
+ ros::ServiceServer m_serviceSetDesiredJointSpeeds;
+ ros::ServiceServer m_serviceGetDesiredSpeeds;
+ ros::ServiceServer m_serviceResetGravityVector;
+ ros::ServiceServer m_serviceResetPayloadInformation;
+ ros::ServiceServer m_serviceResetToolConfiguration;
+ ros::ServiceServer m_serviceResetJointSpeedSoftLimits;
+ ros::ServiceServer m_serviceResetTwistLinearSoftLimit;
+ ros::ServiceServer m_serviceResetTwistAngularSoftLimit;
+ ros::ServiceServer m_serviceResetJointAccelerationSoftLimits;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/deviceconfig_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/deviceconfig_services_interface.h
new file mode 100644
index 00000000..4f4b7d1e
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/deviceconfig_services_interface.h
@@ -0,0 +1,151 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_DEVICECONFIG_SERVICES_INTERFACE_H_
+#define _KORTEX_DEVICECONFIG_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/GetRunMode.h"
+#include "kortex_driver/SetRunMode.h"
+#include "kortex_driver/GetDeviceType.h"
+#include "kortex_driver/GetFirmwareVersion.h"
+#include "kortex_driver/GetBootloaderVersion.h"
+#include "kortex_driver/GetModelNumber.h"
+#include "kortex_driver/GetPartNumber.h"
+#include "kortex_driver/GetSerialNumber.h"
+#include "kortex_driver/GetMACAddress.h"
+#include "kortex_driver/GetIPv4Settings.h"
+#include "kortex_driver/SetIPv4Settings.h"
+#include "kortex_driver/GetPartNumberRevision.h"
+#include "kortex_driver/RebootRequest.h"
+#include "kortex_driver/SetSafetyEnable.h"
+#include "kortex_driver/SetSafetyErrorThreshold.h"
+#include "kortex_driver/SetSafetyWarningThreshold.h"
+#include "kortex_driver/SetSafetyConfiguration.h"
+#include "kortex_driver/GetSafetyConfiguration.h"
+#include "kortex_driver/GetSafetyInformation.h"
+#include "kortex_driver/GetSafetyEnable.h"
+#include "kortex_driver/GetSafetyStatus.h"
+#include "kortex_driver/ClearAllSafetyStatus.h"
+#include "kortex_driver/ClearSafetyStatus.h"
+#include "kortex_driver/GetAllSafetyConfiguration.h"
+#include "kortex_driver/GetAllSafetyInformation.h"
+#include "kortex_driver/ResetSafetyDefaults.h"
+#include "kortex_driver/OnNotificationSafetyTopic.h"
+#include "kortex_driver/SafetyNotification.h"
+#include "kortex_driver/ExecuteCalibration.h"
+#include "kortex_driver/GetCalibrationResult.h"
+#include "kortex_driver/StopCalibration.h"
+#include "kortex_driver/DeviceConfig_SetCapSenseConfig.h"
+#include "kortex_driver/DeviceConfig_GetCapSenseConfig.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IDeviceConfigServices
+{
+ public:
+ IDeviceConfigServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool GetRunMode(kortex_driver::GetRunMode::Request &req, kortex_driver::GetRunMode::Response &res) = 0;
+ virtual bool SetRunMode(kortex_driver::SetRunMode::Request &req, kortex_driver::SetRunMode::Response &res) = 0;
+ virtual bool GetDeviceType(kortex_driver::GetDeviceType::Request &req, kortex_driver::GetDeviceType::Response &res) = 0;
+ virtual bool GetFirmwareVersion(kortex_driver::GetFirmwareVersion::Request &req, kortex_driver::GetFirmwareVersion::Response &res) = 0;
+ virtual bool GetBootloaderVersion(kortex_driver::GetBootloaderVersion::Request &req, kortex_driver::GetBootloaderVersion::Response &res) = 0;
+ virtual bool GetModelNumber(kortex_driver::GetModelNumber::Request &req, kortex_driver::GetModelNumber::Response &res) = 0;
+ virtual bool GetPartNumber(kortex_driver::GetPartNumber::Request &req, kortex_driver::GetPartNumber::Response &res) = 0;
+ virtual bool GetSerialNumber(kortex_driver::GetSerialNumber::Request &req, kortex_driver::GetSerialNumber::Response &res) = 0;
+ virtual bool GetMACAddress(kortex_driver::GetMACAddress::Request &req, kortex_driver::GetMACAddress::Response &res) = 0;
+ virtual bool GetIPv4Settings(kortex_driver::GetIPv4Settings::Request &req, kortex_driver::GetIPv4Settings::Response &res) = 0;
+ virtual bool SetIPv4Settings(kortex_driver::SetIPv4Settings::Request &req, kortex_driver::SetIPv4Settings::Response &res) = 0;
+ virtual bool GetPartNumberRevision(kortex_driver::GetPartNumberRevision::Request &req, kortex_driver::GetPartNumberRevision::Response &res) = 0;
+ virtual bool RebootRequest(kortex_driver::RebootRequest::Request &req, kortex_driver::RebootRequest::Response &res) = 0;
+ virtual bool SetSafetyEnable(kortex_driver::SetSafetyEnable::Request &req, kortex_driver::SetSafetyEnable::Response &res) = 0;
+ virtual bool SetSafetyErrorThreshold(kortex_driver::SetSafetyErrorThreshold::Request &req, kortex_driver::SetSafetyErrorThreshold::Response &res) = 0;
+ virtual bool SetSafetyWarningThreshold(kortex_driver::SetSafetyWarningThreshold::Request &req, kortex_driver::SetSafetyWarningThreshold::Response &res) = 0;
+ virtual bool SetSafetyConfiguration(kortex_driver::SetSafetyConfiguration::Request &req, kortex_driver::SetSafetyConfiguration::Response &res) = 0;
+ virtual bool GetSafetyConfiguration(kortex_driver::GetSafetyConfiguration::Request &req, kortex_driver::GetSafetyConfiguration::Response &res) = 0;
+ virtual bool GetSafetyInformation(kortex_driver::GetSafetyInformation::Request &req, kortex_driver::GetSafetyInformation::Response &res) = 0;
+ virtual bool GetSafetyEnable(kortex_driver::GetSafetyEnable::Request &req, kortex_driver::GetSafetyEnable::Response &res) = 0;
+ virtual bool GetSafetyStatus(kortex_driver::GetSafetyStatus::Request &req, kortex_driver::GetSafetyStatus::Response &res) = 0;
+ virtual bool ClearAllSafetyStatus(kortex_driver::ClearAllSafetyStatus::Request &req, kortex_driver::ClearAllSafetyStatus::Response &res) = 0;
+ virtual bool ClearSafetyStatus(kortex_driver::ClearSafetyStatus::Request &req, kortex_driver::ClearSafetyStatus::Response &res) = 0;
+ virtual bool GetAllSafetyConfiguration(kortex_driver::GetAllSafetyConfiguration::Request &req, kortex_driver::GetAllSafetyConfiguration::Response &res) = 0;
+ virtual bool GetAllSafetyInformation(kortex_driver::GetAllSafetyInformation::Request &req, kortex_driver::GetAllSafetyInformation::Response &res) = 0;
+ virtual bool ResetSafetyDefaults(kortex_driver::ResetSafetyDefaults::Request &req, kortex_driver::ResetSafetyDefaults::Response &res) = 0;
+ virtual bool OnNotificationSafetyTopic(kortex_driver::OnNotificationSafetyTopic::Request &req, kortex_driver::OnNotificationSafetyTopic::Response &res) = 0;
+ virtual void cb_SafetyTopic(Kinova::Api::Common::SafetyNotification notif) = 0;
+ virtual bool ExecuteCalibration(kortex_driver::ExecuteCalibration::Request &req, kortex_driver::ExecuteCalibration::Response &res) = 0;
+ virtual bool GetCalibrationResult(kortex_driver::GetCalibrationResult::Request &req, kortex_driver::GetCalibrationResult::Response &res) = 0;
+ virtual bool StopCalibration(kortex_driver::StopCalibration::Request &req, kortex_driver::StopCalibration::Response &res) = 0;
+ virtual bool DeviceConfig_SetCapSenseConfig(kortex_driver::DeviceConfig_SetCapSenseConfig::Request &req, kortex_driver::DeviceConfig_SetCapSenseConfig::Response &res) = 0;
+ virtual bool DeviceConfig_GetCapSenseConfig(kortex_driver::DeviceConfig_GetCapSenseConfig::Request &req, kortex_driver::DeviceConfig_GetCapSenseConfig::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+ ros::Publisher m_pub_SafetyTopic;
+ bool m_is_activated_SafetyTopic;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceGetRunMode;
+ ros::ServiceServer m_serviceSetRunMode;
+ ros::ServiceServer m_serviceGetDeviceType;
+ ros::ServiceServer m_serviceGetFirmwareVersion;
+ ros::ServiceServer m_serviceGetBootloaderVersion;
+ ros::ServiceServer m_serviceGetModelNumber;
+ ros::ServiceServer m_serviceGetPartNumber;
+ ros::ServiceServer m_serviceGetSerialNumber;
+ ros::ServiceServer m_serviceGetMACAddress;
+ ros::ServiceServer m_serviceGetIPv4Settings;
+ ros::ServiceServer m_serviceSetIPv4Settings;
+ ros::ServiceServer m_serviceGetPartNumberRevision;
+ ros::ServiceServer m_serviceRebootRequest;
+ ros::ServiceServer m_serviceSetSafetyEnable;
+ ros::ServiceServer m_serviceSetSafetyErrorThreshold;
+ ros::ServiceServer m_serviceSetSafetyWarningThreshold;
+ ros::ServiceServer m_serviceSetSafetyConfiguration;
+ ros::ServiceServer m_serviceGetSafetyConfiguration;
+ ros::ServiceServer m_serviceGetSafetyInformation;
+ ros::ServiceServer m_serviceGetSafetyEnable;
+ ros::ServiceServer m_serviceGetSafetyStatus;
+ ros::ServiceServer m_serviceClearAllSafetyStatus;
+ ros::ServiceServer m_serviceClearSafetyStatus;
+ ros::ServiceServer m_serviceGetAllSafetyConfiguration;
+ ros::ServiceServer m_serviceGetAllSafetyInformation;
+ ros::ServiceServer m_serviceResetSafetyDefaults;
+ ros::ServiceServer m_serviceOnNotificationSafetyTopic;
+ ros::ServiceServer m_serviceExecuteCalibration;
+ ros::ServiceServer m_serviceGetCalibrationResult;
+ ros::ServiceServer m_serviceStopCalibration;
+ ros::ServiceServer m_serviceDeviceConfig_SetCapSenseConfig;
+ ros::ServiceServer m_serviceDeviceConfig_GetCapSenseConfig;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/devicemanager_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/devicemanager_services_interface.h
new file mode 100644
index 00000000..a2e544ed
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/devicemanager_services_interface.h
@@ -0,0 +1,54 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_DEVICEMANAGER_SERVICES_INTERFACE_H_
+#define _KORTEX_DEVICEMANAGER_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/ReadAllDevices.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IDeviceManagerServices
+{
+ public:
+ IDeviceManagerServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool ReadAllDevices(kortex_driver::ReadAllDevices::Request &req, kortex_driver::ReadAllDevices::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceReadAllDevices;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/interconnectconfig_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/interconnectconfig_services_interface.h
new file mode 100644
index 00000000..dc370d10
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/interconnectconfig_services_interface.h
@@ -0,0 +1,93 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_INTERCONNECTCONFIG_SERVICES_INTERFACE_H_
+#define _KORTEX_INTERCONNECTCONFIG_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/GetUARTConfiguration.h"
+#include "kortex_driver/SetUARTConfiguration.h"
+#include "kortex_driver/GetEthernetConfiguration.h"
+#include "kortex_driver/SetEthernetConfiguration.h"
+#include "kortex_driver/GetGPIOConfiguration.h"
+#include "kortex_driver/SetGPIOConfiguration.h"
+#include "kortex_driver/GetGPIOState.h"
+#include "kortex_driver/SetGPIOState.h"
+#include "kortex_driver/GetI2CConfiguration.h"
+#include "kortex_driver/SetI2CConfiguration.h"
+#include "kortex_driver/I2CRead.h"
+#include "kortex_driver/I2CReadRegister.h"
+#include "kortex_driver/I2CWrite.h"
+#include "kortex_driver/I2CWriteRegister.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IInterconnectConfigServices
+{
+ public:
+ IInterconnectConfigServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool GetUARTConfiguration(kortex_driver::GetUARTConfiguration::Request &req, kortex_driver::GetUARTConfiguration::Response &res) = 0;
+ virtual bool SetUARTConfiguration(kortex_driver::SetUARTConfiguration::Request &req, kortex_driver::SetUARTConfiguration::Response &res) = 0;
+ virtual bool GetEthernetConfiguration(kortex_driver::GetEthernetConfiguration::Request &req, kortex_driver::GetEthernetConfiguration::Response &res) = 0;
+ virtual bool SetEthernetConfiguration(kortex_driver::SetEthernetConfiguration::Request &req, kortex_driver::SetEthernetConfiguration::Response &res) = 0;
+ virtual bool GetGPIOConfiguration(kortex_driver::GetGPIOConfiguration::Request &req, kortex_driver::GetGPIOConfiguration::Response &res) = 0;
+ virtual bool SetGPIOConfiguration(kortex_driver::SetGPIOConfiguration::Request &req, kortex_driver::SetGPIOConfiguration::Response &res) = 0;
+ virtual bool GetGPIOState(kortex_driver::GetGPIOState::Request &req, kortex_driver::GetGPIOState::Response &res) = 0;
+ virtual bool SetGPIOState(kortex_driver::SetGPIOState::Request &req, kortex_driver::SetGPIOState::Response &res) = 0;
+ virtual bool GetI2CConfiguration(kortex_driver::GetI2CConfiguration::Request &req, kortex_driver::GetI2CConfiguration::Response &res) = 0;
+ virtual bool SetI2CConfiguration(kortex_driver::SetI2CConfiguration::Request &req, kortex_driver::SetI2CConfiguration::Response &res) = 0;
+ virtual bool I2CRead(kortex_driver::I2CRead::Request &req, kortex_driver::I2CRead::Response &res) = 0;
+ virtual bool I2CReadRegister(kortex_driver::I2CReadRegister::Request &req, kortex_driver::I2CReadRegister::Response &res) = 0;
+ virtual bool I2CWrite(kortex_driver::I2CWrite::Request &req, kortex_driver::I2CWrite::Response &res) = 0;
+ virtual bool I2CWriteRegister(kortex_driver::I2CWriteRegister::Request &req, kortex_driver::I2CWriteRegister::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceGetUARTConfiguration;
+ ros::ServiceServer m_serviceSetUARTConfiguration;
+ ros::ServiceServer m_serviceGetEthernetConfiguration;
+ ros::ServiceServer m_serviceSetEthernetConfiguration;
+ ros::ServiceServer m_serviceGetGPIOConfiguration;
+ ros::ServiceServer m_serviceSetGPIOConfiguration;
+ ros::ServiceServer m_serviceGetGPIOState;
+ ros::ServiceServer m_serviceSetGPIOState;
+ ros::ServiceServer m_serviceGetI2CConfiguration;
+ ros::ServiceServer m_serviceSetI2CConfiguration;
+ ros::ServiceServer m_serviceI2CRead;
+ ros::ServiceServer m_serviceI2CReadRegister;
+ ros::ServiceServer m_serviceI2CWrite;
+ ros::ServiceServer m_serviceI2CWriteRegister;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interfaces/visionconfig_services_interface.h b/kortex_driver/include/kortex_driver/generated/interfaces/visionconfig_services_interface.h
new file mode 100644
index 00000000..1bf98c7d
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/interfaces/visionconfig_services_interface.h
@@ -0,0 +1,91 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_VISIONCONFIG_SERVICES_INTERFACE_H_
+#define _KORTEX_VISIONCONFIG_SERVICES_INTERFACE_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+#include "kortex_driver/SetSensorSettings.h"
+#include "kortex_driver/GetSensorSettings.h"
+#include "kortex_driver/GetOptionValue.h"
+#include "kortex_driver/SetOptionValue.h"
+#include "kortex_driver/GetOptionInformation.h"
+#include "kortex_driver/OnNotificationVisionTopic.h"
+#include "kortex_driver/VisionNotification.h"
+#include "kortex_driver/DoSensorFocusAction.h"
+#include "kortex_driver/GetIntrinsicParameters.h"
+#include "kortex_driver/GetIntrinsicParametersProfile.h"
+#include "kortex_driver/SetIntrinsicParameters.h"
+#include "kortex_driver/GetExtrinsicParameters.h"
+#include "kortex_driver/SetExtrinsicParameters.h"
+
+#include "kortex_driver/KortexError.h"
+#include "kortex_driver/SetDeviceID.h"
+#include "kortex_driver/SetApiOptions.h"
+#include "kortex_driver/ApiOptions.h"
+
+using namespace std;
+
+class IVisionConfigServices
+{
+ public:
+ IVisionConfigServices(ros::NodeHandle& node_handle) : m_node_handle(node_handle) {}
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) = 0;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) = 0;
+ virtual bool SetSensorSettings(kortex_driver::SetSensorSettings::Request &req, kortex_driver::SetSensorSettings::Response &res) = 0;
+ virtual bool GetSensorSettings(kortex_driver::GetSensorSettings::Request &req, kortex_driver::GetSensorSettings::Response &res) = 0;
+ virtual bool GetOptionValue(kortex_driver::GetOptionValue::Request &req, kortex_driver::GetOptionValue::Response &res) = 0;
+ virtual bool SetOptionValue(kortex_driver::SetOptionValue::Request &req, kortex_driver::SetOptionValue::Response &res) = 0;
+ virtual bool GetOptionInformation(kortex_driver::GetOptionInformation::Request &req, kortex_driver::GetOptionInformation::Response &res) = 0;
+ virtual bool OnNotificationVisionTopic(kortex_driver::OnNotificationVisionTopic::Request &req, kortex_driver::OnNotificationVisionTopic::Response &res) = 0;
+ virtual void cb_VisionTopic(Kinova::Api::VisionConfig::VisionNotification notif) = 0;
+ virtual bool DoSensorFocusAction(kortex_driver::DoSensorFocusAction::Request &req, kortex_driver::DoSensorFocusAction::Response &res) = 0;
+ virtual bool GetIntrinsicParameters(kortex_driver::GetIntrinsicParameters::Request &req, kortex_driver::GetIntrinsicParameters::Response &res) = 0;
+ virtual bool GetIntrinsicParametersProfile(kortex_driver::GetIntrinsicParametersProfile::Request &req, kortex_driver::GetIntrinsicParametersProfile::Response &res) = 0;
+ virtual bool SetIntrinsicParameters(kortex_driver::SetIntrinsicParameters::Request &req, kortex_driver::SetIntrinsicParameters::Response &res) = 0;
+ virtual bool GetExtrinsicParameters(kortex_driver::GetExtrinsicParameters::Request &req, kortex_driver::GetExtrinsicParameters::Response &res) = 0;
+ virtual bool SetExtrinsicParameters(kortex_driver::SetExtrinsicParameters::Request &req, kortex_driver::SetExtrinsicParameters::Response &res) = 0;
+
+protected:
+ ros::NodeHandle m_node_handle;
+ ros::Publisher m_pub_Error;
+ ros::Publisher m_pub_VisionTopic;
+ bool m_is_activated_VisionTopic;
+
+ ros::ServiceServer m_serviceSetDeviceID;
+ ros::ServiceServer m_serviceSetApiOptions;
+
+ ros::ServiceServer m_serviceSetSensorSettings;
+ ros::ServiceServer m_serviceGetSensorSettings;
+ ros::ServiceServer m_serviceGetOptionValue;
+ ros::ServiceServer m_serviceSetOptionValue;
+ ros::ServiceServer m_serviceGetOptionInformation;
+ ros::ServiceServer m_serviceOnNotificationVisionTopic;
+ ros::ServiceServer m_serviceDoSensorFocusAction;
+ ros::ServiceServer m_serviceGetIntrinsicParameters;
+ ros::ServiceServer m_serviceGetIntrinsicParametersProfile;
+ ros::ServiceServer m_serviceSetIntrinsicParameters;
+ ros::ServiceServer m_serviceGetExtrinsicParameters;
+ ros::ServiceServer m_serviceSetExtrinsicParameters;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/actuatorconfig_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_proto_converter.h
similarity index 80%
rename from kortex_driver/include/kortex_driver/generated/actuatorconfig_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_proto_converter.h
index b5dd37e9..e91312bc 100644
--- a/kortex_driver/include/kortex_driver/generated/actuatorconfig_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/AxisPosition.h"
diff --git a/kortex_driver/include/kortex_driver/generated/actuatorconfig_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_ros_converter.h
similarity index 80%
rename from kortex_driver/include/kortex_driver/generated/actuatorconfig_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_ros_converter.h
index 3412b504..024e75af 100644
--- a/kortex_driver/include/kortex_driver/generated/actuatorconfig_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/AxisPosition.h"
diff --git a/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_services.h b/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_services.h
new file mode 100644
index 00000000..0a7adacf
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/actuatorconfig_services.h
@@ -0,0 +1,61 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_ACTUATORCONFIG_ROBOT_SERVICES_H_
+#define _KORTEX_ACTUATORCONFIG_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/actuatorconfig_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class ActuatorConfigRobotServices : public IActuatorConfigServices
+{
+ public:
+ ActuatorConfigRobotServices(ros::NodeHandle& node_handle, Kinova::Api::ActuatorConfig::ActuatorConfigClient* actuatorconfig, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool GetAxisOffsets(kortex_driver::GetAxisOffsets::Request &req, kortex_driver::GetAxisOffsets::Response &res) override;
+ virtual bool SetAxisOffsets(kortex_driver::SetAxisOffsets::Request &req, kortex_driver::SetAxisOffsets::Response &res) override;
+ virtual bool SetTorqueOffset(kortex_driver::SetTorqueOffset::Request &req, kortex_driver::SetTorqueOffset::Response &res) override;
+ virtual bool ActuatorConfig_GetControlMode(kortex_driver::ActuatorConfig_GetControlMode::Request &req, kortex_driver::ActuatorConfig_GetControlMode::Response &res) override;
+ virtual bool SetControlMode(kortex_driver::SetControlMode::Request &req, kortex_driver::SetControlMode::Response &res) override;
+ virtual bool GetActivatedControlLoop(kortex_driver::GetActivatedControlLoop::Request &req, kortex_driver::GetActivatedControlLoop::Response &res) override;
+ virtual bool SetActivatedControlLoop(kortex_driver::SetActivatedControlLoop::Request &req, kortex_driver::SetActivatedControlLoop::Response &res) override;
+ virtual bool GetControlLoopParameters(kortex_driver::GetControlLoopParameters::Request &req, kortex_driver::GetControlLoopParameters::Response &res) override;
+ virtual bool SetControlLoopParameters(kortex_driver::SetControlLoopParameters::Request &req, kortex_driver::SetControlLoopParameters::Response &res) override;
+ virtual bool SelectCustomData(kortex_driver::SelectCustomData::Request &req, kortex_driver::SelectCustomData::Response &res) override;
+ virtual bool GetSelectedCustomData(kortex_driver::GetSelectedCustomData::Request &req, kortex_driver::GetSelectedCustomData::Response &res) override;
+ virtual bool SetCommandMode(kortex_driver::SetCommandMode::Request &req, kortex_driver::SetCommandMode::Response &res) override;
+ virtual bool ActuatorConfig_ClearFaults(kortex_driver::ActuatorConfig_ClearFaults::Request &req, kortex_driver::ActuatorConfig_ClearFaults::Response &res) override;
+ virtual bool SetServoing(kortex_driver::SetServoing::Request &req, kortex_driver::SetServoing::Response &res) override;
+ virtual bool MoveToPosition(kortex_driver::MoveToPosition::Request &req, kortex_driver::MoveToPosition::Response &res) override;
+ virtual bool GetCommandMode(kortex_driver::GetCommandMode::Request &req, kortex_driver::GetCommandMode::Response &res) override;
+ virtual bool GetServoing(kortex_driver::GetServoing::Request &req, kortex_driver::GetServoing::Response &res) override;
+ virtual bool GetTorqueOffset(kortex_driver::GetTorqueOffset::Request &req, kortex_driver::GetTorqueOffset::Response &res) override;
+ virtual bool SetCoggingFeedforwardMode(kortex_driver::SetCoggingFeedforwardMode::Request &req, kortex_driver::SetCoggingFeedforwardMode::Response &res) override;
+ virtual bool GetCoggingFeedforwardMode(kortex_driver::GetCoggingFeedforwardMode::Request &req, kortex_driver::GetCoggingFeedforwardMode::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::ActuatorConfig::ActuatorConfigClient* m_actuatorconfig;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/actuatorcyclic_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/actuatorcyclic_proto_converter.h
similarity index 59%
rename from kortex_driver/include/kortex_driver/generated/actuatorcyclic_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/actuatorcyclic_proto_converter.h
index cff91c67..f463e1bc 100644
--- a/kortex_driver/include/kortex_driver/generated/actuatorcyclic_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/actuatorcyclic_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/ActuatorCyclic_MessageId.h"
diff --git a/kortex_driver/include/kortex_driver/generated/actuatorcyclic_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/actuatorcyclic_ros_converter.h
similarity index 59%
rename from kortex_driver/include/kortex_driver/generated/actuatorcyclic_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/actuatorcyclic_ros_converter.h
index 62be5681..02085e5b 100644
--- a/kortex_driver/include/kortex_driver/generated/actuatorcyclic_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/actuatorcyclic_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/ActuatorCyclic_MessageId.h"
diff --git a/kortex_driver/include/kortex_driver/generated/base_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/base_proto_converter.h
similarity index 96%
rename from kortex_driver/include/kortex_driver/generated/base_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/base_proto_converter.h
index 52a4a7a5..23cc90cf 100644
--- a/kortex_driver/include/kortex_driver/generated/base_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/base_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/FullUserProfile.h"
diff --git a/kortex_driver/include/kortex_driver/generated/base_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/base_ros_converter.h
similarity index 96%
rename from kortex_driver/include/kortex_driver/generated/base_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/base_ros_converter.h
index c05cd620..0cb57ed1 100644
--- a/kortex_driver/include/kortex_driver/generated/base_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/base_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/FullUserProfile.h"
diff --git a/kortex_driver/include/kortex_driver/generated/robot/base_services.h b/kortex_driver/include/kortex_driver/generated/robot/base_services.h
new file mode 100644
index 00000000..27c48320
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/base_services.h
@@ -0,0 +1,199 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_BASE_ROBOT_SERVICES_H_
+#define _KORTEX_BASE_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/base_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class BaseRobotServices : public IBaseServices
+{
+ public:
+ BaseRobotServices(ros::NodeHandle& node_handle, Kinova::Api::Base::BaseClient* base, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool CreateUserProfile(kortex_driver::CreateUserProfile::Request &req, kortex_driver::CreateUserProfile::Response &res) override;
+ virtual bool UpdateUserProfile(kortex_driver::UpdateUserProfile::Request &req, kortex_driver::UpdateUserProfile::Response &res) override;
+ virtual bool ReadUserProfile(kortex_driver::ReadUserProfile::Request &req, kortex_driver::ReadUserProfile::Response &res) override;
+ virtual bool DeleteUserProfile(kortex_driver::DeleteUserProfile::Request &req, kortex_driver::DeleteUserProfile::Response &res) override;
+ virtual bool ReadAllUserProfiles(kortex_driver::ReadAllUserProfiles::Request &req, kortex_driver::ReadAllUserProfiles::Response &res) override;
+ virtual bool ReadAllUsers(kortex_driver::ReadAllUsers::Request &req, kortex_driver::ReadAllUsers::Response &res) override;
+ virtual bool ChangePassword(kortex_driver::ChangePassword::Request &req, kortex_driver::ChangePassword::Response &res) override;
+ virtual bool CreateSequence(kortex_driver::CreateSequence::Request &req, kortex_driver::CreateSequence::Response &res) override;
+ virtual bool UpdateSequence(kortex_driver::UpdateSequence::Request &req, kortex_driver::UpdateSequence::Response &res) override;
+ virtual bool ReadSequence(kortex_driver::ReadSequence::Request &req, kortex_driver::ReadSequence::Response &res) override;
+ virtual bool DeleteSequence(kortex_driver::DeleteSequence::Request &req, kortex_driver::DeleteSequence::Response &res) override;
+ virtual bool ReadAllSequences(kortex_driver::ReadAllSequences::Request &req, kortex_driver::ReadAllSequences::Response &res) override;
+ virtual bool PlaySequence(kortex_driver::PlaySequence::Request &req, kortex_driver::PlaySequence::Response &res) override;
+ virtual bool PlayAdvancedSequence(kortex_driver::PlayAdvancedSequence::Request &req, kortex_driver::PlayAdvancedSequence::Response &res) override;
+ virtual bool StopSequence(kortex_driver::StopSequence::Request &req, kortex_driver::StopSequence::Response &res) override;
+ virtual bool PauseSequence(kortex_driver::PauseSequence::Request &req, kortex_driver::PauseSequence::Response &res) override;
+ virtual bool ResumeSequence(kortex_driver::ResumeSequence::Request &req, kortex_driver::ResumeSequence::Response &res) override;
+ virtual bool CreateProtectionZone(kortex_driver::CreateProtectionZone::Request &req, kortex_driver::CreateProtectionZone::Response &res) override;
+ virtual bool UpdateProtectionZone(kortex_driver::UpdateProtectionZone::Request &req, kortex_driver::UpdateProtectionZone::Response &res) override;
+ virtual bool ReadProtectionZone(kortex_driver::ReadProtectionZone::Request &req, kortex_driver::ReadProtectionZone::Response &res) override;
+ virtual bool DeleteProtectionZone(kortex_driver::DeleteProtectionZone::Request &req, kortex_driver::DeleteProtectionZone::Response &res) override;
+ virtual bool ReadAllProtectionZones(kortex_driver::ReadAllProtectionZones::Request &req, kortex_driver::ReadAllProtectionZones::Response &res) override;
+ virtual bool CreateMapping(kortex_driver::CreateMapping::Request &req, kortex_driver::CreateMapping::Response &res) override;
+ virtual bool ReadMapping(kortex_driver::ReadMapping::Request &req, kortex_driver::ReadMapping::Response &res) override;
+ virtual bool UpdateMapping(kortex_driver::UpdateMapping::Request &req, kortex_driver::UpdateMapping::Response &res) override;
+ virtual bool DeleteMapping(kortex_driver::DeleteMapping::Request &req, kortex_driver::DeleteMapping::Response &res) override;
+ virtual bool ReadAllMappings(kortex_driver::ReadAllMappings::Request &req, kortex_driver::ReadAllMappings::Response &res) override;
+ virtual bool CreateMap(kortex_driver::CreateMap::Request &req, kortex_driver::CreateMap::Response &res) override;
+ virtual bool ReadMap(kortex_driver::ReadMap::Request &req, kortex_driver::ReadMap::Response &res) override;
+ virtual bool UpdateMap(kortex_driver::UpdateMap::Request &req, kortex_driver::UpdateMap::Response &res) override;
+ virtual bool DeleteMap(kortex_driver::DeleteMap::Request &req, kortex_driver::DeleteMap::Response &res) override;
+ virtual bool ReadAllMaps(kortex_driver::ReadAllMaps::Request &req, kortex_driver::ReadAllMaps::Response &res) override;
+ virtual bool ActivateMap(kortex_driver::ActivateMap::Request &req, kortex_driver::ActivateMap::Response &res) override;
+ virtual bool CreateAction(kortex_driver::CreateAction::Request &req, kortex_driver::CreateAction::Response &res) override;
+ virtual bool ReadAction(kortex_driver::ReadAction::Request &req, kortex_driver::ReadAction::Response &res) override;
+ virtual bool ReadAllActions(kortex_driver::ReadAllActions::Request &req, kortex_driver::ReadAllActions::Response &res) override;
+ virtual bool DeleteAction(kortex_driver::DeleteAction::Request &req, kortex_driver::DeleteAction::Response &res) override;
+ virtual bool UpdateAction(kortex_driver::UpdateAction::Request &req, kortex_driver::UpdateAction::Response &res) override;
+ virtual bool ExecuteActionFromReference(kortex_driver::ExecuteActionFromReference::Request &req, kortex_driver::ExecuteActionFromReference::Response &res) override;
+ virtual bool ExecuteAction(kortex_driver::ExecuteAction::Request &req, kortex_driver::ExecuteAction::Response &res) override;
+ virtual bool PauseAction(kortex_driver::PauseAction::Request &req, kortex_driver::PauseAction::Response &res) override;
+ virtual bool StopAction(kortex_driver::StopAction::Request &req, kortex_driver::StopAction::Response &res) override;
+ virtual bool ResumeAction(kortex_driver::ResumeAction::Request &req, kortex_driver::ResumeAction::Response &res) override;
+ virtual bool GetIPv4Configuration(kortex_driver::GetIPv4Configuration::Request &req, kortex_driver::GetIPv4Configuration::Response &res) override;
+ virtual bool SetIPv4Configuration(kortex_driver::SetIPv4Configuration::Request &req, kortex_driver::SetIPv4Configuration::Response &res) override;
+ virtual bool SetCommunicationInterfaceEnable(kortex_driver::SetCommunicationInterfaceEnable::Request &req, kortex_driver::SetCommunicationInterfaceEnable::Response &res) override;
+ virtual bool IsCommunicationInterfaceEnable(kortex_driver::IsCommunicationInterfaceEnable::Request &req, kortex_driver::IsCommunicationInterfaceEnable::Response &res) override;
+ virtual bool GetAvailableWifi(kortex_driver::GetAvailableWifi::Request &req, kortex_driver::GetAvailableWifi::Response &res) override;
+ virtual bool GetWifiInformation(kortex_driver::GetWifiInformation::Request &req, kortex_driver::GetWifiInformation::Response &res) override;
+ virtual bool AddWifiConfiguration(kortex_driver::AddWifiConfiguration::Request &req, kortex_driver::AddWifiConfiguration::Response &res) override;
+ virtual bool DeleteWifiConfiguration(kortex_driver::DeleteWifiConfiguration::Request &req, kortex_driver::DeleteWifiConfiguration::Response &res) override;
+ virtual bool GetAllConfiguredWifis(kortex_driver::GetAllConfiguredWifis::Request &req, kortex_driver::GetAllConfiguredWifis::Response &res) override;
+ virtual bool ConnectWifi(kortex_driver::ConnectWifi::Request &req, kortex_driver::ConnectWifi::Response &res) override;
+ virtual bool DisconnectWifi(kortex_driver::DisconnectWifi::Request &req, kortex_driver::DisconnectWifi::Response &res) override;
+ virtual bool GetConnectedWifiInformation(kortex_driver::GetConnectedWifiInformation::Request &req, kortex_driver::GetConnectedWifiInformation::Response &res) override;
+ virtual bool Base_Unsubscribe(kortex_driver::Base_Unsubscribe::Request &req, kortex_driver::Base_Unsubscribe::Response &res) override;
+ virtual bool OnNotificationConfigurationChangeTopic(kortex_driver::OnNotificationConfigurationChangeTopic::Request &req, kortex_driver::OnNotificationConfigurationChangeTopic::Response &res) override;
+ virtual void cb_ConfigurationChangeTopic(Kinova::Api::Base::ConfigurationChangeNotification notif) override;
+ virtual bool OnNotificationMappingInfoTopic(kortex_driver::OnNotificationMappingInfoTopic::Request &req, kortex_driver::OnNotificationMappingInfoTopic::Response &res) override;
+ virtual void cb_MappingInfoTopic(Kinova::Api::Base::MappingInfoNotification notif) override;
+ virtual bool OnNotificationControlModeTopic(kortex_driver::OnNotificationControlModeTopic::Request &req, kortex_driver::OnNotificationControlModeTopic::Response &res) override;
+ virtual void cb_ControlModeTopic(Kinova::Api::Base::ControlModeNotification notif) override;
+ virtual bool OnNotificationOperatingModeTopic(kortex_driver::OnNotificationOperatingModeTopic::Request &req, kortex_driver::OnNotificationOperatingModeTopic::Response &res) override;
+ virtual void cb_OperatingModeTopic(Kinova::Api::Base::OperatingModeNotification notif) override;
+ virtual bool OnNotificationSequenceInfoTopic(kortex_driver::OnNotificationSequenceInfoTopic::Request &req, kortex_driver::OnNotificationSequenceInfoTopic::Response &res) override;
+ virtual void cb_SequenceInfoTopic(Kinova::Api::Base::SequenceInfoNotification notif) override;
+ virtual bool OnNotificationProtectionZoneTopic(kortex_driver::OnNotificationProtectionZoneTopic::Request &req, kortex_driver::OnNotificationProtectionZoneTopic::Response &res) override;
+ virtual void cb_ProtectionZoneTopic(Kinova::Api::Base::ProtectionZoneNotification notif) override;
+ virtual bool OnNotificationUserTopic(kortex_driver::OnNotificationUserTopic::Request &req, kortex_driver::OnNotificationUserTopic::Response &res) override;
+ virtual void cb_UserTopic(Kinova::Api::Base::UserNotification notif) override;
+ virtual bool OnNotificationControllerTopic(kortex_driver::OnNotificationControllerTopic::Request &req, kortex_driver::OnNotificationControllerTopic::Response &res) override;
+ virtual void cb_ControllerTopic(Kinova::Api::Base::ControllerNotification notif) override;
+ virtual bool OnNotificationActionTopic(kortex_driver::OnNotificationActionTopic::Request &req, kortex_driver::OnNotificationActionTopic::Response &res) override;
+ virtual void cb_ActionTopic(Kinova::Api::Base::ActionNotification notif) override;
+ virtual bool OnNotificationRobotEventTopic(kortex_driver::OnNotificationRobotEventTopic::Request &req, kortex_driver::OnNotificationRobotEventTopic::Response &res) override;
+ virtual void cb_RobotEventTopic(Kinova::Api::Base::RobotEventNotification notif) override;
+ virtual bool PlayCartesianTrajectory(kortex_driver::PlayCartesianTrajectory::Request &req, kortex_driver::PlayCartesianTrajectory::Response &res) override;
+ virtual bool PlayCartesianTrajectoryPosition(kortex_driver::PlayCartesianTrajectoryPosition::Request &req, kortex_driver::PlayCartesianTrajectoryPosition::Response &res) override;
+ virtual bool PlayCartesianTrajectoryOrientation(kortex_driver::PlayCartesianTrajectoryOrientation::Request &req, kortex_driver::PlayCartesianTrajectoryOrientation::Response &res) override;
+ virtual bool Stop(kortex_driver::Stop::Request &req, kortex_driver::Stop::Response &res) override;
+ virtual bool GetMeasuredCartesianPose(kortex_driver::GetMeasuredCartesianPose::Request &req, kortex_driver::GetMeasuredCartesianPose::Response &res) override;
+ virtual bool SendWrenchCommand(kortex_driver::SendWrenchCommand::Request &req, kortex_driver::SendWrenchCommand::Response &res) override;
+ virtual bool SendWrenchJoystickCommand(kortex_driver::SendWrenchJoystickCommand::Request &req, kortex_driver::SendWrenchJoystickCommand::Response &res) override;
+ virtual bool SendTwistJoystickCommand(kortex_driver::SendTwistJoystickCommand::Request &req, kortex_driver::SendTwistJoystickCommand::Response &res) override;
+ virtual bool SendTwistCommand(kortex_driver::SendTwistCommand::Request &req, kortex_driver::SendTwistCommand::Response &res) override;
+ virtual bool PlayJointTrajectory(kortex_driver::PlayJointTrajectory::Request &req, kortex_driver::PlayJointTrajectory::Response &res) override;
+ virtual bool PlaySelectedJointTrajectory(kortex_driver::PlaySelectedJointTrajectory::Request &req, kortex_driver::PlaySelectedJointTrajectory::Response &res) override;
+ virtual bool GetMeasuredJointAngles(kortex_driver::GetMeasuredJointAngles::Request &req, kortex_driver::GetMeasuredJointAngles::Response &res) override;
+ virtual bool SendJointSpeedsCommand(kortex_driver::SendJointSpeedsCommand::Request &req, kortex_driver::SendJointSpeedsCommand::Response &res) override;
+ virtual bool SendSelectedJointSpeedCommand(kortex_driver::SendSelectedJointSpeedCommand::Request &req, kortex_driver::SendSelectedJointSpeedCommand::Response &res) override;
+ virtual bool SendGripperCommand(kortex_driver::SendGripperCommand::Request &req, kortex_driver::SendGripperCommand::Response &res) override;
+ virtual bool GetMeasuredGripperMovement(kortex_driver::GetMeasuredGripperMovement::Request &req, kortex_driver::GetMeasuredGripperMovement::Response &res) override;
+ virtual bool SetAdmittance(kortex_driver::SetAdmittance::Request &req, kortex_driver::SetAdmittance::Response &res) override;
+ virtual bool SetOperatingMode(kortex_driver::SetOperatingMode::Request &req, kortex_driver::SetOperatingMode::Response &res) override;
+ virtual bool ApplyEmergencyStop(kortex_driver::ApplyEmergencyStop::Request &req, kortex_driver::ApplyEmergencyStop::Response &res) override;
+ virtual bool Base_ClearFaults(kortex_driver::Base_ClearFaults::Request &req, kortex_driver::Base_ClearFaults::Response &res) override;
+ virtual bool Base_GetControlMode(kortex_driver::Base_GetControlMode::Request &req, kortex_driver::Base_GetControlMode::Response &res) override;
+ virtual bool GetOperatingMode(kortex_driver::GetOperatingMode::Request &req, kortex_driver::GetOperatingMode::Response &res) override;
+ virtual bool SetServoingMode(kortex_driver::SetServoingMode::Request &req, kortex_driver::SetServoingMode::Response &res) override;
+ virtual bool GetServoingMode(kortex_driver::GetServoingMode::Request &req, kortex_driver::GetServoingMode::Response &res) override;
+ virtual bool OnNotificationServoingModeTopic(kortex_driver::OnNotificationServoingModeTopic::Request &req, kortex_driver::OnNotificationServoingModeTopic::Response &res) override;
+ virtual void cb_ServoingModeTopic(Kinova::Api::Base::ServoingModeNotification notif) override;
+ virtual bool RestoreFactorySettings(kortex_driver::RestoreFactorySettings::Request &req, kortex_driver::RestoreFactorySettings::Response &res) override;
+ virtual bool OnNotificationFactoryTopic(kortex_driver::OnNotificationFactoryTopic::Request &req, kortex_driver::OnNotificationFactoryTopic::Response &res) override;
+ virtual void cb_FactoryTopic(Kinova::Api::Base::FactoryNotification notif) override;
+ virtual bool GetAllConnectedControllers(kortex_driver::GetAllConnectedControllers::Request &req, kortex_driver::GetAllConnectedControllers::Response &res) override;
+ virtual bool GetControllerState(kortex_driver::GetControllerState::Request &req, kortex_driver::GetControllerState::Response &res) override;
+ virtual bool GetActuatorCount(kortex_driver::GetActuatorCount::Request &req, kortex_driver::GetActuatorCount::Response &res) override;
+ virtual bool StartWifiScan(kortex_driver::StartWifiScan::Request &req, kortex_driver::StartWifiScan::Response &res) override;
+ virtual bool GetConfiguredWifi(kortex_driver::GetConfiguredWifi::Request &req, kortex_driver::GetConfiguredWifi::Response &res) override;
+ virtual bool OnNotificationNetworkTopic(kortex_driver::OnNotificationNetworkTopic::Request &req, kortex_driver::OnNotificationNetworkTopic::Response &res) override;
+ virtual void cb_NetworkTopic(Kinova::Api::Base::NetworkNotification notif) override;
+ virtual bool GetArmState(kortex_driver::GetArmState::Request &req, kortex_driver::GetArmState::Response &res) override;
+ virtual bool OnNotificationArmStateTopic(kortex_driver::OnNotificationArmStateTopic::Request &req, kortex_driver::OnNotificationArmStateTopic::Response &res) override;
+ virtual void cb_ArmStateTopic(Kinova::Api::Base::ArmStateNotification notif) override;
+ virtual bool GetIPv4Information(kortex_driver::GetIPv4Information::Request &req, kortex_driver::GetIPv4Information::Response &res) override;
+ virtual bool SetWifiCountryCode(kortex_driver::SetWifiCountryCode::Request &req, kortex_driver::SetWifiCountryCode::Response &res) override;
+ virtual bool GetWifiCountryCode(kortex_driver::GetWifiCountryCode::Request &req, kortex_driver::GetWifiCountryCode::Response &res) override;
+ virtual bool Base_SetCapSenseConfig(kortex_driver::Base_SetCapSenseConfig::Request &req, kortex_driver::Base_SetCapSenseConfig::Response &res) override;
+ virtual bool Base_GetCapSenseConfig(kortex_driver::Base_GetCapSenseConfig::Request &req, kortex_driver::Base_GetCapSenseConfig::Response &res) override;
+ virtual bool GetAllJointsSpeedHardLimitation(kortex_driver::GetAllJointsSpeedHardLimitation::Request &req, kortex_driver::GetAllJointsSpeedHardLimitation::Response &res) override;
+ virtual bool GetAllJointsTorqueHardLimitation(kortex_driver::GetAllJointsTorqueHardLimitation::Request &req, kortex_driver::GetAllJointsTorqueHardLimitation::Response &res) override;
+ virtual bool GetTwistHardLimitation(kortex_driver::GetTwistHardLimitation::Request &req, kortex_driver::GetTwistHardLimitation::Response &res) override;
+ virtual bool GetWrenchHardLimitation(kortex_driver::GetWrenchHardLimitation::Request &req, kortex_driver::GetWrenchHardLimitation::Response &res) override;
+ virtual bool SendJointSpeedsJoystickCommand(kortex_driver::SendJointSpeedsJoystickCommand::Request &req, kortex_driver::SendJointSpeedsJoystickCommand::Response &res) override;
+ virtual bool SendSelectedJointSpeedJoystickCommand(kortex_driver::SendSelectedJointSpeedJoystickCommand::Request &req, kortex_driver::SendSelectedJointSpeedJoystickCommand::Response &res) override;
+ virtual bool EnableBridge(kortex_driver::EnableBridge::Request &req, kortex_driver::EnableBridge::Response &res) override;
+ virtual bool DisableBridge(kortex_driver::DisableBridge::Request &req, kortex_driver::DisableBridge::Response &res) override;
+ virtual bool GetBridgeList(kortex_driver::GetBridgeList::Request &req, kortex_driver::GetBridgeList::Response &res) override;
+ virtual bool GetBridgeConfig(kortex_driver::GetBridgeConfig::Request &req, kortex_driver::GetBridgeConfig::Response &res) override;
+ virtual bool PlayPreComputedJointTrajectory(kortex_driver::PlayPreComputedJointTrajectory::Request &req, kortex_driver::PlayPreComputedJointTrajectory::Response &res) override;
+ virtual bool GetProductConfiguration(kortex_driver::GetProductConfiguration::Request &req, kortex_driver::GetProductConfiguration::Response &res) override;
+ virtual bool UpdateEndEffectorTypeConfiguration(kortex_driver::UpdateEndEffectorTypeConfiguration::Request &req, kortex_driver::UpdateEndEffectorTypeConfiguration::Response &res) override;
+ virtual bool RestoreFactoryProductConfiguration(kortex_driver::RestoreFactoryProductConfiguration::Request &req, kortex_driver::RestoreFactoryProductConfiguration::Response &res) override;
+ virtual bool GetTrajectoryErrorReport(kortex_driver::GetTrajectoryErrorReport::Request &req, kortex_driver::GetTrajectoryErrorReport::Response &res) override;
+ virtual bool GetAllJointsSpeedSoftLimitation(kortex_driver::GetAllJointsSpeedSoftLimitation::Request &req, kortex_driver::GetAllJointsSpeedSoftLimitation::Response &res) override;
+ virtual bool GetAllJointsTorqueSoftLimitation(kortex_driver::GetAllJointsTorqueSoftLimitation::Request &req, kortex_driver::GetAllJointsTorqueSoftLimitation::Response &res) override;
+ virtual bool GetTwistSoftLimitation(kortex_driver::GetTwistSoftLimitation::Request &req, kortex_driver::GetTwistSoftLimitation::Response &res) override;
+ virtual bool GetWrenchSoftLimitation(kortex_driver::GetWrenchSoftLimitation::Request &req, kortex_driver::GetWrenchSoftLimitation::Response &res) override;
+ virtual bool SetControllerConfigurationMode(kortex_driver::SetControllerConfigurationMode::Request &req, kortex_driver::SetControllerConfigurationMode::Response &res) override;
+ virtual bool GetControllerConfigurationMode(kortex_driver::GetControllerConfigurationMode::Request &req, kortex_driver::GetControllerConfigurationMode::Response &res) override;
+ virtual bool StartTeaching(kortex_driver::StartTeaching::Request &req, kortex_driver::StartTeaching::Response &res) override;
+ virtual bool StopTeaching(kortex_driver::StopTeaching::Request &req, kortex_driver::StopTeaching::Response &res) override;
+ virtual bool AddSequenceTasks(kortex_driver::AddSequenceTasks::Request &req, kortex_driver::AddSequenceTasks::Response &res) override;
+ virtual bool UpdateSequenceTask(kortex_driver::UpdateSequenceTask::Request &req, kortex_driver::UpdateSequenceTask::Response &res) override;
+ virtual bool SwapSequenceTasks(kortex_driver::SwapSequenceTasks::Request &req, kortex_driver::SwapSequenceTasks::Response &res) override;
+ virtual bool ReadSequenceTask(kortex_driver::ReadSequenceTask::Request &req, kortex_driver::ReadSequenceTask::Response &res) override;
+ virtual bool ReadAllSequenceTasks(kortex_driver::ReadAllSequenceTasks::Request &req, kortex_driver::ReadAllSequenceTasks::Response &res) override;
+ virtual bool DeleteSequenceTask(kortex_driver::DeleteSequenceTask::Request &req, kortex_driver::DeleteSequenceTask::Response &res) override;
+ virtual bool DeleteAllSequenceTasks(kortex_driver::DeleteAllSequenceTasks::Request &req, kortex_driver::DeleteAllSequenceTasks::Response &res) override;
+ virtual bool TakeSnapshot(kortex_driver::TakeSnapshot::Request &req, kortex_driver::TakeSnapshot::Response &res) override;
+ virtual bool GetFirmwareBundleVersions(kortex_driver::GetFirmwareBundleVersions::Request &req, kortex_driver::GetFirmwareBundleVersions::Response &res) override;
+ virtual bool MoveSequenceTask(kortex_driver::MoveSequenceTask::Request &req, kortex_driver::MoveSequenceTask::Response &res) override;
+ virtual bool DuplicateMapping(kortex_driver::DuplicateMapping::Request &req, kortex_driver::DuplicateMapping::Response &res) override;
+ virtual bool DuplicateMap(kortex_driver::DuplicateMap::Request &req, kortex_driver::DuplicateMap::Response &res) override;
+ virtual bool SetControllerConfiguration(kortex_driver::SetControllerConfiguration::Request &req, kortex_driver::SetControllerConfiguration::Response &res) override;
+ virtual bool GetControllerConfiguration(kortex_driver::GetControllerConfiguration::Request &req, kortex_driver::GetControllerConfiguration::Response &res) override;
+ virtual bool GetAllControllerConfigurations(kortex_driver::GetAllControllerConfigurations::Request &req, kortex_driver::GetAllControllerConfigurations::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::Base::BaseClient* m_base;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/basecyclic_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/basecyclic_proto_converter.h
similarity index 65%
rename from kortex_driver/include/kortex_driver/generated/basecyclic_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/basecyclic_proto_converter.h
index 7d5b660e..ba500e29 100644
--- a/kortex_driver/include/kortex_driver/generated/basecyclic_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/basecyclic_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/ActuatorCommand.h"
diff --git a/kortex_driver/include/kortex_driver/generated/basecyclic_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/basecyclic_ros_converter.h
similarity index 65%
rename from kortex_driver/include/kortex_driver/generated/basecyclic_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/basecyclic_ros_converter.h
index dde72627..d0f8a8a6 100644
--- a/kortex_driver/include/kortex_driver/generated/basecyclic_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/basecyclic_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/ActuatorCommand.h"
diff --git a/kortex_driver/include/kortex_driver/generated/common_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/common_proto_converter.h
similarity index 72%
rename from kortex_driver/include/kortex_driver/generated/common_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/common_proto_converter.h
index 8fef504b..786db33b 100644
--- a/kortex_driver/include/kortex_driver/generated/common_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/common_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/DeviceHandle.h"
diff --git a/kortex_driver/include/kortex_driver/generated/common_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/common_ros_converter.h
similarity index 72%
rename from kortex_driver/include/kortex_driver/generated/common_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/common_ros_converter.h
index 0f1147b6..6aa14ec6 100644
--- a/kortex_driver/include/kortex_driver/generated/common_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/common_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/DeviceHandle.h"
diff --git a/kortex_driver/include/kortex_driver/generated/controlconfig_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/controlconfig_proto_converter.h
similarity index 80%
rename from kortex_driver/include/kortex_driver/generated/controlconfig_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/controlconfig_proto_converter.h
index c93da6a3..6b19dd05 100644
--- a/kortex_driver/include/kortex_driver/generated/controlconfig_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/controlconfig_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/GravityVector.h"
diff --git a/kortex_driver/include/kortex_driver/generated/controlconfig_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/controlconfig_ros_converter.h
similarity index 80%
rename from kortex_driver/include/kortex_driver/generated/controlconfig_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/controlconfig_ros_converter.h
index c22531fb..6fd389fb 100644
--- a/kortex_driver/include/kortex_driver/generated/controlconfig_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/controlconfig_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/GravityVector.h"
diff --git a/kortex_driver/include/kortex_driver/generated/robot/controlconfig_services.h b/kortex_driver/include/kortex_driver/generated/robot/controlconfig_services.h
new file mode 100644
index 00000000..e4adde31
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/controlconfig_services.h
@@ -0,0 +1,71 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_CONTROLCONFIG_ROBOT_SERVICES_H_
+#define _KORTEX_CONTROLCONFIG_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/controlconfig_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class ControlConfigRobotServices : public IControlConfigServices
+{
+ public:
+ ControlConfigRobotServices(ros::NodeHandle& node_handle, Kinova::Api::ControlConfig::ControlConfigClient* controlconfig, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool SetGravityVector(kortex_driver::SetGravityVector::Request &req, kortex_driver::SetGravityVector::Response &res) override;
+ virtual bool GetGravityVector(kortex_driver::GetGravityVector::Request &req, kortex_driver::GetGravityVector::Response &res) override;
+ virtual bool SetPayloadInformation(kortex_driver::SetPayloadInformation::Request &req, kortex_driver::SetPayloadInformation::Response &res) override;
+ virtual bool GetPayloadInformation(kortex_driver::GetPayloadInformation::Request &req, kortex_driver::GetPayloadInformation::Response &res) override;
+ virtual bool SetToolConfiguration(kortex_driver::SetToolConfiguration::Request &req, kortex_driver::SetToolConfiguration::Response &res) override;
+ virtual bool GetToolConfiguration(kortex_driver::GetToolConfiguration::Request &req, kortex_driver::GetToolConfiguration::Response &res) override;
+ virtual bool OnNotificationControlConfigurationTopic(kortex_driver::OnNotificationControlConfigurationTopic::Request &req, kortex_driver::OnNotificationControlConfigurationTopic::Response &res) override;
+ virtual void cb_ControlConfigurationTopic(Kinova::Api::ControlConfig::ControlConfigurationNotification notif) override;
+ virtual bool ControlConfig_Unsubscribe(kortex_driver::ControlConfig_Unsubscribe::Request &req, kortex_driver::ControlConfig_Unsubscribe::Response &res) override;
+ virtual bool SetCartesianReferenceFrame(kortex_driver::SetCartesianReferenceFrame::Request &req, kortex_driver::SetCartesianReferenceFrame::Response &res) override;
+ virtual bool GetCartesianReferenceFrame(kortex_driver::GetCartesianReferenceFrame::Request &req, kortex_driver::GetCartesianReferenceFrame::Response &res) override;
+ virtual bool ControlConfig_GetControlMode(kortex_driver::ControlConfig_GetControlMode::Request &req, kortex_driver::ControlConfig_GetControlMode::Response &res) override;
+ virtual bool SetJointSpeedSoftLimits(kortex_driver::SetJointSpeedSoftLimits::Request &req, kortex_driver::SetJointSpeedSoftLimits::Response &res) override;
+ virtual bool SetTwistLinearSoftLimit(kortex_driver::SetTwistLinearSoftLimit::Request &req, kortex_driver::SetTwistLinearSoftLimit::Response &res) override;
+ virtual bool SetTwistAngularSoftLimit(kortex_driver::SetTwistAngularSoftLimit::Request &req, kortex_driver::SetTwistAngularSoftLimit::Response &res) override;
+ virtual bool SetJointAccelerationSoftLimits(kortex_driver::SetJointAccelerationSoftLimits::Request &req, kortex_driver::SetJointAccelerationSoftLimits::Response &res) override;
+ virtual bool GetKinematicHardLimits(kortex_driver::GetKinematicHardLimits::Request &req, kortex_driver::GetKinematicHardLimits::Response &res) override;
+ virtual bool GetKinematicSoftLimits(kortex_driver::GetKinematicSoftLimits::Request &req, kortex_driver::GetKinematicSoftLimits::Response &res) override;
+ virtual bool GetAllKinematicSoftLimits(kortex_driver::GetAllKinematicSoftLimits::Request &req, kortex_driver::GetAllKinematicSoftLimits::Response &res) override;
+ virtual bool SetDesiredLinearTwist(kortex_driver::SetDesiredLinearTwist::Request &req, kortex_driver::SetDesiredLinearTwist::Response &res) override;
+ virtual bool SetDesiredAngularTwist(kortex_driver::SetDesiredAngularTwist::Request &req, kortex_driver::SetDesiredAngularTwist::Response &res) override;
+ virtual bool SetDesiredJointSpeeds(kortex_driver::SetDesiredJointSpeeds::Request &req, kortex_driver::SetDesiredJointSpeeds::Response &res) override;
+ virtual bool GetDesiredSpeeds(kortex_driver::GetDesiredSpeeds::Request &req, kortex_driver::GetDesiredSpeeds::Response &res) override;
+ virtual bool ResetGravityVector(kortex_driver::ResetGravityVector::Request &req, kortex_driver::ResetGravityVector::Response &res) override;
+ virtual bool ResetPayloadInformation(kortex_driver::ResetPayloadInformation::Request &req, kortex_driver::ResetPayloadInformation::Response &res) override;
+ virtual bool ResetToolConfiguration(kortex_driver::ResetToolConfiguration::Request &req, kortex_driver::ResetToolConfiguration::Response &res) override;
+ virtual bool ResetJointSpeedSoftLimits(kortex_driver::ResetJointSpeedSoftLimits::Request &req, kortex_driver::ResetJointSpeedSoftLimits::Response &res) override;
+ virtual bool ResetTwistLinearSoftLimit(kortex_driver::ResetTwistLinearSoftLimit::Request &req, kortex_driver::ResetTwistLinearSoftLimit::Response &res) override;
+ virtual bool ResetTwistAngularSoftLimit(kortex_driver::ResetTwistAngularSoftLimit::Request &req, kortex_driver::ResetTwistAngularSoftLimit::Response &res) override;
+ virtual bool ResetJointAccelerationSoftLimits(kortex_driver::ResetJointAccelerationSoftLimits::Request &req, kortex_driver::ResetJointAccelerationSoftLimits::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::ControlConfig::ControlConfigClient* m_controlconfig;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/deviceconfig_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_proto_converter.h
similarity index 83%
rename from kortex_driver/include/kortex_driver/generated/deviceconfig_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/deviceconfig_proto_converter.h
index 38e025c7..67448259 100644
--- a/kortex_driver/include/kortex_driver/generated/deviceconfig_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/DeviceType.h"
diff --git a/kortex_driver/include/kortex_driver/generated/deviceconfig_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_ros_converter.h
similarity index 83%
rename from kortex_driver/include/kortex_driver/generated/deviceconfig_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/deviceconfig_ros_converter.h
index 4e727c19..9dbe819a 100644
--- a/kortex_driver/include/kortex_driver/generated/deviceconfig_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/DeviceType.h"
diff --git a/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_services.h b/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_services.h
new file mode 100644
index 00000000..fb87a132
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/deviceconfig_services.h
@@ -0,0 +1,74 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_DEVICECONFIG_ROBOT_SERVICES_H_
+#define _KORTEX_DEVICECONFIG_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/deviceconfig_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class DeviceConfigRobotServices : public IDeviceConfigServices
+{
+ public:
+ DeviceConfigRobotServices(ros::NodeHandle& node_handle, Kinova::Api::DeviceConfig::DeviceConfigClient* deviceconfig, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool GetRunMode(kortex_driver::GetRunMode::Request &req, kortex_driver::GetRunMode::Response &res) override;
+ virtual bool SetRunMode(kortex_driver::SetRunMode::Request &req, kortex_driver::SetRunMode::Response &res) override;
+ virtual bool GetDeviceType(kortex_driver::GetDeviceType::Request &req, kortex_driver::GetDeviceType::Response &res) override;
+ virtual bool GetFirmwareVersion(kortex_driver::GetFirmwareVersion::Request &req, kortex_driver::GetFirmwareVersion::Response &res) override;
+ virtual bool GetBootloaderVersion(kortex_driver::GetBootloaderVersion::Request &req, kortex_driver::GetBootloaderVersion::Response &res) override;
+ virtual bool GetModelNumber(kortex_driver::GetModelNumber::Request &req, kortex_driver::GetModelNumber::Response &res) override;
+ virtual bool GetPartNumber(kortex_driver::GetPartNumber::Request &req, kortex_driver::GetPartNumber::Response &res) override;
+ virtual bool GetSerialNumber(kortex_driver::GetSerialNumber::Request &req, kortex_driver::GetSerialNumber::Response &res) override;
+ virtual bool GetMACAddress(kortex_driver::GetMACAddress::Request &req, kortex_driver::GetMACAddress::Response &res) override;
+ virtual bool GetIPv4Settings(kortex_driver::GetIPv4Settings::Request &req, kortex_driver::GetIPv4Settings::Response &res) override;
+ virtual bool SetIPv4Settings(kortex_driver::SetIPv4Settings::Request &req, kortex_driver::SetIPv4Settings::Response &res) override;
+ virtual bool GetPartNumberRevision(kortex_driver::GetPartNumberRevision::Request &req, kortex_driver::GetPartNumberRevision::Response &res) override;
+ virtual bool RebootRequest(kortex_driver::RebootRequest::Request &req, kortex_driver::RebootRequest::Response &res) override;
+ virtual bool SetSafetyEnable(kortex_driver::SetSafetyEnable::Request &req, kortex_driver::SetSafetyEnable::Response &res) override;
+ virtual bool SetSafetyErrorThreshold(kortex_driver::SetSafetyErrorThreshold::Request &req, kortex_driver::SetSafetyErrorThreshold::Response &res) override;
+ virtual bool SetSafetyWarningThreshold(kortex_driver::SetSafetyWarningThreshold::Request &req, kortex_driver::SetSafetyWarningThreshold::Response &res) override;
+ virtual bool SetSafetyConfiguration(kortex_driver::SetSafetyConfiguration::Request &req, kortex_driver::SetSafetyConfiguration::Response &res) override;
+ virtual bool GetSafetyConfiguration(kortex_driver::GetSafetyConfiguration::Request &req, kortex_driver::GetSafetyConfiguration::Response &res) override;
+ virtual bool GetSafetyInformation(kortex_driver::GetSafetyInformation::Request &req, kortex_driver::GetSafetyInformation::Response &res) override;
+ virtual bool GetSafetyEnable(kortex_driver::GetSafetyEnable::Request &req, kortex_driver::GetSafetyEnable::Response &res) override;
+ virtual bool GetSafetyStatus(kortex_driver::GetSafetyStatus::Request &req, kortex_driver::GetSafetyStatus::Response &res) override;
+ virtual bool ClearAllSafetyStatus(kortex_driver::ClearAllSafetyStatus::Request &req, kortex_driver::ClearAllSafetyStatus::Response &res) override;
+ virtual bool ClearSafetyStatus(kortex_driver::ClearSafetyStatus::Request &req, kortex_driver::ClearSafetyStatus::Response &res) override;
+ virtual bool GetAllSafetyConfiguration(kortex_driver::GetAllSafetyConfiguration::Request &req, kortex_driver::GetAllSafetyConfiguration::Response &res) override;
+ virtual bool GetAllSafetyInformation(kortex_driver::GetAllSafetyInformation::Request &req, kortex_driver::GetAllSafetyInformation::Response &res) override;
+ virtual bool ResetSafetyDefaults(kortex_driver::ResetSafetyDefaults::Request &req, kortex_driver::ResetSafetyDefaults::Response &res) override;
+ virtual bool OnNotificationSafetyTopic(kortex_driver::OnNotificationSafetyTopic::Request &req, kortex_driver::OnNotificationSafetyTopic::Response &res) override;
+ virtual void cb_SafetyTopic(Kinova::Api::Common::SafetyNotification notif) override;
+ virtual bool ExecuteCalibration(kortex_driver::ExecuteCalibration::Request &req, kortex_driver::ExecuteCalibration::Response &res) override;
+ virtual bool GetCalibrationResult(kortex_driver::GetCalibrationResult::Request &req, kortex_driver::GetCalibrationResult::Response &res) override;
+ virtual bool StopCalibration(kortex_driver::StopCalibration::Request &req, kortex_driver::StopCalibration::Response &res) override;
+ virtual bool DeviceConfig_SetCapSenseConfig(kortex_driver::DeviceConfig_SetCapSenseConfig::Request &req, kortex_driver::DeviceConfig_SetCapSenseConfig::Response &res) override;
+ virtual bool DeviceConfig_GetCapSenseConfig(kortex_driver::DeviceConfig_GetCapSenseConfig::Request &req, kortex_driver::DeviceConfig_GetCapSenseConfig::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::DeviceConfig::DeviceConfigClient* m_deviceconfig;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/robot/devicemanager_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/devicemanager_proto_converter.h
new file mode 100644
index 00000000..42e63e7e
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/devicemanager_proto_converter.h
@@ -0,0 +1,49 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_DEVICEMANAGER_PROTO_CONVERTER_H_
+#define _KORTEX_DEVICEMANAGER_PROTO_CONVERTER_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
+
+
+#include "kortex_driver/DeviceHandles.h"
+
+
+int ToProtoData(kortex_driver::DeviceHandles input, Kinova::Api::DeviceManager::DeviceHandles *output);
+
+#endif
\ No newline at end of file
diff --git a/kortex_driver/include/kortex_driver/generated/robot/devicemanager_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/devicemanager_ros_converter.h
new file mode 100644
index 00000000..3847a80b
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/devicemanager_ros_converter.h
@@ -0,0 +1,49 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_DEVICEMANAGER_ROS_CONVERTER_H_
+#define _KORTEX_DEVICEMANAGER_ROS_CONVERTER_H_
+
+#include "ros/ros.h"
+
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
+
+
+#include "kortex_driver/DeviceHandles.h"
+
+
+int ToRosData(Kinova::Api::DeviceManager::DeviceHandles input, kortex_driver::DeviceHandles &output);
+
+#endif
\ No newline at end of file
diff --git a/kortex_driver/include/kortex_driver/generated/robot/devicemanager_services.h b/kortex_driver/include/kortex_driver/generated/robot/devicemanager_services.h
new file mode 100644
index 00000000..26443eca
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/devicemanager_services.h
@@ -0,0 +1,42 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_DEVICEMANAGER_ROBOT_SERVICES_H_
+#define _KORTEX_DEVICEMANAGER_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/devicemanager_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class DeviceManagerRobotServices : public IDeviceManagerServices
+{
+ public:
+ DeviceManagerRobotServices(ros::NodeHandle& node_handle, Kinova::Api::DeviceManager::DeviceManagerClient* devicemanager, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool ReadAllDevices(kortex_driver::ReadAllDevices::Request &req, kortex_driver::ReadAllDevices::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::DeviceManager::DeviceManagerClient* m_devicemanager;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/grippercyclic_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/grippercyclic_proto_converter.h
similarity index 66%
rename from kortex_driver/include/kortex_driver/generated/grippercyclic_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/grippercyclic_proto_converter.h
index fc5faad4..9a696f5f 100644
--- a/kortex_driver/include/kortex_driver/generated/grippercyclic_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/grippercyclic_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/GripperCyclic_MessageId.h"
diff --git a/kortex_driver/include/kortex_driver/generated/grippercyclic_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/grippercyclic_ros_converter.h
similarity index 66%
rename from kortex_driver/include/kortex_driver/generated/grippercyclic_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/grippercyclic_ros_converter.h
index e352379a..a584b91e 100644
--- a/kortex_driver/include/kortex_driver/generated/grippercyclic_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/grippercyclic_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/GripperCyclic_MessageId.h"
diff --git a/kortex_driver/include/kortex_driver/generated/interconnectconfig_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_proto_converter.h
similarity index 75%
rename from kortex_driver/include/kortex_driver/generated/interconnectconfig_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_proto_converter.h
index 0f3d45cc..4b201c00 100644
--- a/kortex_driver/include/kortex_driver/generated/interconnectconfig_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/EthernetDeviceIdentification.h"
diff --git a/kortex_driver/include/kortex_driver/generated/interconnectconfig_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_ros_converter.h
similarity index 75%
rename from kortex_driver/include/kortex_driver/generated/interconnectconfig_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_ros_converter.h
index 0f6187c3..f155cf65 100644
--- a/kortex_driver/include/kortex_driver/generated/interconnectconfig_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/EthernetDeviceIdentification.h"
diff --git a/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_services.h b/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_services.h
new file mode 100644
index 00000000..a4f360eb
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/interconnectconfig_services.h
@@ -0,0 +1,55 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_INTERCONNECTCONFIG_ROBOT_SERVICES_H_
+#define _KORTEX_INTERCONNECTCONFIG_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/interconnectconfig_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class InterconnectConfigRobotServices : public IInterconnectConfigServices
+{
+ public:
+ InterconnectConfigRobotServices(ros::NodeHandle& node_handle, Kinova::Api::InterconnectConfig::InterconnectConfigClient* interconnectconfig, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool GetUARTConfiguration(kortex_driver::GetUARTConfiguration::Request &req, kortex_driver::GetUARTConfiguration::Response &res) override;
+ virtual bool SetUARTConfiguration(kortex_driver::SetUARTConfiguration::Request &req, kortex_driver::SetUARTConfiguration::Response &res) override;
+ virtual bool GetEthernetConfiguration(kortex_driver::GetEthernetConfiguration::Request &req, kortex_driver::GetEthernetConfiguration::Response &res) override;
+ virtual bool SetEthernetConfiguration(kortex_driver::SetEthernetConfiguration::Request &req, kortex_driver::SetEthernetConfiguration::Response &res) override;
+ virtual bool GetGPIOConfiguration(kortex_driver::GetGPIOConfiguration::Request &req, kortex_driver::GetGPIOConfiguration::Response &res) override;
+ virtual bool SetGPIOConfiguration(kortex_driver::SetGPIOConfiguration::Request &req, kortex_driver::SetGPIOConfiguration::Response &res) override;
+ virtual bool GetGPIOState(kortex_driver::GetGPIOState::Request &req, kortex_driver::GetGPIOState::Response &res) override;
+ virtual bool SetGPIOState(kortex_driver::SetGPIOState::Request &req, kortex_driver::SetGPIOState::Response &res) override;
+ virtual bool GetI2CConfiguration(kortex_driver::GetI2CConfiguration::Request &req, kortex_driver::GetI2CConfiguration::Response &res) override;
+ virtual bool SetI2CConfiguration(kortex_driver::SetI2CConfiguration::Request &req, kortex_driver::SetI2CConfiguration::Response &res) override;
+ virtual bool I2CRead(kortex_driver::I2CRead::Request &req, kortex_driver::I2CRead::Response &res) override;
+ virtual bool I2CReadRegister(kortex_driver::I2CReadRegister::Request &req, kortex_driver::I2CReadRegister::Response &res) override;
+ virtual bool I2CWrite(kortex_driver::I2CWrite::Request &req, kortex_driver::I2CWrite::Response &res) override;
+ virtual bool I2CWriteRegister(kortex_driver::I2CWriteRegister::Request &req, kortex_driver::I2CWriteRegister::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::InterconnectConfig::InterconnectConfigClient* m_interconnectconfig;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/interconnectcyclic_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/interconnectcyclic_proto_converter.h
similarity index 60%
rename from kortex_driver/include/kortex_driver/generated/interconnectcyclic_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/interconnectcyclic_proto_converter.h
index ba34f394..ad838be9 100644
--- a/kortex_driver/include/kortex_driver/generated/interconnectcyclic_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/interconnectcyclic_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/InterconnectCyclic_MessageId.h"
diff --git a/kortex_driver/include/kortex_driver/generated/interconnectcyclic_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/interconnectcyclic_ros_converter.h
similarity index 60%
rename from kortex_driver/include/kortex_driver/generated/interconnectcyclic_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/interconnectcyclic_ros_converter.h
index 2e89a38c..eefda5c7 100644
--- a/kortex_driver/include/kortex_driver/generated/interconnectcyclic_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/interconnectcyclic_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/InterconnectCyclic_MessageId.h"
diff --git a/kortex_driver/include/kortex_driver/generated/productconfiguration_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/productconfiguration_proto_converter.h
similarity index 54%
rename from kortex_driver/include/kortex_driver/generated/productconfiguration_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/productconfiguration_proto_converter.h
index 213530f8..c40b896b 100644
--- a/kortex_driver/include/kortex_driver/generated/productconfiguration_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/productconfiguration_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
-#include "kortex_driver/generated/visionconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_proto_converter.h"
#include "kortex_driver/CompleteProductConfiguration.h"
diff --git a/kortex_driver/include/kortex_driver/generated/productconfiguration_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/productconfiguration_ros_converter.h
similarity index 54%
rename from kortex_driver/include/kortex_driver/generated/productconfiguration_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/productconfiguration_ros_converter.h
index 4998b0a2..757cc526 100644
--- a/kortex_driver/include/kortex_driver/generated/productconfiguration_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/productconfiguration_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
-#include "kortex_driver/generated/visionconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/visionconfig_ros_converter.h"
#include "kortex_driver/CompleteProductConfiguration.h"
diff --git a/kortex_driver/include/kortex_driver/generated/visionconfig_proto_converter.h b/kortex_driver/include/kortex_driver/generated/robot/visionconfig_proto_converter.h
similarity index 78%
rename from kortex_driver/include/kortex_driver/generated/visionconfig_proto_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/visionconfig_proto_converter.h
index 2b643df0..ed757cda 100644
--- a/kortex_driver/include/kortex_driver/generated/visionconfig_proto_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/visionconfig_proto_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_proto_converter.h"
-#include "kortex_driver/generated/actuatorconfig_proto_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_proto_converter.h"
-#include "kortex_driver/generated/productconfiguration_proto_converter.h"
-#include "kortex_driver/generated/base_proto_converter.h"
-#include "kortex_driver/generated/grippercyclic_proto_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_proto_converter.h"
-#include "kortex_driver/generated/basecyclic_proto_converter.h"
-#include "kortex_driver/generated/controlconfig_proto_converter.h"
-#include "kortex_driver/generated/deviceconfig_proto_converter.h"
-#include "kortex_driver/generated/devicemanager_proto_converter.h"
-#include "kortex_driver/generated/interconnectconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/common_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_proto_converter.h"
+#include "kortex_driver/generated/robot/base_proto_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_proto_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_proto_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_proto_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_proto_converter.h"
#include "kortex_driver/SensorSettings.h"
diff --git a/kortex_driver/include/kortex_driver/generated/visionconfig_ros_converter.h b/kortex_driver/include/kortex_driver/generated/robot/visionconfig_ros_converter.h
similarity index 78%
rename from kortex_driver/include/kortex_driver/generated/visionconfig_ros_converter.h
rename to kortex_driver/include/kortex_driver/generated/robot/visionconfig_ros_converter.h
index 74cca282..3d4a961f 100644
--- a/kortex_driver/include/kortex_driver/generated/visionconfig_ros_converter.h
+++ b/kortex_driver/include/kortex_driver/generated/robot/visionconfig_ros_converter.h
@@ -27,18 +27,18 @@
#include
-#include "kortex_driver/generated/common_ros_converter.h"
-#include "kortex_driver/generated/actuatorconfig_ros_converter.h"
-#include "kortex_driver/generated/actuatorcyclic_ros_converter.h"
-#include "kortex_driver/generated/productconfiguration_ros_converter.h"
-#include "kortex_driver/generated/base_ros_converter.h"
-#include "kortex_driver/generated/grippercyclic_ros_converter.h"
-#include "kortex_driver/generated/interconnectcyclic_ros_converter.h"
-#include "kortex_driver/generated/basecyclic_ros_converter.h"
-#include "kortex_driver/generated/controlconfig_ros_converter.h"
-#include "kortex_driver/generated/deviceconfig_ros_converter.h"
-#include "kortex_driver/generated/devicemanager_ros_converter.h"
-#include "kortex_driver/generated/interconnectconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/common_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/actuatorcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/productconfiguration_ros_converter.h"
+#include "kortex_driver/generated/robot/base_ros_converter.h"
+#include "kortex_driver/generated/robot/grippercyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectcyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/basecyclic_ros_converter.h"
+#include "kortex_driver/generated/robot/controlconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/deviceconfig_ros_converter.h"
+#include "kortex_driver/generated/robot/devicemanager_ros_converter.h"
+#include "kortex_driver/generated/robot/interconnectconfig_ros_converter.h"
#include "kortex_driver/SensorSettings.h"
diff --git a/kortex_driver/include/kortex_driver/generated/robot/visionconfig_services.h b/kortex_driver/include/kortex_driver/generated/robot/visionconfig_services.h
new file mode 100644
index 00000000..32e0129a
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/robot/visionconfig_services.h
@@ -0,0 +1,54 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_VISIONCONFIG_ROBOT_SERVICES_H_
+#define _KORTEX_VISIONCONFIG_ROBOT_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/visionconfig_services_interface.h"
+
+#include
+#include
+
+using namespace std;
+
+class VisionConfigRobotServices : public IVisionConfigServices
+{
+ public:
+ VisionConfigRobotServices(ros::NodeHandle& node_handle, Kinova::Api::VisionConfig::VisionConfigClient* visionconfig, uint32_t device_id, uint32_t timeout_ms);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ virtual bool SetSensorSettings(kortex_driver::SetSensorSettings::Request &req, kortex_driver::SetSensorSettings::Response &res) override;
+ virtual bool GetSensorSettings(kortex_driver::GetSensorSettings::Request &req, kortex_driver::GetSensorSettings::Response &res) override;
+ virtual bool GetOptionValue(kortex_driver::GetOptionValue::Request &req, kortex_driver::GetOptionValue::Response &res) override;
+ virtual bool SetOptionValue(kortex_driver::SetOptionValue::Request &req, kortex_driver::SetOptionValue::Response &res) override;
+ virtual bool GetOptionInformation(kortex_driver::GetOptionInformation::Request &req, kortex_driver::GetOptionInformation::Response &res) override;
+ virtual bool OnNotificationVisionTopic(kortex_driver::OnNotificationVisionTopic::Request &req, kortex_driver::OnNotificationVisionTopic::Response &res) override;
+ virtual void cb_VisionTopic(Kinova::Api::VisionConfig::VisionNotification notif) override;
+ virtual bool DoSensorFocusAction(kortex_driver::DoSensorFocusAction::Request &req, kortex_driver::DoSensorFocusAction::Response &res) override;
+ virtual bool GetIntrinsicParameters(kortex_driver::GetIntrinsicParameters::Request &req, kortex_driver::GetIntrinsicParameters::Response &res) override;
+ virtual bool GetIntrinsicParametersProfile(kortex_driver::GetIntrinsicParametersProfile::Request &req, kortex_driver::GetIntrinsicParametersProfile::Response &res) override;
+ virtual bool SetIntrinsicParameters(kortex_driver::SetIntrinsicParameters::Request &req, kortex_driver::SetIntrinsicParameters::Response &res) override;
+ virtual bool GetExtrinsicParameters(kortex_driver::GetExtrinsicParameters::Request &req, kortex_driver::GetExtrinsicParameters::Response &res) override;
+ virtual bool SetExtrinsicParameters(kortex_driver::SetExtrinsicParameters::Request &req, kortex_driver::SetExtrinsicParameters::Response &res) override;
+
+private:
+ uint32_t m_current_device_id;
+ Kinova::Api::RouterClientSendOptions m_api_options;
+
+ Kinova::Api::VisionConfig::VisionConfigClient* m_visionconfig;
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/simulation/actuatorconfig_services.h b/kortex_driver/include/kortex_driver/generated/simulation/actuatorconfig_services.h
new file mode 100644
index 00000000..0a04e424
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/simulation/actuatorconfig_services.h
@@ -0,0 +1,73 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_ACTUATORCONFIG_SIMULATION_SERVICES_H_
+#define _KORTEX_ACTUATORCONFIG_SIMULATION_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/actuatorconfig_services_interface.h"
+
+using namespace std;
+
+class ActuatorConfigSimulationServices : public IActuatorConfigServices
+{
+ public:
+ ActuatorConfigSimulationServices(ros::NodeHandle& node_handle);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ std::function GetAxisOffsetsHandler = nullptr;
+ virtual bool GetAxisOffsets(kortex_driver::GetAxisOffsets::Request &req, kortex_driver::GetAxisOffsets::Response &res) override;
+ std::function SetAxisOffsetsHandler = nullptr;
+ virtual bool SetAxisOffsets(kortex_driver::SetAxisOffsets::Request &req, kortex_driver::SetAxisOffsets::Response &res) override;
+ std::function SetTorqueOffsetHandler = nullptr;
+ virtual bool SetTorqueOffset(kortex_driver::SetTorqueOffset::Request &req, kortex_driver::SetTorqueOffset::Response &res) override;
+ std::function ActuatorConfig_GetControlModeHandler = nullptr;
+ virtual bool ActuatorConfig_GetControlMode(kortex_driver::ActuatorConfig_GetControlMode::Request &req, kortex_driver::ActuatorConfig_GetControlMode::Response &res) override;
+ std::function SetControlModeHandler = nullptr;
+ virtual bool SetControlMode(kortex_driver::SetControlMode::Request &req, kortex_driver::SetControlMode::Response &res) override;
+ std::function GetActivatedControlLoopHandler = nullptr;
+ virtual bool GetActivatedControlLoop(kortex_driver::GetActivatedControlLoop::Request &req, kortex_driver::GetActivatedControlLoop::Response &res) override;
+ std::function SetActivatedControlLoopHandler = nullptr;
+ virtual bool SetActivatedControlLoop(kortex_driver::SetActivatedControlLoop::Request &req, kortex_driver::SetActivatedControlLoop::Response &res) override;
+ std::function GetControlLoopParametersHandler = nullptr;
+ virtual bool GetControlLoopParameters(kortex_driver::GetControlLoopParameters::Request &req, kortex_driver::GetControlLoopParameters::Response &res) override;
+ std::function SetControlLoopParametersHandler = nullptr;
+ virtual bool SetControlLoopParameters(kortex_driver::SetControlLoopParameters::Request &req, kortex_driver::SetControlLoopParameters::Response &res) override;
+ std::function SelectCustomDataHandler = nullptr;
+ virtual bool SelectCustomData(kortex_driver::SelectCustomData::Request &req, kortex_driver::SelectCustomData::Response &res) override;
+ std::function GetSelectedCustomDataHandler = nullptr;
+ virtual bool GetSelectedCustomData(kortex_driver::GetSelectedCustomData::Request &req, kortex_driver::GetSelectedCustomData::Response &res) override;
+ std::function SetCommandModeHandler = nullptr;
+ virtual bool SetCommandMode(kortex_driver::SetCommandMode::Request &req, kortex_driver::SetCommandMode::Response &res) override;
+ std::function ActuatorConfig_ClearFaultsHandler = nullptr;
+ virtual bool ActuatorConfig_ClearFaults(kortex_driver::ActuatorConfig_ClearFaults::Request &req, kortex_driver::ActuatorConfig_ClearFaults::Response &res) override;
+ std::function SetServoingHandler = nullptr;
+ virtual bool SetServoing(kortex_driver::SetServoing::Request &req, kortex_driver::SetServoing::Response &res) override;
+ std::function MoveToPositionHandler = nullptr;
+ virtual bool MoveToPosition(kortex_driver::MoveToPosition::Request &req, kortex_driver::MoveToPosition::Response &res) override;
+ std::function GetCommandModeHandler = nullptr;
+ virtual bool GetCommandMode(kortex_driver::GetCommandMode::Request &req, kortex_driver::GetCommandMode::Response &res) override;
+ std::function GetServoingHandler = nullptr;
+ virtual bool GetServoing(kortex_driver::GetServoing::Request &req, kortex_driver::GetServoing::Response &res) override;
+ std::function GetTorqueOffsetHandler = nullptr;
+ virtual bool GetTorqueOffset(kortex_driver::GetTorqueOffset::Request &req, kortex_driver::GetTorqueOffset::Response &res) override;
+ std::function SetCoggingFeedforwardModeHandler = nullptr;
+ virtual bool SetCoggingFeedforwardMode(kortex_driver::SetCoggingFeedforwardMode::Request &req, kortex_driver::SetCoggingFeedforwardMode::Response &res) override;
+ std::function GetCoggingFeedforwardModeHandler = nullptr;
+ virtual bool GetCoggingFeedforwardMode(kortex_driver::GetCoggingFeedforwardMode::Request &req, kortex_driver::GetCoggingFeedforwardMode::Response &res) override;
+
+};
+#endif
diff --git a/kortex_driver/include/kortex_driver/generated/simulation/base_services.h b/kortex_driver/include/kortex_driver/generated/simulation/base_services.h
new file mode 100644
index 00000000..65566751
--- /dev/null
+++ b/kortex_driver/include/kortex_driver/generated/simulation/base_services.h
@@ -0,0 +1,335 @@
+/*
+* KINOVA (R) KORTEX (TM)
+*
+* Copyright (c) 2019 Kinova inc. All rights reserved.
+*
+* This software may be modified and distributed under the
+* terms of the BSD 3-Clause license.
+*
+* Refer to the LICENSE file for details.
+*
+*/
+
+/*
+ * This file has been auto-generated and should not be modified.
+ */
+
+#ifndef _KORTEX_BASE_SIMULATION_SERVICES_H_
+#define _KORTEX_BASE_SIMULATION_SERVICES_H_
+
+#include "kortex_driver/generated/interfaces/base_services_interface.h"
+
+using namespace std;
+
+class BaseSimulationServices : public IBaseServices
+{
+ public:
+ BaseSimulationServices(ros::NodeHandle& node_handle);
+
+ virtual bool SetDeviceID(kortex_driver::SetDeviceID::Request &req, kortex_driver::SetDeviceID::Response &res) override;
+ virtual bool SetApiOptions(kortex_driver::SetApiOptions::Request &req, kortex_driver::SetApiOptions::Response &res) override;
+ std::function CreateUserProfileHandler = nullptr;
+ virtual bool CreateUserProfile(kortex_driver::CreateUserProfile::Request &req, kortex_driver::CreateUserProfile::Response &res) override;
+ std::function UpdateUserProfileHandler = nullptr;
+ virtual bool UpdateUserProfile(kortex_driver::UpdateUserProfile::Request &req, kortex_driver::UpdateUserProfile::Response &res) override;
+ std::function ReadUserProfileHandler = nullptr;
+ virtual bool ReadUserProfile(kortex_driver::ReadUserProfile::Request &req, kortex_driver::ReadUserProfile::Response &res) override;
+ std::function DeleteUserProfileHandler = nullptr;
+ virtual bool DeleteUserProfile(kortex_driver::DeleteUserProfile::Request &req, kortex_driver::DeleteUserProfile::Response &res) override;
+ std::function ReadAllUserProfilesHandler = nullptr;
+ virtual bool ReadAllUserProfiles(kortex_driver::ReadAllUserProfiles::Request &req, kortex_driver::ReadAllUserProfiles::Response &res) override;
+ std::function ReadAllUsersHandler = nullptr;
+ virtual bool ReadAllUsers(kortex_driver::ReadAllUsers::Request &req, kortex_driver::ReadAllUsers::Response &res) override;
+ std::function ChangePasswordHandler = nullptr;
+ virtual bool ChangePassword(kortex_driver::ChangePassword::Request &req, kortex_driver::ChangePassword::Response &res) override;
+ std::function CreateSequenceHandler = nullptr;
+ virtual bool CreateSequence(kortex_driver::CreateSequence::Request &req, kortex_driver::CreateSequence::Response &res) override;
+ std::function UpdateSequenceHandler = nullptr;
+ virtual bool UpdateSequence(kortex_driver::UpdateSequence::Request &req, kortex_driver::UpdateSequence::Response &res) override;
+ std::function ReadSequenceHandler = nullptr;
+ virtual bool ReadSequence(kortex_driver::ReadSequence::Request &req, kortex_driver::ReadSequence::Response &res) override;
+ std::function DeleteSequenceHandler = nullptr;
+ virtual bool DeleteSequence(kortex_driver::DeleteSequence::Request &req, kortex_driver::DeleteSequence::Response &res) override;
+ std::function ReadAllSequencesHandler = nullptr;
+ virtual bool ReadAllSequences(kortex_driver::ReadAllSequences::Request &req, kortex_driver::ReadAllSequences::Response &res) override;
+ std::function PlaySequenceHandler = nullptr;
+ virtual bool PlaySequence(kortex_driver::PlaySequence::Request &req, kortex_driver::PlaySequence::Response &res) override;
+ std::function PlayAdvancedSequenceHandler = nullptr;
+ virtual bool PlayAdvancedSequence(kortex_driver::PlayAdvancedSequence::Request &req, kortex_driver::PlayAdvancedSequence::Response &res) override;
+ std::function StopSequenceHandler = nullptr;
+ virtual bool StopSequence(kortex_driver::StopSequence::Request &req, kortex_driver::StopSequence::Response &res) override;
+ std::function PauseSequenceHandler = nullptr;
+ virtual bool PauseSequence(kortex_driver::PauseSequence::Request &req, kortex_driver::PauseSequence::Response &res) override;
+ std::function ResumeSequenceHandler = nullptr;
+ virtual bool ResumeSequence(kortex_driver::ResumeSequence::Request &req, kortex_driver::ResumeSequence::Response &res) override;
+ std::function CreateProtectionZoneHandler = nullptr;
+ virtual bool CreateProtectionZone(kortex_driver::CreateProtectionZone::Request &req, kortex_driver::CreateProtectionZone::Response &res) override;
+ std::function UpdateProtectionZoneHandler = nullptr;
+ virtual bool UpdateProtectionZone(kortex_driver::UpdateProtectionZone::Request &req, kortex_driver::UpdateProtectionZone::Response &res) override;
+ std::function ReadProtectionZoneHandler = nullptr;
+ virtual bool ReadProtectionZone(kortex_driver::ReadProtectionZone::Request &req, kortex_driver::ReadProtectionZone::Response &res) override;
+ std::function DeleteProtectionZoneHandler = nullptr;
+ virtual bool DeleteProtectionZone(kortex_driver::DeleteProtectionZone::Request &req, kortex_driver::DeleteProtectionZone::Response &res) override;
+ std::function ReadAllProtectionZonesHandler = nullptr;
+ virtual bool ReadAllProtectionZones(kortex_driver::ReadAllProtectionZones::Request &req, kortex_driver::ReadAllProtectionZones::Response &res) override;
+ std::function CreateMappingHandler = nullptr;
+ virtual bool CreateMapping(kortex_driver::CreateMapping::Request &req, kortex_driver::CreateMapping::Response &res) override;
+ std::function ReadMappingHandler = nullptr;
+ virtual bool ReadMapping(kortex_driver::ReadMapping::Request &req, kortex_driver::ReadMapping::Response &res) override;
+ std::function UpdateMappingHandler = nullptr;
+ virtual bool UpdateMapping(kortex_driver::UpdateMapping::Request &req, kortex_driver::UpdateMapping::Response &res) override;
+ std::function DeleteMappingHandler = nullptr;
+ virtual bool DeleteMapping(kortex_driver::DeleteMapping::Request &req, kortex_driver::DeleteMapping::Response &res) override;
+ std::function ReadAllMappingsHandler = nullptr;
+ virtual bool ReadAllMappings(kortex_driver::ReadAllMappings::Request &req, kortex_driver::ReadAllMappings::Response &res) override;
+ std::function CreateMapHandler = nullptr;
+ virtual bool CreateMap(kortex_driver::CreateMap::Request &req, kortex_driver::CreateMap::Response &res) override;
+ std::function ReadMapHandler = nullptr;
+ virtual bool ReadMap(kortex_driver::ReadMap::Request &req, kortex_driver::ReadMap::Response &res) override;
+ std::function UpdateMapHandler = nullptr;
+ virtual bool UpdateMap(kortex_driver::UpdateMap::Request &req, kortex_driver::UpdateMap::Response &res) override;
+ std::function DeleteMapHandler = nullptr;
+ virtual bool DeleteMap(kortex_driver::DeleteMap::Request &req, kortex_driver::DeleteMap::Response &res) override;
+ std::function ReadAllMapsHandler = nullptr;
+ virtual bool ReadAllMaps(kortex_driver::ReadAllMaps::Request &req, kortex_driver::ReadAllMaps::Response &res) override;
+ std::function ActivateMapHandler = nullptr;
+ virtual bool ActivateMap(kortex_driver::ActivateMap::Request &req, kortex_driver::ActivateMap::Response &res) override;
+ std::function CreateActionHandler = nullptr;
+ virtual bool CreateAction(kortex_driver::CreateAction::Request &req, kortex_driver::CreateAction::Response &res) override;
+ std::function ReadActionHandler = nullptr;
+ virtual bool ReadAction(kortex_driver::ReadAction::Request &req, kortex_driver::ReadAction::Response &res) override;
+ std::function ReadAllActionsHandler = nullptr;
+ virtual bool ReadAllActions(kortex_driver::ReadAllActions::Request &req, kortex_driver::ReadAllActions::Response &res) override;
+ std::function DeleteActionHandler = nullptr;
+ virtual bool DeleteAction(kortex_driver::DeleteAction::Request &req, kortex_driver::DeleteAction::Response &res) override;
+ std::function UpdateActionHandler = nullptr;
+ virtual bool UpdateAction(kortex_driver::UpdateAction::Request &req, kortex_driver::UpdateAction::Response &res) override;
+ std::function ExecuteActionFromReferenceHandler = nullptr;
+ virtual bool ExecuteActionFromReference(kortex_driver::ExecuteActionFromReference::Request &req, kortex_driver::ExecuteActionFromReference::Response &res) override;
+ std::function ExecuteActionHandler = nullptr;
+ virtual bool ExecuteAction(kortex_driver::ExecuteAction::Request &req, kortex_driver::ExecuteAction::Response &res) override;
+ std::function PauseActionHandler = nullptr;
+ virtual bool PauseAction(kortex_driver::PauseAction::Request &req, kortex_driver::PauseAction::Response &res) override;
+ std::function StopActionHandler = nullptr;
+ virtual bool StopAction(kortex_driver::StopAction::Request &req, kortex_driver::StopAction::Response &res) override;
+ std::function ResumeActionHandler = nullptr;
+ virtual bool ResumeAction(kortex_driver::ResumeAction::Request &req, kortex_driver::ResumeAction::Response &res) override;
+ std::function GetIPv4ConfigurationHandler = nullptr;
+ virtual bool GetIPv4Configuration(kortex_driver::GetIPv4Configuration::Request &req, kortex_driver::GetIPv4Configuration::Response &res) override;
+ std::function SetIPv4ConfigurationHandler = nullptr;
+ virtual bool SetIPv4Configuration(kortex_driver::SetIPv4Configuration::Request &req, kortex_driver::SetIPv4Configuration::Response &res) override;
+ std::function SetCommunicationInterfaceEnableHandler = nullptr;
+ virtual bool SetCommunicationInterfaceEnable(kortex_driver::SetCommunicationInterfaceEnable::Request &req, kortex_driver::SetCommunicationInterfaceEnable::Response &res) override;
+ std::function IsCommunicationInterfaceEnableHandler = nullptr;
+ virtual bool IsCommunicationInterfaceEnable(kortex_driver::IsCommunicationInterfaceEnable::Request &req, kortex_driver::IsCommunicationInterfaceEnable::Response &res) override;
+ std::function GetAvailableWifiHandler = nullptr;
+ virtual bool GetAvailableWifi(kortex_driver::GetAvailableWifi::Request &req, kortex_driver::GetAvailableWifi::Response &res) override;
+ std::function GetWifiInformationHandler = nullptr;
+ virtual bool GetWifiInformation(kortex_driver::GetWifiInformation::Request &req, kortex_driver::GetWifiInformation::Response &res) override;
+ std::function AddWifiConfigurationHandler = nullptr;
+ virtual bool AddWifiConfiguration(kortex_driver::AddWifiConfiguration::Request &req, kortex_driver::AddWifiConfiguration::Response &res) override;
+ std::function DeleteWifiConfigurationHandler = nullptr;
+ virtual bool DeleteWifiConfiguration(kortex_driver::DeleteWifiConfiguration::Request &req, kortex_driver::DeleteWifiConfiguration::Response &res) override;
+ std::function GetAllConfiguredWifisHandler = nullptr;
+ virtual bool GetAllConfiguredWifis(kortex_driver::GetAllConfiguredWifis::Request &req, kortex_driver::GetAllConfiguredWifis::Response &res) override;
+ std::function ConnectWifiHandler = nullptr;
+ virtual bool ConnectWifi(kortex_driver::ConnectWifi::Request &req, kortex_driver::ConnectWifi::Response &res) override;
+ std::function DisconnectWifiHandler = nullptr;
+ virtual bool DisconnectWifi(kortex_driver::DisconnectWifi::Request &req, kortex_driver::DisconnectWifi::Response &res) override;
+ std::function GetConnectedWifiInformationHandler = nullptr;
+ virtual bool GetConnectedWifiInformation(kortex_driver::GetConnectedWifiInformation::Request &req, kortex_driver::GetConnectedWifiInformation::Response &res) override;
+ std::function Base_UnsubscribeHandler = nullptr;
+ virtual bool Base_Unsubscribe(kortex_driver::Base_Unsubscribe::Request &req, kortex_driver::Base_Unsubscribe::Response &res) override;
+ std::function OnNotificationConfigurationChangeTopicHandler = nullptr;
+ virtual bool OnNotificationConfigurationChangeTopic(kortex_driver::OnNotificationConfigurationChangeTopic::Request &req, kortex_driver::OnNotificationConfigurationChangeTopic::Response &res) override;
+ virtual void cb_ConfigurationChangeTopic(Kinova::Api::Base::ConfigurationChangeNotification notif) override;
+ std::function OnNotificationMappingInfoTopicHandler = nullptr;
+ virtual bool OnNotificationMappingInfoTopic(kortex_driver::OnNotificationMappingInfoTopic::Request &req, kortex_driver::OnNotificationMappingInfoTopic::Response &res) override;
+ virtual void cb_MappingInfoTopic(Kinova::Api::Base::MappingInfoNotification notif) override;
+ std::function OnNotificationControlModeTopicHandler = nullptr;
+ virtual bool OnNotificationControlModeTopic(kortex_driver::OnNotificationControlModeTopic::Request &req, kortex_driver::OnNotificationControlModeTopic::Response &res) override;
+ virtual void cb_ControlModeTopic(Kinova::Api::Base::ControlModeNotification notif) override;
+ std::function OnNotificationOperatingModeTopicHandler = nullptr;
+ virtual bool OnNotificationOperatingModeTopic(kortex_driver::OnNotificationOperatingModeTopic::Request &req, kortex_driver::OnNotificationOperatingModeTopic::Response &res) override;
+ virtual void cb_OperatingModeTopic(Kinova::Api::Base::OperatingModeNotification notif) override;
+ std::function OnNotificationSequenceInfoTopicHandler = nullptr;
+ virtual bool OnNotificationSequenceInfoTopic(kortex_driver::OnNotificationSequenceInfoTopic::Request &req, kortex_driver::OnNotificationSequenceInfoTopic::Response &res) override;
+ virtual void cb_SequenceInfoTopic(Kinova::Api::Base::SequenceInfoNotification notif) override;
+ std::function OnNotificationProtectionZoneTopicHandler = nullptr;
+ virtual bool OnNotificationProtectionZoneTopic(kortex_driver::OnNotificationProtectionZoneTopic::Request &req, kortex_driver::OnNotificationProtectionZoneTopic::Response &res) override;
+ virtual void cb_ProtectionZoneTopic(Kinova::Api::Base::ProtectionZoneNotification notif) override;
+ std::function OnNotificationUserTopicHandler = nullptr;
+ virtual bool OnNotificationUserTopic(kortex_driver::OnNotificationUserTopic::Request &req, kortex_driver::OnNotificationUserTopic::Response &res) override;
+ virtual void cb_UserTopic(Kinova::Api::Base::UserNotification notif) override;
+ std::function OnNotificationControllerTopicHandler = nullptr;
+ virtual bool OnNotificationControllerTopic(kortex_driver::OnNotificationControllerTopic::Request &req, kortex_driver::OnNotificationControllerTopic::Response &res) override;
+ virtual void cb_ControllerTopic(Kinova::Api::Base::ControllerNotification notif) override;
+ std::function OnNotificationActionTopicHandler = nullptr;
+ virtual bool OnNotificationActionTopic(kortex_driver::OnNotificationActionTopic::Request &req, kortex_driver::OnNotificationActionTopic::Response &res) override;
+ virtual void cb_ActionTopic(Kinova::Api::Base::ActionNotification notif) override;
+ std::function OnNotificationRobotEventTopicHandler = nullptr;
+ virtual bool OnNotificationRobotEventTopic(kortex_driver::OnNotificationRobotEventTopic::Request &req, kortex_driver::OnNotificationRobotEventTopic::Response &res) override;
+ virtual void cb_RobotEventTopic(Kinova::Api::Base::RobotEventNotification notif) override;
+ std::function PlayCartesianTrajectoryHandler = nullptr;
+ virtual bool PlayCartesianTrajectory(kortex_driver::PlayCartesianTrajectory::Request &req, kortex_driver::PlayCartesianTrajectory::Response &res) override;
+ std::function PlayCartesianTrajectoryPositionHandler = nullptr;
+ virtual bool PlayCartesianTrajectoryPosition(kortex_driver::PlayCartesianTrajectoryPosition::Request &req, kortex_driver::PlayCartesianTrajectoryPosition::Response &res) override;
+ std::function PlayCartesianTrajectoryOrientationHandler = nullptr;
+ virtual bool PlayCartesianTrajectoryOrientation(kortex_driver::PlayCartesianTrajectoryOrientation::Request &req, kortex_driver::PlayCartesianTrajectoryOrientation::Response &res) override;
+ std::function StopHandler = nullptr;
+ virtual bool Stop(kortex_driver::Stop::Request &req, kortex_driver::Stop::Response &res) override;
+ std::function GetMeasuredCartesianPoseHandler = nullptr;
+ virtual bool GetMeasuredCartesianPose(kortex_driver::GetMeasuredCartesianPose::Request &req, kortex_driver::GetMeasuredCartesianPose::Response &res) override;
+ std::function SendWrenchCommandHandler = nullptr;
+ virtual bool SendWrenchCommand(kortex_driver::SendWrenchCommand::Request &req, kortex_driver::SendWrenchCommand::Response &res) override;
+ std::function SendWrenchJoystickCommandHandler = nullptr;
+ virtual bool SendWrenchJoystickCommand(kortex_driver::SendWrenchJoystickCommand::Request &req, kortex_driver::SendWrenchJoystickCommand::Response &res) override;
+ std::function SendTwistJoystickCommandHandler = nullptr;
+ virtual bool SendTwistJoystickCommand(kortex_driver::SendTwistJoystickCommand::Request &req, kortex_driver::SendTwistJoystickCommand::Response &res) override;
+ std::function SendTwistCommandHandler = nullptr;
+ virtual bool SendTwistCommand(kortex_driver::SendTwistCommand::Request &req, kortex_driver::SendTwistCommand::Response &res) override;
+ std::function PlayJointTrajectoryHandler = nullptr;
+ virtual bool PlayJointTrajectory(kortex_driver::PlayJointTrajectory::Request &req, kortex_driver::PlayJointTrajectory::Response &res) override;
+ std::function PlaySelectedJointTrajectoryHandler = nullptr;
+ virtual bool PlaySelectedJointTrajectory(kortex_driver::PlaySelectedJointTrajectory::Request &req, kortex_driver::PlaySelectedJointTrajectory::Response &res) override;
+ std::function GetMeasuredJointAnglesHandler = nullptr;
+ virtual bool GetMeasuredJointAngles(kortex_driver::GetMeasuredJointAngles::Request &req, kortex_driver::GetMeasuredJointAngles::Response &res) override;
+ std::function SendJointSpeedsCommandHandler = nullptr;
+ virtual bool SendJointSpeedsCommand(kortex_driver::SendJointSpeedsCommand::Request &req, kortex_driver::SendJointSpeedsCommand::Response &res) override;
+ std::function SendSelectedJointSpeedCommandHandler = nullptr;
+ virtual bool SendSelectedJointSpeedCommand(kortex_driver::SendSelectedJointSpeedCommand::Request &req, kortex_driver::SendSelectedJointSpeedCommand::Response &res) override;
+ std::function SendGripperCommandHandler = nullptr;
+ virtual bool SendGripperCommand(kortex_driver::SendGripperCommand::Request &req, kortex_driver::SendGripperCommand::Response &res) override;
+ std::function GetMeasuredGripperMovementHandler = nullptr;
+ virtual bool GetMeasuredGripperMovement(kortex_driver::GetMeasuredGripperMovement::Request &req, kortex_driver::GetMeasuredGripperMovement::Response &res) override;
+ std::function SetAdmittanceHandler = nullptr;
+ virtual bool SetAdmittance(kortex_driver::SetAdmittance::Request &req, kortex_driver::SetAdmittance::Response &res) override;
+ std::function SetOperatingModeHandler = nullptr;
+ virtual bool SetOperatingMode(kortex_driver::SetOperatingMode::Request &req, kortex_driver::SetOperatingMode::Response &res) override;
+ std::function ApplyEmergencyStopHandler = nullptr;
+ virtual bool ApplyEmergencyStop(kortex_driver::ApplyEmergencyStop::Request &req, kortex_driver::ApplyEmergencyStop::Response &res) override;
+ std::function Base_ClearFaultsHandler = nullptr;
+ virtual bool Base_ClearFaults(kortex_driver::Base_ClearFaults::Request &req, kortex_driver::Base_ClearFaults::Response &res) override;
+ std::function Base_GetControlModeHandler = nullptr;
+ virtual bool Base_GetControlMode(kortex_driver::Base_GetControlMode::Request &req, kortex_driver::Base_GetControlMode::Response &res) override;
+ std::function GetOperatingModeHandler = nullptr;
+ virtual bool GetOperatingMode(kortex_driver::GetOperatingMode::Request &req, kortex_driver::GetOperatingMode::Response &res) override;
+ std::function SetServoingModeHandler = nullptr;
+ virtual bool SetServoingMode(kortex_driver::SetServoingMode::Request &req, kortex_driver::SetServoingMode::Response &res) override;
+ std::function GetServoingModeHandler = nullptr;
+ virtual bool GetServoingMode(kortex_driver::GetServoingMode::Request &req, kortex_driver::GetServoingMode::Response &res) override;
+ std::function OnNotificationServoingModeTopicHandler = nullptr;
+ virtual bool OnNotificationServoingModeTopic(kortex_driver::OnNotificationServoingModeTopic::Request &req, kortex_driver::OnNotificationServoingModeTopic::Response &res) override;
+ virtual void cb_ServoingModeTopic(Kinova::Api::Base::ServoingModeNotification notif) override;
+ std::function RestoreFactorySettingsHandler = nullptr;
+ virtual bool RestoreFactorySettings(kortex_driver::RestoreFactorySettings::Request &req, kortex_driver::RestoreFactorySettings::Response &res) override;
+ std::function OnNotificationFactoryTopicHandler = nullptr;
+ virtual bool OnNotificationFactoryTopic(kortex_driver::OnNotificationFactoryTopic::Request &req, kortex_driver::OnNotificationFactoryTopic::Response &res) override;
+ virtual void cb_FactoryTopic(Kinova::Api::Base::FactoryNotification notif) override;
+ std::function GetAllConnectedControllersHandler = nullptr;
+ virtual bool GetAllConnectedControllers(kortex_driver::GetAllConnectedControllers::Request &req, kortex_driver::GetAllConnectedControllers::Response &res) override;
+ std::function