PointCloud visualised in Rviz has the wrong orientation
Hi, I am working on a project at university and have collected PointCloud data from a Kinect RGB-D, which I am visualising in RViz. I want to convert to PointCloud to a map using octomap_server but the orientation of the PointCloud is incorrect (the walls are horizontal, not vertical for example). I think it's something to do with robots frame of reference but I'm not sure how to fixed the problem. Can someone explain how to fix this (very simply as I am a beginner)?