Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

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.