Drake
iiwa_common.h File Reference
#include <memory>
#include <string>
#include <vector>
#include "robotlocomotion/robot_plan_t.hpp"
#include "drake/common/eigen_types.h"
#include "drake/common/trajectories/piecewise_polynomial_trajectory.h"
#include "drake/multibody/rigid_body_ik.h"
#include "drake/multibody/rigid_body_tree.h"
Include dependency graph for iiwa_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 drake
 NOTE: The contents of this class are for the most part direct ports of drake/systems/plants//inverseKinBackend.m from Matlab to C++; many methods and variables follow Matlab conventions and are documented in that file.
 
 drake::examples
 
 drake::examples::kuka_iiwa_arm
 

Functions

template<typename T >
Matrix6< T > ComputeLumpedGripperInertiaInEndEffectorFrame (const RigidBodyTree< T > &world_tree, int iiwa_instance, const std::string &end_effector_link_name, int wsg_instance)
 Computes the lumped inertia parameters of the gripper and the end effector link expressed in the end effector frame. More...
 
void VerifyIiwaTree (const RigidBodyTree< double > &tree)
 Verifies that tree matches assumptions about joint indices. More...
 
void CreateTreedFromFixedModelAtPose (const std::string &model_file_name, RigidBodyTreed *tree, const Eigen::Vector3d &position=Eigen::Vector3d::Zero(), const Eigen::Vector3d &orientation=Eigen::Vector3d::Zero())
 Builds a RigidBodyTree at the specified and from the model specified by . More...
 
void SetPositionControlledIiwaGains (Eigen::VectorXd *Kp, Eigen::VectorXd *Ki, Eigen::VectorXd *Kd)
 Used to set the feedback gains for the simulated position controlled KUKA. More...
 
robotlocomotion::robot_plan_t EncodeKeyFrames (const RigidBodyTree< double > &robot, const std::vector< double > &time, const std::vector< int > &info, const MatrixX< double > &keyframes)
 Makes a robotlocomotion::robot_plan_t message. More...
 

Variables

constexpr int kIiwaArmNumJoints = 7