diff --git a/include/ur_rtde_driver/primary/primary_parser.h b/include/ur_rtde_driver/primary/primary_parser.h index 26fcf85..3510342 100644 --- a/include/ur_rtde_driver/primary/primary_parser.h +++ b/include/ur_rtde_driver/primary/primary_parser.h @@ -33,14 +33,13 @@ namespace ur_driver { namespace primary_interface { -using namespace comm; class PrimaryParser : public comm::Parser { public: PrimaryParser() = default; virtual ~PrimaryParser() = default; - bool parse(BinParser& bp, std::vector>>& results) + bool parse(comm::BinParser& bp, std::vector>>& results) { int32_t packet_size; RobotPackageType type; @@ -66,7 +65,7 @@ public: } // deconstruction of a sub parser will increment the position of the parent parser - BinParser sbp(bp, sub_size); + comm::BinParser sbp(bp, sub_size); sbp.consume(sizeof(sub_size)); RobotStateType type; sbp.parse(type);