Stores joint-level torque commands without gravity and friction.
More...
#include <control_types.h>
|
| Torques (const std::array< double, 7 > &torques) noexcept |
| Creates a new Torques instance.
|
|
| Torques (std::initializer_list< double > torques) |
| Creates a new Torques instance.
|
|
|
std::array< double, 7 > | tau_J {} |
| Desired torques in [Nm].
|
|
bool | motion_finished = false |
| Determines whether to finish a currently running motion.
|
|
◆ Torques() [1/2]
franka::Torques::Torques |
( |
const std::array< double, 7 > & |
torques | ) |
|
|
noexcept |
Creates a new Torques instance.
- Parameters
-
[in] | torques | Desired joint-level torques without gravity and friction in \([Nm]\). |
◆ Torques() [2/2]
franka::Torques::Torques |
( |
std::initializer_list< double > |
torques | ) |
|
Creates a new Torques instance.
- Parameters
-
[in] | torques | Desired joint-level torques without gravity and friction in \([Nm]\). |
- Exceptions
-
std::invalid_argument | if the given initializer list has an invalid number of arguments. |
The documentation for this class was generated from the following file: