cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mtsJR3ForceSensor.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab:*/
3 
4 /*
5  $Id: mtsJR3ForceSensor.h 3181 2011-11-15 15:41:28Z sleonard $
6 
7  Author(s): Simon Leonard
8  Created on: 2013-07-22
9 
10  (C) Copyright 2012 Johns Hopkins University (JHU), All Rights Reserved.
11 
12 --- begin cisst license - do not edit ---
13 
14 This software is provided "as is" under an open source license, with
15 no warranty. The complete license can be found in license.txt and
16 http://www.cisst.org/cisst/license.txt.
17 
18 --- end cisst license ---
19 */
20 
26 #ifndef _mtsJR3ForceSensor_h
27 #define _mtsJR3ForceSensor_h
28 
30 
33 
35 
38 
40 
42 
43  private:
44 
46 
47  mtsFunctionRead GetRobotJoint;
48  robManipulator robot;
49 
50  protected:
51 
53  void Zero();
54 
56  void Read( prmForceCartesianGet& prmft ) const ;
58  void ReadTransformed( prmForceCartesianGet& prmft ) const ;
60  void ReadToolComp( prmForceCartesianGet& prmft ) const ;
61 
62  public:
63 
64  //
65  mtsJR3ForceSensor( const std::string& name );
66 
68  mtsJR3ForceSensor( const std::string& name,
69  const std::string& robfile,
70  const vctFrame4x4<double>& Rtw0,
71  const std::string& devicename,
75  double mass = 0.0,
77 
79 
80 };
81 
83 
84 #endif //_mtsJR3ForceSensor_h
Definition: osaJR3ForceSensor.h:45
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: robManipulator.h:34
Definition: mtsFunctionRead.h:37
const int CMN_DYNAMIC_CREATION_ONEARG
Definition: cmnClassRegisterMacros.h:333
Definition: osaJR3ForceSensor.h:35
Declaration of mtsComponent.
cisst Component for JR3ForceSensor Force & Torque Sensor
Definition: mtsComponent.h:150
Definition: mtsJR3ForceSensor.h:39
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
Definition: prmForceCartesianGet.h:38
CMN_DECLARE_SERVICES_INSTANTIATION(mtsJR3ForceSensor)
Cartesian force get parameters.
Units
Definition: osaJR3ForceSensor.h:45
#define CMN_LOG_ALLOW_DEFAULT
Definition: cmnLogLoD.h:76