Rviz: Can't move camera
I'm trying to use Rviz to visualize my robot. When I run roscore
on my local machine, and then run rviz
, I can move the camera as expected.
However, if I run roscore
on my robot, and then export ROS_MASTER_URI=[its IP]
, I can communicate freely back and forth, but when I run rviz
I can't move the camera. I can't drag, zoom, pan, rotate, anything. I can click on the "Move Camera" and "Focus Camera" toolbar buttons, and select those tools, but clicking in the view does nothing.
I'm not even using roslaunch to do anything fancy; I'm simply using roscore
and rviz
straight out as a base case.
Any ideas?
@adzenith That is quite strange, are there any errors or warnings on the console output of rviz?
No, there weren't that I recall. Strangely, after having this problem all week and finally opening this question, the problem suddenly disappeared. I have no idea why. If I see it again, I will update the question.
How are you setting the
ROS_MASTER_URI
? For example if the ip was1.2.3.4
, then you would doexport ROS_MASTER_URI=http://1.2.3.4:11311/
?Yeah, I was using that format exactly.
@adzenith I'm sorry, I don't have any ideas off hand. Can you reproduce this reliably? If so can you open a ticket against rviz with as much detail as you can? Optimally if you can setup a simple example that reproduces it then I'll have a look to see if it is a bug.
I can no longer reproduce this. I saw it consistently for about a week, and then right after I opened this issue it disappeared. Maybe an apt-get upgrade fixed it? I'm not sure. Sorry about that.