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

Tested producer part with real data

This commit is contained in:
Felix Mauch
2019-04-09 18:19:22 +02:00
parent 2f0b8eae1a
commit 51ac7ddb91
12 changed files with 119 additions and 130 deletions

View File

@@ -1,29 +0,0 @@
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// -- END LICENSE BLOCK ------------------------------------------------
//----------------------------------------------------------------------
/*!\file
*
* \author Felix Mauch mauch@fzi.de
* \date 2019-04-09
*
*/
//----------------------------------------------------------------------
#include "ur_rtde_driver/comm/shell_consumer.h"
namespace ur_driver
{
namespace comm
{
template <typename HeaderT>
bool ShellConsumer<HeaderT>::consume(std::shared_ptr<URPackage<HeaderT>> pkg)
{
LOG_INFO("%s", pkg->toString());
return true;
}
} // namespace comm
} // namespace ur_driver

View File

@@ -32,10 +32,6 @@ namespace primary_interface
{
bool RobotMessage::parseWith(comm::BinParser& bp)
{
bp.parse(timestamp_);
bp.parse(source_);
bp.parse(message_type_);
return true;
}