libfranka  0.8.0
FCI C++ API
Public Member Functions | Public Attributes | List of all members
franka::IncompatibleVersionException Struct Reference

IncompatibleVersionException is thrown if the robot does not support this version of libfranka. More...

#include <exception.h>

Inheritance diagram for franka::IncompatibleVersionException:
Inheritance graph
[legend]
Collaboration diagram for franka::IncompatibleVersionException:
Collaboration graph
[legend]

Public Member Functions

 IncompatibleVersionException (uint16_t server_version, uint16_t library_version) noexcept
 Creates the exception using the two different protocol versions. More...
 

Public Attributes

const uint16_t server_version
 Control's protocol version.
 
const uint16_t library_version
 libfranka protocol version.
 

Detailed Description

IncompatibleVersionException is thrown if the robot does not support this version of libfranka.

Constructor & Destructor Documentation

◆ IncompatibleVersionException()

franka::IncompatibleVersionException::IncompatibleVersionException ( uint16_t  server_version,
uint16_t  library_version 
)
noexcept

Creates the exception using the two different protocol versions.

Parameters
[in]server_versionProtocol version on the Control side.
[in]library_versionProtocol version of libfranka.

The documentation for this struct was generated from the following file: