Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Display position of "DefaultVisualizers" is strange

Discussion in 'Robotics' started by Chu_son, Aug 11, 2022.

  1. Chu_son

    Chu_son

    Joined:
    Mar 27, 2015
    Posts:
    4
    I'm trying ROS Visualization in my project used ROS-TCP-Connector.

    I added the "DefaultVisualizers" prefab to the top of the scene hierarchy according to the URL below.
    https://github.com/Unity-Technologi...zations/Documentation~/README.md#installation

    However, the position of the robot and the display position of the visualizer do not match.(no error message)
    How can the positions of the robot and visualizer match?
    Also, what information is needed to identify the problem?


    Screenshot from 2022-08-12 01-23-49.png Screenshot from 2022-08-12 01-42-07.png
     
  2. Chu_son

    Chu_son

    Joined:
    Mar 27, 2015
    Posts:
    4
    I was running "joint_state_publisher" and "robot_state_publisher" from ROS1 and rviz was displaying the tf with no problem.

    However, the tf was not loading properly in unity.

    I solved the problem by running "ROSTransformTreePublisher" in ROS on the unity side.
     
    Envilon likes this.