GithubHelp home page GithubHelp logo

Comments (7)

stonier avatar stonier commented on July 20, 2024 1

kobuki-base/kobuki_ftdi@5f58516

from kobuki_core.

stonier avatar stonier commented on July 20, 2024

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.

kenliao94 avatar kenliao94 commented on July 20, 2024

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.

stonier avatar stonier commented on July 20, 2024

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.

orbingol avatar orbingol commented on July 20, 2024

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.

orbingol avatar orbingol commented on July 20, 2024

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.

stonier avatar stonier commented on July 20, 2024

Aha, no kernel driver - I'll add notes to the FTDI readme.

from kobuki_core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.