segwayrmp / segway_rmp

ROS package for interfacing with Segway's RMP{50,100,200,400} series robotic platforms.
http://www.ros.org/wiki/segway_rmp
11 stars 16 forks source link

FTDI failing to connect to RMP200 #2

Closed alexhdzherdocia closed 13 years ago

alexhdzherdocia commented 13 years ago

After successfully installing the package into ROS (no problems nor any faults with the package build in ROS), i tried running segway_rmp200 but ROS reports an error. The steps I took are:

connect the RMP to the USB port (first to the base then to the computer). Turn the segway on, and start it in Tractor Mode.

then opened 2 terminal windows in one ran $ roscore

in the other terminal I ran: $ rosrun segway_rmp200 segway_rmp200

[ INFO] [1302578529.433264026]: Setting up Segway Interface. [ERROR] [1302578529.442508266]: [Exception caught] - CFTDI* CFTDIServer::get_device(std::string&) at /opt/ros/cturtle/stacks/segway-rmp-ros-pkg/segway_rmp/iricomms/build/communications-svn/src/usb_ftdi/ftdiserver.cpp:219 Error: [CFTDI class] - Invalid serial number or description - empty string.

[ WARN] [1302578529.442580666]: It seems like there was an error connecting to the segway, check your connections, permissions, and that the segway powerbase is on.

The FTDI drivers are :

Querying the USB connections with lsusb shows that the only FTDI device showing up is: Bus 003 Device 002: ID 0403:e729 Future Technology Devices International, Ltd which corresponds to the segway RMP.

The configuration of the rules.d are set as it is recommended by the IRI webpage.

evanmj commented 13 years ago

There are some conflicts with the new FTDI drivers, where FTDI devices show up as /dev/ttyUSB0, etc.

Try running:

sudo rmmod ftdi_sio

after plugging in the segway base.

ls -l /dev/ttyUSB* should yield no devices.

Try launching the segway node again.

The problem with this is that other devices that use the ttyUSB setup will not work.

It is a known issue by both IRI and wjwwood.

If that does not work, check permissions in /dev/bus/usb and be sure you can write to the segway device.

On Mon, Apr 11, 2011 at 10:42 PM, alexhdzherdocia < reply@reply.github.com>wrote:

After successfully installing the package into ROS (no problems nor any faults with the package build in ROS), i tried running segway_rmp200 but ROS reports an error. The steps I took are:

connect the RMP to the USB port (first to the base then to the computer). Turn the segway on, and start it in Tractor Mode.

then opened 2 terminal windows in one ran $ roscore

in the other terminal I ran: $ rosrun segway_rmp200 segway_rmp200

[ INFO] [1302578529.433264026]: Setting up Segway Interface. [ERROR] [1302578529.442508266]: [Exception caught] - CFTDI* CFTDIServer::get_device(std::string&) at /opt/ros/cturtle/stacks/segway-rmp-ros-pkg/segway_rmp/iricomms/build/communications-svn/src/usb_ftdi/ftdiserver.cpp:219 Error: [CFTDI class] - Invalid serial number or description - empty string.

[ WARN] [1302578529.442580666]: It seems like there was an error connecting to the segway, check your connections, permissions, and that the segway powerbase is on.

The FTDI drivers are :

Querying the USB connections with lsusb shows that the only FTDI device showing up is: Bus 003 Device 002: ID 0403:e729 Future Technology Devices International, Ltd which corresponds to the segway RMP.

The configuration of the rules.d are set as it is recommended by the IRI webpage.

Reply to this email directly or view it on GitHub: https://github.com/wjwwood/segway-rmp-ros-pkg/issues/2

wjwwood commented 13 years ago

Did this help you alexhdzherdocia? Just so y'all know I am working on a serial based implementation at this moment to get around this problem. Though I don't think that a "serial like" driver exists for Windows and OS X...

evanmj commented 13 years ago

The player driver for the RMP200 driver works over the FTDI usbTTY interface, it may not be too hard to use IRI code and mix in the player implementation of the serial comms, but that is way over my head.

On Mon, Apr 18, 2011 at 8:56 PM, wjwwood < reply@reply.github.com>wrote:

Did this help you alexhdzherdocia? Just so y'all know I am working on a serial based implementation at this moment to get around this problem. Though I don't think that a "serial like" driver exists for Windows and OS X...

Reply to this email directly or view it on GitHub: https://github.com/wjwwood/segway-rmp-ros-pkg/issues/2#comment_1024610

alexhdzherdocia commented 13 years ago

Hello All,

Yes, it did work, Thanks a lot for the help!

Cheers