1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00

Changed uint to unsigned int for better cross-platform performance

This commit is contained in:
Thomas Timm Andersen
2015-09-08 12:46:13 +02:00
parent 17296c4e6b
commit bbcac405d4
4 changed files with 8 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
#include "ur_modern_driver/ur_driver.h"
UrDriver::UrDriver(std::condition_variable& msg_cond, std::string host,
uint safety_count_max) {
unsigned int safety_count_max) {
rt_interface_ = new UrRealtimeCommunication(msg_cond, host,
safety_count_max);

View File

@@ -13,7 +13,7 @@
UrRealtimeCommunication::UrRealtimeCommunication(
std::condition_variable& msg_cond, std::string host,
uint safety_count_max) :
unsigned int safety_count_max) :
SAMPLETIME_(0.008) {
robot_state_ = new RobotStateRT(msg_cond);
bzero((char *) &serv_addr_, sizeof(serv_addr_));