Magni_viz view_robot.launch does not exist on workstation

ubuntu@ubuntu-VirtualBox:~$ roslaunch magni_viz view_robot.launch
[view_robot.launch] is neither a launch file in package [magni_viz] nor is [magni_viz] a launch file name
The traceback for the exception was written to the log file

When I search for .launch files on the workstation i do not find “magni_viz” or “view_robot.launch”.

where could it be hiding?

You will need to install it.

sudo apt install ros-kinetic-magni-robot

Rohan

I too tried following the tutorial https://learn.ubiquityrobotics.com/rviz and did:

roslaunch magni_viz view_robot.launch

I got the same error:

[view_robot.launch] is neither a launch file in package [magni_viz] nor is [magni_viz] a launch file name

Because the virtual machine (VM) image supplied by Ubiquity (called “Workstation 1.0.1”) is incomplete. The solution is indeed to install the ros-kinetic-magni-robot package. But the VM’s Debian package index is not up-to-date either. To update it, you use “apt-get update”, but that only works if you have the public key. To get it, follow the instructions on https://wiki.ros.org/kinetic/Installation/Ubuntu which in summary are:

sudo apt-key adv --keyserver ‘hkp://keyserver.ubuntu.com:80’ --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update
sudo apt-get install ros-kinetic-magni-robot