mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 18:10:47 +02:00
Use correct package header for temp primary client
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
#include "ur_rtde_driver/ur/ur_driver.h"
|
#include "ur_rtde_driver/ur/ur_driver.h"
|
||||||
|
#include "ur_rtde_driver/primary/package_header.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace ur_driver
|
namespace ur_driver
|
||||||
@@ -134,7 +135,7 @@ ur_driver::UrDriver::UrDriver(const std::string& robot_ip)
|
|||||||
|
|
||||||
// Open Stream to get own IP
|
// Open Stream to get own IP
|
||||||
// TODO: Open Primary interface to query version and calibration
|
// TODO: Open Primary interface to query version and calibration
|
||||||
comm::URStream<rtde_interface::PackageHeader> stream(robot_ip, 30001);
|
comm::URStream<primary_interface::PackageHeader> stream(robot_ip, 30001);
|
||||||
stream.connect();
|
stream.connect();
|
||||||
std::string local_ip = stream.getIP();
|
std::string local_ip = stream.getIP();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user