Public Member Functions | Public Attributes | List of all members
franka::JointPositions Class Reference

Stores values for joint position motion generation. More...

#include <control_types.h>

Inheritance diagram for franka::JointPositions:
Inheritance graph
[legend]

Public Member Functions

 JointPositions (const std::array< double, 7 > &joint_positions) noexcept
 Creates a new JointPositions instance. More...
 
 JointPositions (std::initializer_list< double > joint_positions)
 Creates a new JointPositions instance. More...
 

Public Attributes

std::array< double, 7 > q {}
 Desired joint angles in [rad]. More...
 
- Public Attributes inherited from franka::Finishable
bool motion_finished = false
 Determines whether to finish a currently running motion. More...
 

Detailed Description

Stores values for joint position motion generation.

Definition at line 72 of file control_types.h.

Constructor & Destructor Documentation

franka::JointPositions::JointPositions ( const std::array< double, 7 > &  joint_positions)
noexcept

Creates a new JointPositions instance.

Parameters
[in]joint_positionsDesired joint angles in [rad].
franka::JointPositions::JointPositions ( std::initializer_list< double >  joint_positions)

Creates a new JointPositions instance.

Parameters
[in]joint_positionsDesired joint angles in [rad].
Exceptions
std::invalid_argumentif the given initializer list has an invalid number of arguments.

Member Data Documentation

std::array<double, 7> franka::JointPositions::q {}

Desired joint angles in [rad].

Definition at line 93 of file control_types.h.


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


libfranka
Author(s): Franka Emika GmbH
autogenerated on Tue Jul 9 2019 03:32:01