Comments (7)
kobuki-base/kobuki_ftdi@5f58516
from kobuki_core.
Most things there look correct. Is /dev/usbdev1.3
actually there? Can you run a modified version of the udev rule to get it on /dev/kobuki
? I am wondering if the decimal/number (1.3) is causing problems.
from kobuki_core.
When we udevadm on /dev/usbdev1.3, it shows that its subsystem is "usb". We changed the udev rule to match that. However, the symlink /dev/kobuki is not generated. Then we proceeded to change the serial port field ($roscd kobuki_node)/param/base.yml to usbdev1.3 instead of kobuki. It still didn't work. We suspected that it is a driver issue on our embedded system. We worked around it by using UART communication. However, it would be nice to know why it didn't work.
from kobuki_core.
Not a group permissions problem on the device is it? You usually have to be part of the dialout group on most systems.
from kobuki_core.
Hello,
I am so sorry for resurrecting an old issue, but I think I am having a very similar issue as stated here. For starters, I started working with Kuboki last week, therefore I might be explaining the details a little bit unconventional way.
My configuration is a little bit different in compared to the first post. I am using Jetson Tegra TK1 flashed with the Factory Image (v21.5, Ubuntu 14.04) and then installed ROS Indigo. I was able to solve udev issue by changing tty
to usb
and removing serial
field on the udev rule in the file /etc/udev/rules.d/57-kobuki.rules
. Therefore the system is able to generate /dev/kobuki
without any issues.
On the other hand, after I run roslaunch kobuki_node minimal.launch --screen
, I get Kobuki : no data stream, is kobuki turned on?
message. I tried to change the USB cable, checked user groups (the user that executes roslaunch
is in dialout
group), checked permissions of the dev node but I couldn't figure out why operating system fails to connect to Kuboki base.
I would be glad if anyone could provide some tips on debugging this issue.
Thanks
from kobuki_core.
Hello again,
I actually solved the issue on my system. Let me explain how I did it.
nVidia Jetson Tegra TK1 factory image Ubuntu 14.04 default kernel (3.10.40-ga7da876) doesn't come with ftdi_sio kernel driver compiled (at least mine doesn't). So, you need to compile it to get Kobuki FTDI-to-USB working.
Assuming that you were able to get to the point that you run make menuconfig
(or its alternatives), you may find the proper option under
Device Drivers -> USB Support -> USB Serial Converter support -> USB FTDI Single Port Serial Driver
After compiling the kernel and booting it up, you may check if the driver was loaded using
dmesg | grep -i ftdi
The operating system that I am using shows the output of the command above like this:
[ 3.919722] usbcore: registered new interface driver ftdi_sio
[ 3.927094] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 9.965414] ftdi_sio 1-3:1.0: FTDI USB Serial Device converter detected
[ 9.966952] usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB0
and therefore, ls -al /dev | grep -i usb
would output something like
crw-rw-r-- 1 root dialout 188, 0 Jul 20 02:51 ttyUSB0
and the udev rules should work without any modification. You may use the following commands to reload udev rules:
sudo udevadm control --reload-rules
and sudo udevadm trigger
Then, running ls -al | grep -i kobuki
would show:
lrwxrwxrwx 1 root root 7 Jul 20 02:32 kobuki -> ttyUSB0
Sorry for skipping all the kernel compilation steps.
from kobuki_core.
Aha, no kernel driver - I'll add notes to the FTDI readme.
from kobuki_core.
Related Issues (20)
- fatal error: ftdi.h: No such file or directory HOT 7
- about the inertia angle
- wrong code in kobuki_core/kobuki_driver/src/driver/packet_finder.cpp HOT 3
- Backport isnan fix to indigo HOT 2
- can't create /dev/ttyUSB0 in firefly RK3288 Ubuntu image HOT 1
- How to use catkin to compile arm architecture .so file HOT 3
- kobuki_ftdi is failing to build in Kinetic HOT 1
- slot_stream_data.connect ("/ kobuki / stream_data") sigslot connection failure HOT 7
- Autodocking crashes when bot rolls back off dock after autodocking HOT 1
- Getting input from external IMU
- Request for a ros2-ardent branch HOT 1
- Remove sound that plays when using driver HOT 1
- Repos file for building kobuki_core standalone HOT 1
- Doxygen link returns 404 HOT 1
- Confirm ros2 debs produce udev rules HOT 1
- Derefencing errors on the build farm
- bool PacketFinderBase::waitForPayloadAndEtx(const unsigned char * incoming, unsigned int numberOfIncoming, bool & foundPacket)
- Macro pollution with minor, major, patch in Melodic
- CMake version warnings in melodic, noetic
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 kobuki_core.