UART not communicating with the laptop USB

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

UART not communicating with the laptop USB

NIKHIL
Hi,

I have flashed the mav framework of the firmware on the humming bird. However, when I try to run the fcu.launch file from the asctec_hl_interface package it gives the following error:

[ INFO] [1469730312.462890291]: INFO: opened serial port /dev/ttyUSB0 with baudrate 57600
[ INFO] [1469730312.463013045]: configured serial port(s), checking connection ...
waiting for acknowledged packet timed out
rx timeout
waiting for acknowledged packet timed out
waiting for acknowledged packet timed out
rx timeout
waiting for acknowledged packet timed out
waiting for acknowledged packet timed out
[ERROR] [1469730314.966253576]: failed
[ERROR] [1469730314.966344337]: unable to connect
rx timeout
rx timeout
[fcu-2] process has died [pid 12486, exit code 255, cmd /home/nikhil/Controls/ROS_C++/ros_ws/devel/lib/asctec_hl_interface/hl_node __name:=fcu __log:=/home/nikhil/.ros/log/9eef4d7e-54f0-11e6-911b-74de2ba43af1/fcu-2.log].
log file: /home/nikhil/.ros/log/9eef4d7e-54f0-11e6-911b-74de2ba43af1/fcu-2*.log


Kindly, help solve the problem.

Regards,
Nikhil
Reply | Threaded
Open this post in threaded view
|

Re: UART not communicating with the laptop USB

Zdenek Boucek
Hi, maybe stupid question, but do you have the xbee connected to the HL processor UART? Originally, it is connected to the LL.

2016-07-29 3:59 GMT+02:00 NIKHIL [via asctec-users] <[hidden email]>:
Hi,

I have flashed the mav framework of the firmware on the humming bird. However, when I try to run the fcu.launch file from the asctec_hl_interface package it gives the following error:

[ INFO] [1469730312.<a href="tel:462890291" value="+420462890291" target="_blank">462890291]: INFO: opened serial port /dev/ttyUSB0 with baudrate 57600
[ INFO] [1469730312.<a href="tel:463013045" value="+420463013045" target="_blank">463013045]: configured serial port(s), checking connection ...
waiting for acknowledged packet timed out
rx timeout
waiting for acknowledged packet timed out
waiting for acknowledged packet timed out
rx timeout
waiting for acknowledged packet timed out
waiting for acknowledged packet timed out
[ERROR] [1469730314.<a href="tel:966253576" value="+420966253576" target="_blank">966253576]: failed
[ERROR] [1469730314.<a href="tel:966344337" value="+420966344337" target="_blank">966344337]: unable to connect
rx timeout
rx timeout
[fcu-2] process has died [pid 12486, exit code 255, cmd /home/nikhil/Controls/ROS_C++/ros_ws/devel/lib/asctec_hl_interface/hl_node __name:=fcu __log:=/home/nikhil/.ros/log/9eef4d7e-54f0-11e6-911b-74de2ba43af1/fcu-2.log].
log file: /home/nikhil/.ros/log/9eef4d7e-54f0-11e6-911b-74de2ba43af1/fcu-2*.log


Kindly, help solve the problem.

Regards,
Nikhil


If you reply to this email, your message will be added to the discussion below:
http://asctec-users.986163.n3.nabble.com/UART-not-communicating-with-the-laptop-USB-tp4024930.html
To unsubscribe from asctec-users, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: UART not communicating with the laptop USB

NIKHIL
I am using a wired connection for now which is connected to the HL Serial 0 port (ports beside the JTAG).
Reply | Threaded
Open this post in threaded view
|

Re: UART not communicating with the laptop USB

NIKHIL
In reply to this post by NIKHIL
Finally, figured the error out. So, firstly we cannot use the Xbee for communication on a single channel, as it will give baud rate issues. Secondly, the cable for USB - UART(HL serial 0 ) communication is a 4 wired connection, while the one for Xbee communication is a 5 wired connection (additional power supply wire). I was using the 5 pin wire for the USB-UART (HL serial 0 ) communication.
Reply | Threaded
Open this post in threaded view
|

