Skip to content

Commit

Permalink
Cleanup following removal of prmJointType and prmTransformationManager
Browse files Browse the repository at this point in the history
  • Loading branch information
adeguet1 committed Apr 26, 2024
1 parent 4f1a7f2 commit 2d30088
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 325 deletions.
20 changes: 5 additions & 15 deletions cisstParameterTypes/prmForwardDeclarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */

/*
Author(s): Rajesh Kumar, Anton Deguet
Created on: 2008-03-03
(C) Copyright 2007-2008 Johns Hopkins University (JHU), All Rights
Reserved.
(C) Copyright 2007-2024 Johns Hopkins University (JHU), All Rights Reserved.
--- begin cisst license - do not edit ---
Expand All @@ -18,7 +16,6 @@ no warranty. The complete license can be found in license.txt and
--- end cisst license ---
*/


/*!
\file
\brief Forward declarations for cisstParameterTypes
Expand All @@ -28,18 +25,12 @@ no warranty. The complete license can be found in license.txt and
#ifndef _prmForwardDeclarations_h
#define _prmForwardDeclarations_h

// transformation manager related classes
class prmTransformationBase;
class prmTransformationFixed;
class prmTransformationDynamic;
class prmTransformationManager;

// motion enums
/*! Parameters type for command execution/completion behavior specification */
typedef enum Blocking {
NO_WAIT, /*! non blocking */
WAIT_START, /*! blocking until start, non preemptive */
WAIT_FINISH /*! blocking type */
typedef enum Blocking {
NO_WAIT, /*! non blocking */
WAIT_START, /*! blocking until start, non preemptive */
WAIT_FINISH /*! blocking type */
} prmBlocking;

#include <cisstCommon/cmnDataFunctionsEnumMacros.h>
Expand All @@ -64,4 +55,3 @@ class prmVelocityJointSet;
class prmEventButton;

#endif // _prmForwardDeclarations_h

67 changes: 0 additions & 67 deletions cisstParameterTypes/prmJointType.cdg

This file was deleted.

2 changes: 0 additions & 2 deletions cisstParameterTypes/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ set (SOURCE_FILES
prmVelocityCartesianGetTest.cpp
prmVelocityJointGetTest.cpp
prmForceCartesianGetTest.cpp
prmTransformationManagerTests.cpp
prmOperatingStateTest.cpp
)

Expand All @@ -36,7 +35,6 @@ set (HEADER_FILES
prmVelocityCartesianGetTest.h
prmVelocityJointGetTest.h
prmForceCartesianGetTest.h
prmTransformationManagerTests.h
prmOperatingStateTest.h
)

Expand Down
162 changes: 0 additions & 162 deletions cisstParameterTypes/tests/prmTransformationManagerTests.cpp

This file was deleted.

67 changes: 0 additions & 67 deletions cisstParameterTypes/tests/prmTransformationManagerTests.h

This file was deleted.

4 changes: 2 additions & 2 deletions cisstRobot/tests/robDHTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void robDHTest::TestReadWAM7(){

// Check
CPPUNIT_ASSERT( dh->GetConvention() == robKinematics::STANDARD_DH );
CPPUNIT_ASSERT( dh->GetType() == robJoint::HINGE );
CPPUNIT_ASSERT( dh->GetType() == cmnJointType::CMN_JOINT_REVOLUTE );
CPPUNIT_ASSERT( dh->GetMode() == robJoint::ACTIVE );

delete dh;
Expand Down Expand Up @@ -236,7 +236,7 @@ void robDHTest::TestReadPUMA560(){

// Check
CPPUNIT_ASSERT( dh->GetConvention() == robKinematics::STANDARD_DH );
CPPUNIT_ASSERT( dh->GetType() == robJoint::HINGE );
CPPUNIT_ASSERT( dh->GetType() == cmnJointType::CMN_JOINT_REVOLUTE );
CPPUNIT_ASSERT( dh->GetMode() == robJoint::ACTIVE );

delete dh;
Expand Down
2 changes: 1 addition & 1 deletion cisstVector/examples/tutorial/ExampleDynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void ExampleDynamic(void) {

} // end of try block
// catch block
catch (std::exception Exception) {
catch (std::exception & Exception) {
std::cerr << "Exception occured: " << Exception.what() << std::endl;
}
}
Expand Down
Loading

0 comments on commit 2d30088

Please sign in to comment.