Skip to content

Conversation

@Schmluk
Copy link
Contributor

@Schmluk Schmluk commented Jan 25, 2026

  • ROS pendant for Hydra #129
  • Currently also includes temporary launch and config files, will remove before merging (these might be useful for specifying the new regions though)

Copy link
Collaborator

@nathanhhughes nathanhhughes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Comment on lines +105 to 110
inline static const std::array<std::pair<size_t, size_t>, 4> state_pairs_ = {
std::make_pair(1, 0),
std::make_pair(1, 2),
std::make_pair(2, 3),
std::make_pair(0, 3)};
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) I'd generally prefer a struct and brace initializers here, but I wouldn't both with cleanup unless I have any other actionable code comments

@@ -1,14 +1,13 @@
---
launch:
- arg: {name: verbosity, default: '0', description: visualizer verbosity}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to add my yaml formatter ('yamlfix') to the pre-commit, I think I dropped it at some point from Hydra because Jared was having trouble getting it to work in 20.04. Preference to revert these changes and I can drop the color adapter args on my side

---
launch:
# development args
- arg: {name: verbosity, default: '0'}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto on reverting the formatting, I'll fix the pre-commit this afternoon

Comment on lines +45 to +46
// TMP
#include <rclcpp/rclcpp.hpp>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can get dropped; also good reminder that I need to set up glog forwarding in the visualizer if I haven't already

Comment on lines +49 to +54
- include:
file: $(find-pkg-share khronos_ros)/launch/datasets/play_uhumans.launch.yaml
arg:
- { name: bag_file, value: /home/lukas/data/khronos/tesse_cd_office.bag }
- { name: use_gt_frame, value: "true" }
- { name: play_rate, value: "1.0" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can talk about how to do this a little bit more cleanly on the hydra_ros side, but I've tried to avoid this in general because you don't get keyboard controls to manage the playback, and you don't get tab-complete for the bag path (though I like having only one thing to run). Longer term thing though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants