Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,6 @@ bool ControlBoardWrapper::openAndAttachSubDevice(Property& prop)
if (!device.subdevices[0].attach(subDeviceOwned, subDevName))
return false;

CBW_encoders.resize(device.lut.size());

// initialization.
RPC_parser.initialize();
updateAxisName();
Expand Down Expand Up @@ -805,8 +803,6 @@ bool ControlBoardWrapper::attachAll(const PolyDriverList &polylist)
return false;
}

CBW_encoders.resize(device.lut.size());

// initialization.
RPC_parser.initialize();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ class yarp::dev::ControlBoardWrapper: public yarp::dev::DeviceDriver,
yarp::os::Semaphore rpcDataMutex; // mutex to avoid concurrency between more clients using rppc port
yarp::dev::impl::MultiJointData rpcData; // Structure used to re-arrange data from "multiple_joints" calls.

yarp::sig::Vector CBW_encoders;
std::string partName; // to open ports and print more detailed debug messages

int controlledJoints;
Expand Down