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

Chat interface has no access to some tools when running HMI without the "whoami" parameter. #156

Closed
pijaro opened this issue Aug 21, 2024 · 1 comment · Fixed by #143
Closed
Labels
bug Something isn't working

Comments

@pijaro
Copy link
Contributor

pijaro commented Aug 21, 2024

Describe the bug
Running the HMI without robot description parameter:

streamlit run src/rai_hmi/rai_hmi/streamlit_hmi_node.py

has some limitations, ie. it can't fetch the camera output.

When specifying the robot description, for example

ros2 run rai_whoami rai_whoami_node --ros-args -p robot_description_package:="rosbot_xl_whoami"
streamlit run src/rai_hmi/rai_hmi/streamlit_hmi_node.py rosbot_xl_whoami

then everything is fine.

Is it expected behavior? If so, maybe some user feedback could be helpful. Also README should mention any limitations.

To Reproduce
Steps to reproduce the behavior:

  1. Run demo simulation
  2. Run streamlit run src/rai_hmi/rai_hmi/streamlit_hmi_node.py
  3. Ask for camera output.
  4. Camera output is not displayed, the error mentions that the rclpy.Node object has no attribute 'get_raw_message_from_topic'

Expected behavior
An image from the camera.

Platform

  • OS:Ubuntu 22.04
  • ROS 2 Humble

Version
e0cff74

@pijaro pijaro added the bug Something isn't working label Aug 21, 2024
@maciejmajek
Copy link
Member

Is it expected behavior? If so, maybe some user feedback could be helpful. Also README should mention any limitations.

It is for now. We are currently working on HMI refactor. README will also be updated. Thank you!

@maciejmajek maciejmajek linked a pull request Aug 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants