Skip to content

Commit 5bf4b5e

Browse files
authored
Merge pull request #27 from hmakelin/hmakelin-fix-import
Fix pose estimator imports
2 parents 08e9c09 + 8380fb5 commit 5bf4b5e

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

gisnav/nodes/mock_gps_node.py

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ def _generate_sensor_gps(self, lat, lon, altitude_amsl, altitude_ellipsoid, head
212212
msg.cog_rad = np.nan
213213
msg.vel_ned_valid = False
214214
msg.timestamp_time_relative = 0
215-
msg.time_utc_usec = int(time.time() * 1e6)
216215
msg.satellites_used = np.iinfo(np.uint8).max
217216
msg.time_utc_usec = int(time.time() * 1e6)
218217
msg.heading = heading

gisnav/pose_estimators/__init__.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,13 @@
1010
"""
1111
from .pose_estimator import PoseEstimator
1212
from .keypoint_pose_estimator import KeypointPoseEstimator
13-
from .superglue_pose_estimator import SuperGluePoseEstimator
14-
from .loftr_pose_estimator import LoFTRPoseEstimator
13+
try:
14+
from .superglue_pose_estimator import SuperGluePoseEstimator
15+
except ModuleNotFoundError as e:
16+
# Submodule not loaded
17+
pass
18+
try:
19+
from .loftr_pose_estimator import LoFTRPoseEstimator
20+
except ModuleNotFoundError as e:
21+
# Submodule not loaded
22+
pass

package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>gisnav</name>
5-
<version>0.63.0</version>
5+
<version>0.63.1</version>
66
<description>Estimates airborne drone global position by matching video to map retrieved from onboard GIS server.</description>
77
<author email="hmakelin@protonmail.com">Harri Makelin</author>
88
<maintainer email="hmakelin@protonmail.com">Harri Makelin</maintainer>

0 commit comments

Comments
 (0)