Comments (19)
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.
from linorobot.
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
from linorobot.
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.
from linorobot.
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
from linorobot.
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.
from linorobot.
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
from linorobot.
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.
from linorobot.
@sdey76 Hi, please post your questions here:
https://groups.google.com/forum/m/#!forum/linorobot .
from linorobot.
I can confirm that we managed to run linorobot melodic on Jetson Nano with few glitches with udev rules and solved it
from linorobot.
Working Melodic installer here:
https://github.com/linorobot/lino_install/tree/melodic
https://travis-ci.org/linorobot/lino_install/builds/564405465Few 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?
from linorobot.
@arminf82 Yes, you can build it from source
from linorobot.
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?
from linorobot.
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.
from linorobot.
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
Linorobot Install Failure Message2_20190926.txt.txt
from linorobot.
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
from linorobot.
@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.
from linorobot.
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.
from linorobot.
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
from linorobot.
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
from linorobot.
Related Issues (20)
- firmware not finding lino_msgs/Velocities.h HOT 2
- Big wheel low RPM speed calculation problem
- laser inflation during angular moment HOT 2
- How do I change mapping of SDA and SCL pins for IMU?
- ROS Noetic (Ubuntu 20) HOT 1
- ModuleNotFoundError: No module named 'glib' HOT 2
- Install script doesn't complete and gives "Python 3.6 or greater required" error HOT 2
- Using IMU BNO055 Sensor
- gazebo model for linorobot
- Is it possible to use 1 pwm and 1 dir driven driver in linorobot
- Changing Frequency of PWM Signal
- rplidar a3
- motor driver Model X motor drive module HOT 1
- Rebuild Inst.h from Inst.msg so that platformio sees it HOT 1
- linorobot comparability with teensy LC
- Robot h/w-related questions...
- rosserial error
- scan data infilation
- Need Two Encoders on The Wheels for ACKERMANN1?
- Need adding few Ultrasound Sensors to linorobot2 - humble to avoid obstructions above the LIDAR raytrace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linorobot.