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

Exception raised when an actuation command is incorrect. More...

#include <PositionCommandError.h>

Public Member Functions

 PositionCommandError (const std::string &message, int servo_id)
 Create error. 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 raised when an actuation command is incorrect.

Constructor & Destructor Documentation

◆ PositionCommandError()

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

Create error.

Parameters
[in]messageError message.
[in]servo_idServo ID.

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