Unity-Technologies / ROS-TCP-Connector

Apache License 2.0
296 stars 93 forks source link

Namespace issues with using Unity.Robotics.Visualizations #267

Closed bryceikeda closed 2 years ago

bryceikeda commented 2 years ago

Describe the bug When I try to create my own custom visualizations, I am getting namespace errors. I'm not sure how to properly include the dll to reference the Robotics Visualization package.

To Reproduce

  1. Import packages URDF Importer, ROS-TCP-Connector and Robotics Visualizations
  2. Create a new script using examples from Visualizations.md.
  3. Change namespace from using Unity.Robotics.MessageVisualizers to using Unity.Robotics.Visualizations

Console logs / stack traces

The type or namespace name 'Visualizations' does not exist in the namespace 'Unity.Robotics' (are you missing an assembly reference?)

Expected behavior I should be able to reference the functions within the namespace Unity.Robotics.Visualizations

Environment (please complete the following information, where applicable):

at669 commented 2 years ago

Thanks for the post! You'll need to edit or create your asmdef in the scripts folder you're working out of to include the Unity.Robotics.Visualizations reference. Hope this helps!

bryceikeda commented 2 years ago

@at669 Of course... it worked, thanks for the help!