Drake
controlled_kuka_demo.cc File Reference

This demo sets up a position controlled and gravity compensated KUKA iiwa robot within a simulation to follow an arbitrarily designed plan. More...

#include <iostream>
#include <memory>
#include <string>
#include <gflags/gflags.h>
#include "drake/common/find_resource.h"
#include "drake/common/trajectories/piecewise_polynomial_trajectory.h"
#include "drake/examples/kuka_iiwa_arm/iiwa_common.h"
#include "drake/lcm/drake_lcm.h"
#include "drake/manipulation/util/sim_diagram_builder.h"
#include "drake/math/roll_pitch_yaw.h"
#include "drake/multibody/ik_options.h"
#include "drake/multibody/joints/floating_base_types.h"
#include "drake/multibody/parsers/urdf_parser.h"
#include "drake/multibody/rigid_body_ik.h"
#include "drake/systems/analysis/simulator.h"
#include "drake/systems/controllers/inverse_dynamics_controller.h"
#include "drake/systems/primitives/trajectory_source.h"
Include dependency graph for controlled_kuka_demo.cc:

Namespaces

 drake
 
 drake::examples
 
 drake::examples::kuka_iiwa_arm
 

Functions

 DEFINE_double (simulation_sec, 0.1,"Number of seconds to simulate.")
 
int main (int argc, char *argv[])
 

Detailed Description

This demo sets up a position controlled and gravity compensated KUKA iiwa robot within a simulation to follow an arbitrarily designed plan.

The generated plan takes the arm from the zero configuration to reach to a position in space and then repeat this reaching task with a different joint configuration constraint.

Function Documentation

DEFINE_double ( simulation_sec  ,
0.  1,
"Number of seconds to simulate."   
)
int main ( int  argc,
char *  argv[] 
)

Here is the call graph for this function: