rad
rad copied to clipboard
ROS Melodic (Ubuntu 18)
Hi, Would this work on ROS Melodic (Ubuntu 18)?
The hardware drive shouldn’t have any problem. The installer would throw an error once it hit gmapping package though as it’s not released in Melodic yet. Alternatively, you can comment it out from the installer and build it from source.
Working Melodic installer here: https://github.com/linorobot/lino_install/tree/melodic https://travis-ci.org/linorobot/lino_install/builds/564405465
Few caveats:
- Kinect Driver's not working
- python-gudev 's not working
Hi On BTS7960 Motor controller two enable pins. Do we need to externally give 5 volt. As the wiring has pwm ,ina inb pins in diagram.
@sdey76 Hi, please post your questions here: https://groups.google.com/forum/m/#!forum/linorobot .
I can confirm that we managed to run linorobot melodic on Jetson Nano with few glitches with udev rules and solved it
Working Melodic installer here: https://github.com/linorobot/lino_install/tree/melodic https://travis-ci.org/linorobot/lino_install/builds/564405465
Few caveats:
1. Kinect Driver's not working 2. python-gudev 's not working
Will everything work when I simply install the Kinect drivers on my own?
@arminf82 Yes, you can build it from source
@grassjelly,
I am running Ubuntu Mate 18.0.4 and the ROS Melodic-base on a Rpi 3B+.
The gmapping package is available for ROS Melodic now and I have successfully installed it.
Your https://github.com/linorobot/lino_install/tree/melodic link is broken as I get a "does not exist" message when running sudo git clone https://github.com/linorobot/lino_install/tree/melodic or am I doing something wrong?
I assume that I can run git clone https://github.com/linorobot/lino_install and then modify the install file before I run ./install base sensor?
Presently it looks like the python-gudev package is not available for Ubuntu Mate 18.0.4 and only for Ubuntu Bionic 18.0.4.
Should I be posting on your Google forum?
Hi you should change the branch to melodic and not directly clone the link:
git clone https://github.com/linorobot/lino_install cd lino_install git checkout melodic
Once done, you can run the installer.
Hope this helps.
@grassjelly,
Thanks for the suggestion, much appreciated as that is better than modifying the install file.
Any suggestions concerning installing python-gudev on Ubuntu Mate 18.0.4? I am new at Python/Linux Programming and would appreciate any help.
Hi grassjelly,
I have attempted to install Linorobot on Ubuntu Mate/ROS Melodic on my Rpi 3B+ using the Melodic branch of lino_install.
The install runs fine until it gets to "[ 46%] Building CXX object lino_pid/CMakeFiles/pid_listen.dir/src/pid_listen.cpp.o" at which time this message appeared "c++: internal compiler error: Killed (program cc1plus)".
The build then continued to the [50%] point at which time this message appeared and the program went to the command prompt:
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
I am attaching a file of the failure information from [46%] to the command line prompt.
Regards, TCIII
@grassjelly,
I would say that the Ubuntu Mate/ROS Melodic combination might not be doable at the moment. I say this because even though the ROS gmapping package is available for Melodic, there presently is no source for building and installing python-gudev for Ubuntu Mate.
I therefore would appreciate it if you could direct me to a source for a bootable image of Ubuntu 16.04 for the Rpi 3B+ if at all possible as I have not been able to find one that will work.
Update: It is my feeling that the Linorobot Project will no longer move forward until there is a source available to build python-gudev for Ubuntu Mate 18.04 and the issues I have experienced above with the lino_install have been resolved. I looked at the ros packages available for Melodic and I did not find a gmapping package. However I did find a slam-gmapping package. Are they the same, but with a different name for Melodic? I am willing to work with you to correct these issues and learn about Python and ROS at the same time.
Regards, TCIII
@TCIII python-gudev is used to assign names to serial ports right ? I commented it out from installer file and used this guide to add names manually. So far i got ROS serial working fine. Hope this helps someone.
The solution for udev rules is to build python-gudev from source
$ git clone https://github.com/nzjrs/python-gudev.git
$ cd python-gudev
$ sudo apt install libtool-bin
$ sudo apt install python-gobject-2-dev
$ ./autogen.sh
$ make
$ sudo make install
This will install the python-gudev to your sytem so lino_udev.py can import gudev
tested on Ubuntu 18.04.3
@Geekgineer,
Hi, I also use Ubuntu 18.04.3 installed on a Nvidia Jetson Nano.
I followed your set of instructions but at the ./autogen.sh
command, I received the following error.
checking for GUDEV... no
configure: error: Package requirements (gudev-1.0 >= 210) were not met:
No package 'gudev-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GUDEV_CFLAGS
and GUDEV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
@Geekgineer,
Hi, I also use Ubuntu 18.04.3 installed on a Nvidia Jetson Nano. I followed your set of instructions but at the
./autogen.sh
command, I received the following error.checking for GUDEV... no configure: error: Package requirements (gudev-1.0 >= 210) were not met: No package 'gudev-1.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GUDEV_CFLAGS and GUDEV_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
Try this:
sudo apt-get install libgudev-1.0-dev
Just in case it helps someone, I've installed Linorobot in Raspberry Pi 3B with Ubuntu Mate 18.04. These are the steps i made:
Install ubuntu mate 18.04 - https://ubuntu-mate.org/download/armhf/
After the installation:
sudo apt update
sudo apt install git
sudo apt install python-pip
Install ros melodic
git clone https://github.com/linorobot/rosme
cd rosme
./install
source /opt/ros/melodic/setup.bash
Create a ROS workspace - http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source devel/setup.bash
Linorobot Installation
git clone https://github.com/linorobot/lino_install
cd lino_install
git checkout melodic
uDev Rules
sudo apt install python-gobject
sudo apt install libtool-bin
sudo apt install python-gobject-2-dev
sudo apt install autoconf
sudo apt-get install libgudev-1.0-dev
git clone https://github.com/nzjrs/python-gudev.git
cd python-gudev
./autogen.sh
make
sudo make install
rosrun lino_udev lino_udev.py
sudo cp 58-lino.rules /etc/udev/rules.d/58-lino.rules
Restart udev:
sudo service udev reload
sudo service udev restart
Confirm if the uDev rules worked:
ls /dev/linobase
ls /dev/linolidar
If the serial ports cannot be detected, restart the robot's computer and check again. Take note that freshly shipped Teensy boards has to be be programmed once before you can see its ports.
In my case i had to restart to be able to list the ports.
git clone https://github.com/linorobot/lino_install cd lino_install git checkout melodic then: cd lino_install catkin_make cd ~/linorobot_ws/ ./install 2wd rplidar source devel/setup.bash
can anyone help me out im stuck here I've been getting this error I've followed this method and im facing this error
ubuntu@ubuntu:~$ rosrun lino_udev lino_udev.py
[rospack] Error: package 'lino_udev' not found