HLR
0.0.1
|
Kinematics & Planning. More...
Namespaces | |
Planners | |
Kinematics & Planning :: Planners. | |
RV2AJ | |
Kinematics & Planning :: Mitsubishi RV2-AJ. | |
Classes | |
class | ConcurrentQueue |
A thread safe queue that supports both synchronous pop and asynchronous pop. It's not allowed to use pop and async_pop together. More... | |
struct | EnvironmentObject |
Describes an object that is detected in the environment. More... | |
class | Kinematics |
Contains the functions to compute the forward and inverse kinematics for the mitsubishi rv-2aj robot arm. More... | |
class | Matrix |
Create a matrix with numerical values. More... | |
class | ObjectMoveHandler |
Interface to send commands to the Kinematics component Executes actions on the robotarm based in the incoming messages. More... | |
class | PointCloudHandler |
Concrete handle on the robot using the ROS interface. More... | |
class | RobotController |
This class contains the main logic of the robotic arm. It handles the calculation of robotic path and handles moving the robot arm using the driver. More... | |
class | RobotDriverHandler |
Concrete handle on the robot using the ROS interface. More... | |
Enumerations | |
enum | RobotControllerState { RobotControllerState::idle, RobotControllerState::moving_to_ready, RobotControllerState::calculating_path, RobotControllerState::giving_cup, RobotControllerState::cancelling, RobotControllerState::stopped } |
The current state of the robot controller. More... | |
enum | ArmError { ArmError::safety_concern, ArmError::no_path_found, ArmError::driver_error } |
Enum containing possible reasons for the robot arm not being able to succesfully execute the specified action. More... | |
Functions | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator+ (const Matrix< T, m, n > &lhs, T rhs) noexcept |
Add a scalar from every element of the matrix. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator+ (T lhs, const Matrix< T, m, n > &rhs) noexcept |
Add a scalar from every element of the matrix. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator- (const Matrix< T, m, n > &lhs, T rhs) noexcept |
Subtract a scalar from every element of the matrix. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator- (T lhs, const Matrix< T, m, n > &rhs) noexcept |
Subtract a scalar from every element of the matrix. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator* (const Matrix< T, m, n > &lhs, T rhs) noexcept |
Multiply every element of the matrix with a scalar. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator* (T lhs, const Matrix< T, m, n > &rhs) noexcept |
Multiply every element of the matrix with a scalar. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator/ (const Matrix< T, m, n > &lhs, T rhs) noexcept |
Divide every element of the matrix with a scalar. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
constexpr Matrix< T, m, n > | operator/ (T lhs, const Matrix< T, m, n > &rhs) noexcept |
Divide every element of the matrix with a scalar. Doesn't modify original matrix. More... | |
template<typename T , std::size_t m, std::size_t n> | |
std::ostream & | operator<< (std::ostream &os, const Matrix< T, m, n > &mat) |
Output the matrix to an ostream. More... | |
std::string | robot_controller_state_to_string (RobotControllerState state) |
Convert RobotControllerState enum to string representation. More... | |
std::string | arm_error_to_string (ArmError error) |
Convert ArmError enum to string representation. More... | |
Kinematics & Planning.
The Kinematics namespace is used for components related to inverse kinematics, trajectory calculation (aka planning) and Mitsubishi RV-2AJ control via a driver. There is also a simulation for these components.
|
strong |
Enum containing possible reasons for the robot arm not being able to succesfully execute the specified action.
|
strong |
The current state of the robot controller.
std::string HLR::Kinematics::arm_error_to_string | ( | ArmError | error | ) |
Convert ArmError enum to string representation.
error | The error to convert. |
|
noexcept |
Multiply every element of the matrix with a scalar. Doesn't modify original matrix.
lhs | The matrix that will be used to multiplied. |
rhs | The scalar to multiply with. |
|
noexcept |
Multiply every element of the matrix with a scalar. Doesn't modify original matrix.
lhs | lhs The scalar to multiply with. |
rhs | rhs The matrix that will be used to multiplied. |
|
noexcept |
Add a scalar from every element of the matrix. Doesn't modify original matrix.
lhs | The matrix to base the addition on. |
rhs | The scalar to add. |
|
noexcept |
Add a scalar from every element of the matrix. Doesn't modify original matrix.
lhs | lhs The scalar to add. |
rhs | rhs The matrix to subtract the scalar from. |
|
noexcept |
Subtract a scalar from every element of the matrix. Doesn't modify original matrix.
lhs | lhs The matrix to subtract the scalard from. |
rhs | rhs The scalar to subtract. |
|
noexcept |
Subtract a scalar from every element of the matrix. Doesn't modify original matrix.
lhs | The matrix to subtract the scalard from. |
rhs | The scalar to subtract. |
|
noexcept |
Divide every element of the matrix with a scalar. Doesn't modify original matrix.
lhs | The matrix that will be divided. |
rhs | The scalar to divide with. |
|
noexcept |
Divide every element of the matrix with a scalar. Doesn't modify original matrix.
lhs | The scalar to divide with. |
rhs | The matrix that will be divided. |
std::ostream& HLR::Kinematics::operator<< | ( | std::ostream & | os, |
const Matrix< T, m, n > & | mat | ||
) |
Output the matrix to an ostream.
os | The ostream that. |
mat | The matrix that contains. |
std::string HLR::Kinematics::robot_controller_state_to_string | ( | RobotControllerState | state | ) |
Convert RobotControllerState enum to string representation.
state | The state to convert. |