Closed tomlogan501 closed 4 years ago
I have the same issue. Please provide solution.
PARAMETERS
NODES / fake_gps_fix (rostopic/rostopic) rviz (rviz/rviz) static_tf_fake (tf2_ros/static_transform_publisher)
auto-starting new master process[master]: started with pid [7116] ROS_MASTER_URI=http://localhost:11311
setting /run_id to d0c54dfe-53ce-11ea-b968-0800277151de process[rosout-1]: started with pid [7131] started core service [/rosout] process[fake_gps_fix-2]: started with pid [7134] process[rviz-3]: started with pid [7135] process[static_tf_fake-4]: started with pid [7148] terminate called after throwing an instance of 'std::invalid_argument' what(): The number of blocks has to be positive
Hello!
I found the solution although could not quite figure out why the error appears the way it does.
So, in file 'demo.rviz', under 'Visualization Manager -> Blocks' change the value from 3 to 8 (this the maximum value for the block field). Now run the 'demo.launch' again. It works! However, you only see the position in the map. Not the 'satellite' version of the map.
PS: Once the rviz opens up, on the left side you can change the value of 'Blocks' to 3 again if you want.
Cheers! :)
PS: Turns out that, out of three tile servers mentioned in the 'rviz_satellite' repo description, OpenStreetMap does not support satellite version of the map but only map version of the map (As far as I know). The other two servers need some kind of Token. I am not sure how to obtain the token.
Thanks for reporting this issue, demo.launch
works again :)
Hi, I try to launch the demo.launch and this is what happen :
I'm using only source of ROS because I'm on 19.10 Ubuntu.
How can I fix this ?