yarp-devices
Classes | Functions
TestCanOpenNodeLib

Unit tests related to CanOpenNodeLib. More...

Classes

struct  roboticslab::test::fake_message
 Dummy CAN message proxy container of can_message. More...
 
class  roboticslab::test::FakeCanSenderDelegate
 Stores registered fake CAN messages and eases access to them. More...
 
class  roboticslab::test::CanOpenNodeTest
 Manages a FakeCanSenderDelegate and registers asynchronous operations. More...
 

Functions

std::uint64_t roboticslab::test::toInt64 (std::uint8_t op, std::uint16_t index, std::uint8_t subindex, std::uint32_t data=0)
 Generate 8-byte SDO response data for expedited transfers.
 
std::uint64_t roboticslab::test::toInt64 (std::uint8_t op, const std::string &s="")
 Generate 8-byte SDO response data for segmented (normal) transfers.
 

Detailed Description