Rviz: Can't move camera

asked 2015-01-29 13:25:14 -0500

adzenith gravatar image

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?

edit retag flag offensive close merge delete

Comments

@adzenith That is quite strange, are there any errors or warnings on the console output of rviz?

William gravatar image William  ( 2015-01-29 15:21:50 -0500 )edit

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.

adzenith gravatar image adzenith  ( 2015-01-30 10:12:41 -0500 )edit

How are you setting the ROS_MASTER_URI? For example if the ip was 1.2.3.4, then you would do export ROS_MASTER_URI=http://1.2.3.4:11311/?

William gravatar image William  ( 2015-01-30 12:36:56 -0500 )edit

Yeah, I was using that format exactly.

adzenith gravatar image adzenith  ( 2015-01-30 13:36:17 -0500 )edit

@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.

William gravatar image William  ( 2015-01-31 14:45:41 -0500 )edit

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.

adzenith gravatar image adzenith  ( 2015-02-08 18:53:44 -0500 )edit