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

moved bin_parser to comm and use it in URPackage::parseWith

This commit is contained in:
Felix Mauch
2019-04-08 13:57:24 +02:00
parent 59ae3bcd69
commit adf1560105
2 changed files with 8 additions and 0 deletions

View File

@@ -31,6 +31,8 @@
namespace ur_driver
{
namespace comm
{
class BinParser
{
private:
@@ -203,4 +205,6 @@ public:
LOG_DEBUG("BinParser: %p - %p (%zu bytes)", buf_pos_, buf_end_, buf_end_ - buf_pos_);
}
};
} // namespace comm
} // namespace ur_driver

View File

@@ -27,6 +27,8 @@
#ifndef UR_RTDE_DRIVER_PACKAGE_H_INCLUDED
#define UR_RTDE_DRIVER_PACKAGE_H_INCLUDED
#include "ur_rtde_driver/comm/bin_parser.h"
namespace ur_driver
{
namespace comm
@@ -40,6 +42,8 @@ public:
using _header_type = HeaderT;
virtual bool parseWith(BinParser& bp) = 0;
private:
HeaderT header_;
};