Error running gmapping
I've installed ROS melodic on Ubuntu 18.04.4 LTS and Im using turtlebro by voltbro. When i run "roslaunch turtlebro_navigation turtlebro_gmapping.launch" on turtlebro raspberry pi i get "ERROR: cannot launch node of type [rviz/rviz]: rviz ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/opt/ros/melodic/share " Also i dont have topics in "by topic" like scan and map in rviz. If you need more info about PC sys and RaspberryPI sys Ill include. Help me, pls.
Can you explain your setup in more detail? How are you running commands on the turtlebro robot? Do you use ssh? Do you have a monitor and keyboard connected to the pi?
You know, i found a mistake i made. I was running it on pi when i need to do it on PC(Im new in ROS). But now there's the new one. The rplidar node has already ran on the pi. So i just have to start this on PC but then i get this: RLException: Invalid <arg> tag: environment variable 'ROVER_MODEL' is not set.
Arg xml is <arg default="$(env ROVER_MODEL)" doc="model type [turtlebro, brover]" name="model"/> The traceback for the exception was written to the log file"
Also i dont have "/scan" topic in Rviz-Add-Bytopic. But on the turtlebro it exists and then i do "rostopic echo scan" it shows me a lot of numbers(360) which are info from rplidar, so it works but in the rviz not.
and yes, Im using ssh