Skip to content

Commit

Permalink
Merge pull request #10 from jhu-saw/rc-2.2.0
Browse files Browse the repository at this point in the history
rc 2.2.0
  • Loading branch information
adeguet1 authored Aug 30, 2024
2 parents 39a1daf + c85072c commit a6ce022
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 17 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
Change log
==========

2.2.0 (2024-08-30)
==================

* API changes:
* Now uses `cmnJointType` instead of `prmJointType`
* Deprecated features:
* None
* New features:
* None
* Bug fixes:
* CMake Qt library: added missing library to link on Windows

2.1.0 (2023-11-21)
==================

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# (C) Copyright 2012-2023 Johns Hopkins University (JHU), All Rights Reserved.
# (C) Copyright 2012-2024 Johns Hopkins University (JHU), All Rights Reserved.
#
# --- begin cisst license - do not edit ---
#
Expand All @@ -10,7 +10,7 @@
# --- end cisst license ---

cmake_minimum_required (VERSION 3.10)
project (sawControllersAll VERSION 2.1.0)
project (sawControllersAll VERSION 2.2.0)

find_package (cisst REQUIRED)
include (${CISST_USE_FILE})
Expand Down
10 changes: 3 additions & 7 deletions components/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# (C) Copyright 2011-2023 Johns Hopkins University (JHU), All Rights Reserved.
# (C) Copyright 2011-2024 Johns Hopkins University (JHU), All Rights Reserved.
#
# --- begin cisst license - do not edit ---
#
Expand All @@ -10,11 +10,7 @@
# --- end cisst license ---

cmake_minimum_required (VERSION 3.10)
project (sawControllers VERSION 2.1.0)

set (CMAKE_CXX_STANDARD 14)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_EXTENSIONS OFF)
project (sawControllers VERSION 2.2.0)

set (REQUIRED_CISST_LIBRARIES
cisstCommon
Expand All @@ -25,7 +21,7 @@ set (REQUIRED_CISST_LIBRARIES
cisstRobot
cisstNumerical)

find_package (cisst 1.2.0 REQUIRED ${REQUIRED_CISST_LIBRARIES})
find_package (cisst 1.3.0 REQUIRED ${REQUIRED_CISST_LIBRARIES})

if (cisst_FOUND)

Expand Down
2 changes: 2 additions & 0 deletions components/code/Qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ if (cisst_FOUND_AS_REQUIRED)
VERSION ${sawControllers_VERSION}
FOLDER "sawControllers")
cisst_target_link_libraries (sawControllersQt ${REQUIRED_CISST_LIBRARIES})
target_link_libraries (sawControllersQt
${sawControllers_LIBRARIES})

install (TARGETS sawControllersQt COMPONENT sawControllers-Qt
RUNTIME DESTINATION bin
Expand Down
4 changes: 2 additions & 2 deletions components/code/Qt/mtsPIDQtWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Author(s): Zihan Chen, Anton Deguet
Created on: 2013-02-20
(C) Copyright 2013-2023 Johns Hopkins University (JHU), All Rights Reserved.
(C) Copyright 2013-2024 Johns Hopkins University (JHU), All Rights Reserved.
--- begin cisst license - do not edit ---
Expand Down Expand Up @@ -157,7 +157,7 @@ void mtsPIDQtWidget::Startup(void)
UnitFactor.SetAll(0.0);
} else {
// set unitFactor;
prmJointTypeToFactor(PID.m_configuration_js.Type(), 1.0 / cmn_mm, cmn180_PI, UnitFactor);
cmnJointTypeToFactor(PID.m_configuration_js.Type(), 1.0 / cmn_mm, cmn180_PI, UnitFactor);
}

// get other configuration from PID
Expand Down
4 changes: 2 additions & 2 deletions components/code/mtsPIDConfiguration.cdg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab:

inline-header {
#include <cisstParameterTypes/prmJointType.h>
#include <cisstCommon/cmnJointType.h>
#include <sawControllers/sawControllersExport.h>
}

Expand All @@ -22,7 +22,7 @@ class {
}
member {
name type;
type prmJointType;
type cmnJointType;
visibility public;
description 1 for prismatic or 2 for revolute;
}
Expand Down
2 changes: 1 addition & 1 deletion components/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<package>
<name>saw_controllers</name>
<version>2.1.0</version>
<version>2.2.0</version>
<description>
sawControllers
</description>
Expand Down
4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# (C) Copyright 2011-2023 Johns Hopkins University (JHU), All Rights Reserved.
# (C) Copyright 2011-2024 Johns Hopkins University (JHU), All Rights Reserved.
#
# --- begin cisst license - do not edit ---
#
Expand All @@ -10,7 +10,7 @@
# --- end cisst license ---

cmake_minimum_required (VERSION 3.10)
project (sawControllersExamples VERSION 2.1.0)
project (sawControllersExamples VERSION 2.2.0)

set (REQUIRED_CISST_LIBRARIES
cisstCommon
Expand Down
2 changes: 1 addition & 1 deletion examples/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<package>
<name>saw_controllers_examples</name>
<version>2.1.0</version>
<version>2.2.0</version>
<description>
sawControllers Examples
</description>
Expand Down

0 comments on commit a6ce022

Please sign in to comment.