![]() |
libfranka 0.14.1
FCI C++ API
|
Stores joint-level torque commands without gravity and friction. More...
#include <control_types.h>


Public Member Functions | |
| Torques (const std::array< double, 7 > &torques) noexcept | |
| Creates a new Torques instance. | |
| Torques (std::initializer_list< double > torques) | |
| Creates a new Torques instance. | |
Public Attributes | |
| std::array< double, 7 > | tau_J {} |
| Desired torques in [Nm]. | |
| Public Attributes inherited from franka::Finishable | |
| bool | motion_finished = false |
| Determines whether to finish a currently running motion. | |
Stores joint-level torque commands without gravity and friction.
|
noexcept |
Creates a new Torques instance.
| [in] | torques | Desired joint-level torques without gravity and friction in \([Nm]\). |
| franka::Torques::Torques | ( | std::initializer_list< double > | torques | ) |
Creates a new Torques instance.
| [in] | torques | Desired joint-level torques without gravity and friction in \([Nm]\). |
| std::invalid_argument | if the given initializer list has an invalid number of arguments. |