Public Member Functions | Private Attributes
katana::SimulatedKatana Class Reference

#include <SimulatedKatana.h>

Inheritance diagram for katana::SimulatedKatana:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool allJointsReady ()
virtual bool allMotorsReady ()
virtual bool executeTrajectory (boost::shared_ptr< SpecifiedTrajectory > traj, boost::function< bool()> isPreemptRequested)
virtual void moveGripper (double openingAngle)
virtual bool moveJoint (int jointIndex, double turningAngle)
virtual void refreshEncoders ()
 SimulatedKatana ()
virtual bool someMotorCrashed ()
virtual ~SimulatedKatana ()

Private Attributes

boost::shared_ptr
< SpecifiedTrajectory
current_trajectory_

Detailed Description

Definition at line 34 of file SimulatedKatana.h.


Constructor & Destructor Documentation

Definition at line 30 of file SimulatedKatana.cpp.

Definition at line 50 of file SimulatedKatana.cpp.


Member Function Documentation

Implements katana::AbstractKatana.

Definition at line 124 of file SimulatedKatana.cpp.

Implements katana::AbstractKatana.

Definition at line 128 of file SimulatedKatana.cpp.

bool katana::SimulatedKatana::executeTrajectory ( boost::shared_ptr< SpecifiedTrajectory traj,
boost::function< bool()>  isPreemptRequested 
) [virtual]

Implements katana::AbstractKatana.

Definition at line 76 of file SimulatedKatana.cpp.

void katana::SimulatedKatana::moveGripper ( double  openingAngle) [virtual]

Definition at line 85 of file SimulatedKatana.cpp.

bool katana::SimulatedKatana::moveJoint ( int  jointIndex,
double  turningAngle 
) [virtual]

Move the joint to the desired angle. Do not wait for result, but return immediately.

Parameters:
jointIndexthe joint to move
turningAnglethe target angle
Returns:
true iff command was successfully sent to Katana

Implements katana::AbstractKatana.

Definition at line 115 of file SimulatedKatana.cpp.

Implements katana::AbstractKatana.

Definition at line 54 of file SimulatedKatana.cpp.

Implements katana::AbstractKatana.

Definition at line 120 of file SimulatedKatana.cpp.


Member Data Documentation

Definition at line 51 of file SimulatedKatana.h.


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


katana
Author(s): Martin Günther
autogenerated on Thu Jun 6 2019 21:43:33