Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pose estimator imports #27

Merged
merged 3 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion gisnav/nodes/mock_gps_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def _generate_sensor_gps(self, lat, lon, altitude_amsl, altitude_ellipsoid, head
msg.cog_rad = np.nan
msg.vel_ned_valid = False
msg.timestamp_time_relative = 0
msg.time_utc_usec = int(time.time() * 1e6)
msg.satellites_used = np.iinfo(np.uint8).max
msg.time_utc_usec = int(time.time() * 1e6)
msg.heading = heading
Expand Down
12 changes: 10 additions & 2 deletions gisnav/pose_estimators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@
"""
from .pose_estimator import PoseEstimator
from .keypoint_pose_estimator import KeypointPoseEstimator
from .superglue_pose_estimator import SuperGluePoseEstimator
from .loftr_pose_estimator import LoFTRPoseEstimator
try:
from .superglue_pose_estimator import SuperGluePoseEstimator
except ModuleNotFoundError as e:
# Submodule not loaded
pass
try:
from .loftr_pose_estimator import LoFTRPoseEstimator
except ModuleNotFoundError as e:
# Submodule not loaded
pass
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>gisnav</name>
<version>0.63.0</version>
<version>0.63.1</version>
<description>Estimates airborne drone global position by matching video to map retrieved from onboard GIS server.</description>
<author email="hmakelin@protonmail.com">Harri Makelin</author>
<maintainer email="hmakelin@protonmail.com">Harri Makelin</maintainer>
Expand Down