Add gripper support
This commit is contained in:
parent
1e729cc9f3
commit
dec06e1ea1
@ -90,6 +90,8 @@ class RosAriaNode
|
|||||||
|
|
||||||
ArRobotConnector *conn;
|
ArRobotConnector *conn;
|
||||||
ArRobot *robot;
|
ArRobot *robot;
|
||||||
|
ArGripper* gripper;
|
||||||
|
|
||||||
nav_msgs::Odometry position;
|
nav_msgs::Odometry position;
|
||||||
rosaria::BumperState bumpers;
|
rosaria::BumperState bumpers;
|
||||||
ArPose pos;
|
ArPose pos;
|
||||||
@ -352,6 +354,8 @@ RosAriaNode::RosAriaNode(ros::NodeHandle nh) :
|
|||||||
stop_robot=false;
|
stop_robot=false;
|
||||||
stop_motors_msg.data=false;
|
stop_motors_msg.data=false;
|
||||||
veltime = ros::Time::now();
|
veltime = ros::Time::now();
|
||||||
|
|
||||||
|
gripper->gripOpen();
|
||||||
}
|
}
|
||||||
|
|
||||||
RosAriaNode::~RosAriaNode()
|
RosAriaNode::~RosAriaNode()
|
||||||
|
Loading…
Reference in New Issue
Block a user