mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 18:10:47 +02:00
Remove obsolete robot state publisher
This commit is contained in:
@@ -509,11 +509,6 @@ private:
|
|||||||
wrench_msg.wrench.torque.z = tcp_force[5];
|
wrench_msg.wrench.torque.z = tcp_force[5];
|
||||||
wrench_pub.publish(wrench_msg);
|
wrench_pub.publish(wrench_msg);
|
||||||
|
|
||||||
// //Publish robot state
|
|
||||||
// std_msgs::Int32 robot_state_msg;
|
|
||||||
// robot_state_msg.data = (int) robot_.rt_interface_->robot_state_->getRobotMode();
|
|
||||||
// robot_state_pub.publish(robot_state_msg);
|
|
||||||
|
|
||||||
//Update diagnostics
|
//Update diagnostics
|
||||||
driver_status_.robot_mode = static_cast<RobotMode>( robot_.rt_interface_->robot_state_->getRobotMode() );
|
driver_status_.robot_mode = static_cast<RobotMode>( robot_.rt_interface_->robot_state_->getRobotMode() );
|
||||||
driver_status_.safety_mode = static_cast<SafetyMode>( robot_.rt_interface_->robot_state_->getSafety_mode() );
|
driver_status_.safety_mode = static_cast<SafetyMode>( robot_.rt_interface_->robot_state_->getSafety_mode() );
|
||||||
|
|||||||
Reference in New Issue
Block a user