Skip to content

[Rviz Plugins] Takes a while for RVIZ to become responsive after launch #1000

Closed

Description

@orduno

Bug report

Required Info:

  • Operating System: Ubuntu 18.04
  • Installation type: Source
  • Version or commit hash: 2ede683
  • DDS implementation: Fast-RTPS
  • Client library (if applicable): rclcpp

Steps to reproduce issue

Launch the nav stack in simulation: ros2 launch nav2_bringup nav2_simulation_launch.py simulator:=gzserver

Expected behavior

As soon as Rviz is available, it is responsive to user inputs.

Actual behavior

It takes a few seconds after launch for Rviz to become responsive:

initial_slow_rviz

Additional information

If the robot model is disabled, then it is responsive:

fix_slow_rviz

Perhaps an option is to disable it by default.

Activity

  1. added this to the Aug 2019 milestone on Aug 2, 2019
  2. self-assigned this
    on Aug 2, 2019
  3. mlherd commented on Aug 3, 2019

    @mlherd
    Contributor

    I noticed this problem today as well. It seems like for some reason parsing URDF files takes longer than usual.

  4. SteveMacenski commented on Aug 3, 2019

    @SteveMacenski
    Member

    We should look at the size of the model. If the dae or stl has too many triangles it can really take a long time to load- most people export their CAD stl’s too high.

    If we think its too large and that’s the issue, I can lower the resolution in my Autodesk license and upload a downsampled version to this repo.

  5. SteveMacenski commented on Aug 5, 2019

    @SteveMacenski
    Member

    Yes, definitely the CAD models. the Waffle plates are 16MB, each tire is a MB, astra is 8MB, these are way too high resolution for visualization

  6. mlherd commented on Aug 6, 2019

    @mlherd
    Contributor

    I wonder if this causes rviz to have low fps as well.

    PS: this is the #1000 th issue :) - including PRs

  7. SteveMacenski commented on Aug 6, 2019

    @SteveMacenski
    Member

    Good question, I haven't noticed but potentially the case. There was a robotics project I did a few years ago where I accidently exported a 1GB DAE file and I wondered for days why it took RVIZ minutes to load. I later was sending the file to a friend to test for me and realized on gmail attachment how large it was

  8. ghost added
    2 - Medium
    on Aug 7, 2019
  9. changed the title [-]Takes a while for RVIZ to become responsive after launch[/-] [+][Rviz Plugins] Takes a while for RVIZ to become responsive after launch[/+] on Aug 8, 2019
  10. orduno commented on Aug 19, 2019

    @orduno
    ContributorAuthor

    Yes, will close the issue.

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

Metadata

Metadata

Assignees

Labels

2 - Medium

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions