Skip to content

Commit d5bf95f

Browse files
authored
Merge pull request #31 from ethz-asl/fix/python_versioning
Update parse_config_to_airsim.py
2 parents 2fbc50a + 0bf4d6e commit d5bf95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/tools/parse_config_to_airsim.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def parse_transformation(self, list_in, dict_out):
273273
dict_out["Z"] = -list_in[2][3]
274274
R = [x[:3] for x in list_in[:3]]
275275
# Support python 2 and 3 scipy versions.
276-
if sys.version_info >= (3, 0):
276+
if sys.version_info < (3, 0):
277277
R = Rotation.from_dcm(R)
278278
else:
279279
R = Rotation.from_matrix(R)

0 commit comments

Comments
 (0)