Skip to content
Snippets Groups Projects
Commit 4e8c03c0 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

more startup output

parent 1aabce8c
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,7 @@ bool EtherCAT::startBus(bool createDevices)
{
slave->prepareForSafeOp();
}
ARMARX_INFO << "Finishing Preparing for safe op now";
for (auto slave : slaves)
{
slave->finishPreparingForSafeOp();
......@@ -190,10 +191,11 @@ bool EtherCAT::startBus(bool createDevices)
osal_usleep(500000);
///// going to SAFE_OP
//do the mapping
ARMARX_INFO << "Mapping....";
actualMappedSize = ec_config_map(IOmap.data());
ARMARX_INFO << "Going to safe op now";
//wait to get all slaves to SAFE-OP
ec_statecheck(0, EC_STATE_SAFE_OP, EC_TIMEOUTSTATE * 4);
ARMARX_INFO << "IOmapping done, size: " << actualMappedSize << " - all Slaves are in SAFE-OP now\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment