Unverified Commit 3a8eea83 authored by Tom Queen's avatar Tom Queen Committed by GitHub
Browse files

Update hardware_interface.cpp

parent 4cf8d6fc
......@@ -448,7 +448,7 @@ void HardwareInterface::write(const ros::Time& time, const ros::Duration& period
{
if ((runtime_state_ == static_cast<uint32_t>(rtde_interface::RUNTIME_STATE::PLAYING) ||
runtime_state_ == static_cast<uint32_t>(rtde_interface::RUNTIME_STATE::PAUSING)) &&
robot_program_running_ && ((non_blocking_read_ && packet_read_) || (!non_blocking_read_)))
robot_program_running_ && (!non_blocking_read_ || packet_read_))
{
if (position_controller_running_)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment