Skip to content

Commit

Permalink
Imported upstream version '1.0.8' of 'upstream'
Browse files Browse the repository at this point in the history
  • Loading branch information
mintar committed Dec 6, 2023
1 parent 7993708 commit 426c8e2
Show file tree
Hide file tree
Showing 34 changed files with 75 additions and 19 deletions.
3 changes: 3 additions & 0 deletions libphidget22/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package libphidget22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------
* Update to libphidget22 1.13. (`#161 <https://github.com/ros-drivers/phidgets_drivers/issues/161>`_)
Expand Down
2 changes: 1 addition & 1 deletion libphidget22/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>libphidget22</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>This package wraps the libphidget22 to use it as a ROS dependency</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_accelerometer/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_accelerometer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_accelerometer/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_accelerometer</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Accelerometer devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_analog_inputs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_analog_inputs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_analog_inputs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_analog_inputs</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Analog Input devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_analog_outputs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_analog_outputs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_analog_outputs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_analog_outputs</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Analog Output devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_api/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_api
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_api/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_api</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>A C++ Wrapper for the Phidgets C API</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_digital_inputs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_digital_inputs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_digital_inputs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_digital_inputs</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Digital Input devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_digital_outputs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_digital_outputs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_digital_outputs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_digital_outputs</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Digital Output devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_drivers/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_drivers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_drivers/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_drivers</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>API and ROS drivers for Phidgets devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_gyroscope/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_gyroscope
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_gyroscope/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_gyroscope</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Gyroscope devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_high_speed_encoder/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_high_speed_encoder
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------
* BUGFIX: Z-channel index was not observed in reported positions (`#158 <https://github.com/ros-drivers/phidgets_drivers/issues/158>`_)
Expand Down
2 changes: 1 addition & 1 deletion phidgets_high_speed_encoder/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_high_speed_encoder</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets high speed encoder devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_ik/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_ik
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_ik/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_ik</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets InterfaceKit devices</description>

<license>BSD</license>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_magnetometer/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_magnetometer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_magnetometer/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_magnetometer</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Magnetometer devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_motors/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_motors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_motors/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_motors</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Motor devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
3 changes: 3 additions & 0 deletions phidgets_msgs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_msgs</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Custom ROS messages for Phidgets drivers</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
5 changes: 5 additions & 0 deletions phidgets_spatial/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package phidgets_imu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------
* Only set magnetometer gain if param is set (`#170 <https://github.com/ros-drivers/phidgets_drivers/issues/170>`_)
* Contributors: Martin Günther

1.0.7 (2023-03-02)
------------------

Expand Down
1 change: 1 addition & 0 deletions phidgets_spatial/launch/spatial.launch
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<param name="ahrs_bias_time" value="1.25"/> -->

# optional param algorithm_magnetometer_gain, default is 0.005
# WARNING: do not set on PhidgetSpatial MOT0110 onwards (not supported)!
<!-- <param name="algorithm_magnetometer_gain" value="0.005"/> -->

# optional param heating_enabled, not modified by default
Expand Down
2 changes: 1 addition & 1 deletion phidgets_spatial/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_spatial</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Spatial 3/3/3 devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down
11 changes: 8 additions & 3 deletions phidgets_spatial/src/spatial_ros_i.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,14 @@ SpatialRosI::SpatialRosI(ros::NodeHandle nh, ros::NodeHandle nh_private)
nh_private_.getParam("ahrs_bias_time", ahrsBiasTime);

double algorithm_magnetometer_gain;
bool set_algorithm_magnetometer_gain = true;
if (!nh_private_.getParam("algorithm_magnetometer_gain",
algorithm_magnetometer_gain))
{
algorithm_magnetometer_gain =
0.005; // default to 0.005 (similar to phidgets api)
algorithm_magnetometer_gain = 0.0;
set_algorithm_magnetometer_gain =
false; // if parameter not set, do not call api (because this
// function is not available from MOT0110 onwards)
}

bool heating_enabled;
Expand Down Expand Up @@ -272,7 +275,9 @@ SpatialRosI::SpatialRosI(ros::NodeHandle nh, ros::NodeHandle nh_private)
ahrsBiasTime);
}

spatial_->setAlgorithmMagnetometerGain(algorithm_magnetometer_gain);
if (set_algorithm_magnetometer_gain)
spatial_->setAlgorithmMagnetometerGain(
algorithm_magnetometer_gain);
}

if (has_compass_params)
Expand Down
3 changes: 3 additions & 0 deletions phidgets_temperature/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changelog for package phidgets_temperature
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.8 (2023-11-27)
------------------

1.0.7 (2023-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion phidgets_temperature/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>phidgets_temperature</name>
<version>1.0.7</version>
<version>1.0.8</version>
<description>Driver for the Phidgets Temperature devices</description>

<maintainer email="[email protected]">Martin Günther</maintainer>
Expand Down

0 comments on commit 426c8e2

Please sign in to comment.