How to fix/changeposition camera in ros3djs

asked 2019-09-02 08:10:18 -0500

WhatWhat gravatar image


So I have this PointCloud2 messages which are generated from a drone camera and I am trying to render them on the browser using ros3djs. the cloud of points appear in my viewer but I couldn't change the camera initial position using cameraPosition : when initializing the options of the ROS3D.Viewer Object. A second problem is that the scene auto moves/rotates when the camera of the drone moves. I tried changing the Viewer.cameraControls.autoRotate to false to fix the camera view but nothing changes. I am using ros-Kinetic. How can I fix that?

Thank you in advance !!

edit retag flag offensive close merge delete