Thank you very much @hch!
As you pointed out runit
was not installed at all, probably because when I installed the simulator, the script crashed without advertise the failure.
I don’t know exactly what was wrong the first time but I’m going to describe here all the modifications that I have done to properly install the simulator and the SDK on Ubuntu 16.04.
Thank you again and hope this helps,
Alessandro Tondo @qbrobotics
Install URsim PolyScope 3.3.3.292
on Ubuntu 16.04
-
open the
install.sh
in theursim-3.3.3
directory; -
openjdk-6-jre
is no more supported on Ubuntu 16.04; switch toopenjdk-8-jre
by renaming the proper field ofcommonDependencies
(I cannot say that this has no drawbacks, it seems to work well though):commonDependencies='libcurl3 openjdk-8-jre ...'
-
change the java version control accordingly (note the
1.8.0
instead of the1.6.0
):versionString=`java -version 2>&1 | head -n1 | grep 1\.8\.0` if [[ -z $versionString ]] then echo "Please select Java version 1.8 using update-alternatives" return fi
-
[optional] if you have installed a non-english Ubuntu, probably your desktop directory is not called
~/Desktop
. In such a case use something like this when creating the executable shortcuts or simply rename the path with your desktop directory name:# source the user directories for every language (then use $XDG_DESKTOP_DIR) source ~/.config/user-dirs.dirs # create launch files echo "Create shortcuts on the desktop" for TYPE in UR3 UR5 UR10 do FILE=$XDG_DESKTOP_DIR/ursim-$VERSION.$TYPE.desktop ...
-
you are almost done, just open a terminal and type
./install.sh
; -
[optional] if you have previously installed the URCaps SDK, you might force the dependencies installation with something like
apt-get install -f
; -
[optional] if you get stuck like me while installing
runit
, please follow this topic. In brief, you have to comment out the final part of/var/lib/dpkg/info/runit.postinst
because it tries to callupstart
which is no longer used in the newer Ubuntu releases, and than simply force the installation process (i.e.sudo apt-get install -f
); -
[optional] if you get stuck on point 7, simply rerun
./install.sh
again; -
if everything goes as expected you will find three executable shortcuts on your desktop.
Install URCaps SDK 1.0.0.23
on Ubuntu 16.04
-
open the
install.sh
in thesdk-1.0.0-23
directory; -
[optional] if you have previously installed the simulator, you might force the debian installation at the end of the installer (i.e. use
--force-all
):sudo dpkg -i --force-all urtool/*.deb
-
[important] check if the debian package has been installed correctly through
dpkg -s urtool3
. It should prompt something like this (be sure that the status isStatus: install ok installed
):Package: urtool3 Status: install ok installed Priority: extra Section: non-free/misc Installed-Size: 196280 Maintainer: Universal Robots A/S <rd@universal-robots.com> Architecture: amd64 Version: 0.3 Depends: lib32gcc1, libc6, libc6-i386, libncurses5, ant, libstdc++6, python (>= 2.6) Conffiles: /etc/ld.so.conf.d/urlib.conf 20bf058b0d358d20e8861ab1808f2189 /etc/profile.d/urpath.sh 123b1ea1f7dca6f3ed144554caeb2d5b Description: Universal Robots A/S CB3.X cross-compiler toolchain. Universal Robots A/S Control Box generation 3.X cross-compiler toolchain, including among others: GCC, scons, boost, curl and libxmlrpc-c for robot software development purposes. Homepage: http://www.universal-robots.com
Disclaimer: THESE MODIFICATIONS ARE PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.