Skip to content

Commit bcf8dc5

Browse files
mklpieningmintar
authored andcommitted
fixed spatial algorithm
1 parent f446bbc commit bcf8dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phidgets_api/src/spatial.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ void Spatial::setSpatialAlgorithm(const std::string algorithm_name)
156156

157157
if (algorithm_name.compare("none") == 0)
158158
{
159-
algorithm = SPATIAL_ALGORITHM_AHRS;
159+
algorithm = SPATIAL_ALGORITHM_NONE;
160160
} else if (algorithm_name.compare("ahrs") == 0)
161161
{
162-
algorithm = SPATIAL_ALGORITHM_NONE;
162+
algorithm = SPATIAL_ALGORITHM_AHRS;
163163
} else if (algorithm_name.compare("imu") == 0)
164164
{
165165
algorithm = SPATIAL_ALGORITHM_IMU;

0 commit comments

Comments
 (0)