Re: UART not communicating with the laptop USB

giovannisalierno
I am having a similar issue,

I flashed th HL processor, but after that, the AscTec Hummingbird does not inicialize very well, GPS two leds kept allways on (no information about this configuration). And the serial communication fail:


roslaunch asctec_hl_interface fcu.launch
... logging to /home/giovanni/.ros/log/c7b255be-523f-11e8-bf30-00265e82a72d/roslaunch-giovanni-E5500-6617.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://giovanni-E5500:40244/

SUMMARY
========

CLEAR PARAMETERS
 * /fcu/

PARAMETERS
 * /fcu/fcu/baudrate: 57600
 * /fcu/fcu/frame_id: fcu
 * /fcu/fcu/mav_type: firefly
 * /fcu/fcu/max_velocity_xy: 0.5
 * /fcu/fcu/max_velocity_z: 0.5
 * /fcu/fcu/packet_rate_ekf_state: 100.0
 * /fcu/fcu/packet_rate_gps: 5.0
 * /fcu/fcu/packet_rate_imu: 100.0
 * /fcu/fcu/packet_rate_rc: 20.0
 * /fcu/fcu/packet_rate_ssdk_debug: 10.0
 * /fcu/fcu/position_control: False
 * /fcu/fcu/serial_port: /dev/ttyUSB0
 * /fcu/fcu/state_estimation: False
 * /fcu/ssdk/omega_0_xy: 2.5
 * /fcu/ssdk/omega_0_z: 8.0
 * /fcu/ssdk/p16: 5.0
 * /fcu/ssdk/p17: 15.0
 * /fcu/ssdk/p18: 4.0
 * /fcu/ssdk/p20: 32.0
 * /fcu/ssdk/p21: 12.0
 * /fcu/ssdk/p22: 5.0
 * /fcu/ssdk/p23: 1.3
 * /fcu/ssdk/p24: 2.0
 * /fcu/ssdk/p35: 18.01
 * /fcu/ssdk/p36: 45.18
 * /fcu/ssdk/p37: 0.45
 * /fcu/ssdk/p38: 1.0
 * /fcu/ssdk/p39: 1.0
 * /fcu/ssdk/p40: 1.0
 * /fcu/ssdk/p41: 18.01
 * /fcu/ssdk/p42: 45.18
 * /fcu/ssdk/p43: 0.45
 * /fcu/ssdk/p45: 1.0
 * /fcu/ssdk/p46: 0.5
 * /fcu/ssdk/p48: 2.0
 * /fcu/ssdk/p49: 2.0
 * /fcu/ssdk/p9: 15.0
 * /fcu/ssdk/tf_ref_frame_id: world
 * /fcu/ssdk/tf_tracked_frame_id: pelican
 * /fcu/ssdk/zeta_xy: 1.0
 * /fcu/ssdk/zeta_z: 1.0
 * /rosdistro: kinetic
 * /rosversion: 1.12.13

NODES
  /
    fcu (asctec_hl_interface/hl_node)

ROS_MASTER_URI=http://localhost:11311

process[fcu-1]: started with pid [6635]
[ INFO] [1525731584.567054573]: INFO: opened serial port /dev/ttyUSB0 with baudrate 57600
[ INFO] [1525731584.567435029]: configured serial port(s), checking connection ...
waiting for acknowledged packet timed out
rx timeout
waiting for acknowledged packet timed out
waiting for acknowledged packet timed out
rx timeout
waiting for acknowledged packet timed out
waiting for acknowledged packet timed out
[ERROR] [1525731587.075287758]: failed
[ERROR] [1525731587.075433472]: unable to connect
rx timeout
rx timeout
[fcu-1] process has died [pid 6635, exit code 255, cmd /home/giovanni/experimentos/asctec_ros/asctec8_ws/devel/lib/asctec_hl_interface/hl_node __name:=fcu __log:=/home/giovanni/.ros/log/c7b255be-523f-11e8-bf30-00265e82a72d/fcu-1.log].
log file: /home/giovanni/.ros/log/c7b255be-523f-11e8-bf30-00265e82a72d/fcu-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done