Robotics StackExchange | Archived questions

Three.js throwing error when working with ros3djs

Description

Library Version: 1.1.0 (ros3djs)

ROS Version: Noetic

Platform / OS: Linux Steps To Reproduce I have literally copied this guide, it can be found right here: https://answers.ros.org/question/358085/how-to-use-markerarrayclient-in-ros3djs/

It links another tutorial which is built upon, I copied all the code from there; and adjusted MarkerClient to MarkerArrayClient https://wiki.ros.org/ros3djs/Tutorials/VisualizingAMarkerTopic

Expected Behavior: My markers show up in the viewer

Actual Behavior: My markers do not show up on the screen. Whenever I post a marker, the web console immideately starts spewing errors about Three.js: "THREE.SpriteMaterial: 'useScreenCoordinates' is not a property of this material." This goes on indefinately and rapidly adds up to numbers in the thousand.

Asked by CursingThomas on 2023-05-25 13:20:00 UTC

Comments

Answers