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

Ignition: Missing IR intensity sensors #209

Open
Gior26 opened this issue Apr 12, 2023 · 3 comments
Open

Ignition: Missing IR intensity sensors #209

Gior26 opened this issue Apr 12, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Gior26
Copy link

Gior26 commented Apr 12, 2023

Describe the bug
Using Gazebo Ignition under the /ir_intensity topic data from the 7 sensors is missing.
Only data from the base_link frame is available and it is positioned on the left side of the robot.

To Reproduce
Steps to reproduce the behavior:

  1. ros2 launch irobot_create_ignition_bringup create3_ignition.launch.py
  2. Add an object with collision
  3. ros2 topic echo /ir_intensity
  4. Only IR data from base_link is available

Expected behavior
Under /ir_intensity data from all 7 IR sensors should be available

Screenshots
sensors_readings-2023-04-12_10 57 07

Additional context

  • Passing argument gazebo:=ignition didn't solve the issue.
  • IR sensors works with gazebo classic.
  • OS: Ubuntu 22.04.2
  • Gazebo: Ignition Fortress
  • ROS: Ros Humble

Libraries and log

@Gior26 Gior26 added the bug Something isn't working label Apr 12, 2023
@alsora
Copy link
Contributor

alsora commented Apr 12, 2023

If you do ros2 topic list --include-hidden you should see the following topics
https://github.com/iRobotEducation/create3_sim/blob/main/irobot_create_ignition/irobot_create_ignition_bringup/config/sensors_params.yaml#L16-L23

These topics contain the "raw" IR data that is then fused in the ir_intensity topic.
Can you try to echo them ? This should help understand where the problem is.

@Gior26
Copy link
Author

Gior26 commented Apr 12, 2023

Here's the log for _internal/ir_intensity_front_center_left/scan and _internal/ir_intensity_front_center_left.

I'm noticing that timestamp inside _internal/ir_intensity_front_center_left are always 0, I don't know if that may be the 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

No branches or pull requests

2 participants