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

Refine Transforms #5

Open
akevinge opened this issue Dec 8, 2024 · 0 comments
Open

Refine Transforms #5

akevinge opened this issue Dec 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@akevinge
Copy link
Contributor

akevinge commented Dec 8, 2024

Currently, transforms are broadcasting GNSS-based odometry. For various reasons, including noise and instability, we should look to combine GNSS and IMU (/ouster/imu) to broadcast proper transforms.

Current code:

def publishTf(self):
if self.cached_odom is None:
return
# Publish our map->base_link tf
t = TransformStamped()
t.header = self.cached_odom.header
t.child_frame_id = self.cached_odom.child_frame_id
transl = Vector3()
transl.x = self.cached_odom.pose.pose.position.x
transl.y = self.cached_odom.pose.pose.position.y
transl.z = self.cached_odom.pose.pose.position.z
t.transform.translation = transl
t.transform.rotation = self.cached_odom.pose.pose.orientation
# self.get_logger().error(str(t))
self.tf_broadcaster.sendTransform(t)

Ideas:

@akevinge akevinge added the enhancement New feature or request label Dec 8, 2024
@akevinge akevinge moved this to ✏️ Todo in 🧭 Navigator Dec 8, 2024
@jruths jruths assigned surajchips, 22adubey and csakilan and unassigned 22adubey Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✏️ Todo
Development

No branches or pull requests

4 participants