Skip to content

Commit

Permalink
fix service code
Browse files Browse the repository at this point in the history
  • Loading branch information
vimior committed Jul 7, 2021
1 parent 40996fe commit 122d3a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarm_api/src/xarm_driver.cpp
Expand Up @@ -8,7 +8,7 @@
#define CMD_HEARTBEAT_SEC 30 // 30s

#define DEBUG_MODE 1
#define PARAM_ERROR 998
#define PARAM_ERROR 997


void* cmd_heart_beat(void* args)
Expand Down Expand Up @@ -1012,7 +1012,7 @@ namespace xarm_api

bool XArmDriver::SetFenceModeCB(xarm_msgs::SetInt16::Request& req, xarm_msgs::SetInt16::Response& res)
{
res.ret = arm->set_fence_mode((bool)req.data);
res.ret = arm->set_fence_mode((bool)req.data);
return res.ret >= 0;
}

Expand Down

0 comments on commit 122d3a1

Please sign in to comment.