How can I connect to p3dx with Usb to Serial cable???

asked 2021-10-02 01:44:50 -0500

Jason maker gravatar image

updated 2021-10-05 02:03:22 -0500

Laptop : ASUS Ros version : melodic , unbuntu 18.04 LTS robot : Pioneer 3 DX cable : usb to serial cable ( rs232, Pl2303 )

I am not able to connect p3dx robot and rosaria while proceeding with the method below. http://wiki.ros.org/ROSARIA/Tutorials...

and set up minicom -s >> buad rate 9600 , Hardware flow control NO , /dev/ttyUSB0 ( CHECK OK to lsusb )

and( dmesg | grep tty ) get ' get line error ' ... , the letters look garbled on the mini-com.

I tried the method of adding permission and various methods I searched, but it does not connect.

And I saw that the device part of the serial cable changed every time I connected it. Bus 001 Device 004 [< this part is +1]: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Q1. Can laptop and robot be connected only with usb to serial cable? Need another product? So why doesn't it connect because the device port changes every time I connect? How to fix it? Should I nedd to change the cable?

Q2. stty -F /dev/ttyUSB0 speed 9600 baud; line = 0;

setserial -a /dev/ttyUSB0 /dev/ttyUSB0, Line 0, UART: 16654, Port: 0x0000, IRQ: 0 Baud_base: 460800, close_delay: 0, divisor: 0 closing_wait: infinite Flags: spd_normal

Shouldn't the speed above and the baud rate below be the same?

And give me some tips about the wireless connection Thanks for reading this long post !!

  1. dmesg | grep tty

[ 0.131551] printk: console [tty0] enabled [ 76.310001] usb 1-1.3: pl2303 converter now attached to ttyUSB0 [ 155.641593] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 155.642737] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 179.676351] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 179.681587] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 179.685680] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 179.689706] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 179.693529] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 265.815522] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 265.819384] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 265.823260] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 265.827236] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 265.831184] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 289.288447] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 289.292689] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 289.296832] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 289.300856] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 289.304852] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 311.035971] pl2303 ttyUSB0: error sending break = -32 [ 388.046338] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 388.325911] pl2303 ttyUSB0: error sending break = -32 [ 555.492903] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 [ 556.809363] usb 1-1.3: pl2303 converter now attached to ttyUSB0 [ 1272.709084] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 1272.710408] pl2303 ttyUSB0: pl2303_get_line_request - failed: -32 [ 1365.187679] pl2303 ttyUSB0: error sending break = -32

2.lsusb

Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 003: ID 04f2:b40a Chicony Electronics Co., Ltd Bus 002 ... (more)

edit retag flag offensive close merge delete

Comments

Can I connect my laptop and the Pioneer 3 dx robot with a USB to serial converter?

I get a pipeline error in "rosdep install rosaria" .

Jason maker gravatar image Jason maker  ( 2021-10-17 23:08:14 -0500 )edit