upkie 6.1.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches
upkie::cpp::exceptions::ServoError Class Reference

Exception for filter errors. More...

#include <ServoError.h>

Public Member Functions

 ServoError (const int servo_id, const std::string &joint_name, const std::string &message)
 Exception constructor. More...
 
- Public Member Functions inherited from upkie::cpp::exceptions::UpkieError
 UpkieError (const std::string &message)
 Create a new error. More...
 
 UpkieError (const UpkieError &other, const std::string &extra_message)
 Copy an existing error, adding to the error message. More...
 
const char * what () const noexcept override
 Error message.
 

Additional Inherited Members

- Protected Attributes inherited from upkie::cpp::exceptions::UpkieError
std::string message_
 Complete error message.
 

Detailed Description

Exception for filter errors.

Constructor & Destructor Documentation

◆ ServoError()

upkie::cpp::exceptions::ServoError::ServoError ( const int  servo_id,
const std::string &  joint_name,
const std::string &  message 
)
inline

Exception constructor.

Parameters
[in]servo_idServo ID.
[in]joint_nameName of the joint actuated by the servo.
[in]messageError message.

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