File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,8 @@ namespace aris::control
343
343
Master::~Master () = default ;
344
344
Master::Master (const std::string &name) :imp_(new Imp), Object(name)
345
345
{
346
+ this ->registerType <aris::core::ObjectPool<Slave, aris::core::Object> >();
347
+
346
348
imp_->slave_pool_ = &add<aris::core::ObjectPool<Slave> >(" slave_pool" );
347
349
imp_->mout_pipe_ = &add<aris::core::Pipe>(" mout_pipe" );
348
350
imp_->lout_pipe_ = &add<aris::core::Pipe>(" lout_pipe" );
Original file line number Diff line number Diff line change @@ -386,6 +386,7 @@ namespace aris::core
386
386
CommandParser::~CommandParser () = default ;
387
387
CommandParser::CommandParser (const std::string &name) :Object(name)
388
388
{
389
+ this ->registerType <aris::core::ObjectPool<Command> >();
389
390
imp_->command_pool_ = &add<aris::core::ObjectPool<Command> >(" command_pool" );
390
391
}
391
392
ARIS_DEFINE_BIG_FOUR_CPP (CommandParser);
Original file line number Diff line number Diff line change 7
7
8
8
int main (int argc, char *argv[])
9
9
{
10
- // test_control_master_slave();
10
+ test_control_master_slave ();
11
11
test_control_ethercat ();
12
- // test_control_motion();
12
+ test_control_motion ();
13
13
14
14
std::cout << " test_control finished, press any key to continue" << std::endl;
15
15
std::cin.get ();
You can’t perform that action at this time.
0 commit comments