Using asctec_drivers for Hummingbird

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using asctec_drivers for Hummingbird

Yidong
I am new to ROS and drones. My Hummingbird was previously used by another guy in the lab who is left now, so I guess the configuration should have no problem, but when I launch the drivers, I got errors. Can someone help me get rid of them?

core service [/rosout] found
process[AutoPilot-1]: started with pid [24809]
[ INFO] [1438806913.107535565]: Creating AutoPilot Interface
[ INFO] [1438806913.138058412]: Initializing serial port...
[ INFO] [1438806913.138158362]: Successfully connected to /dev/ttyUSB0, Baudrate 57600

[ INFO] [1438806913.139102441]: Publishing LL_STATUS data
[ INFO] [1438806913.139823049]: Publishing IMU_CALCDATA data
[ INFO] [1438806913.139875420]: Control Disabled
process[AsctecProc-2]: started with pid [24852]
[ INFO] [1438806913.176690391]: Starting AsctecProc
[ERROR] [1438806913.440963947]: Error wrote -1 out of 6 element(s): Bad file descriptor
[ERROR] [1438806913.520281755]: Timeout: 0 bytes available 3 bytes requested
[ERROR] [1438806913.520606991]:     Error Reading Packet Header: Bad file descriptor
[ERROR] [1438806913.520787444]:     Read (-1):
[ERROR] [1438806913.520961013]:   Read failed
[ERROR] [1438806913.521360171]: Error wrote -1 out of 6 element(s): Bad file descriptor


Any help will be greatly appreciated.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using asctec_drivers for Hummingbird

russian.ham
Maybe you you define your polling rate too high? Are you using the Xbee connection? If you are not using direct usb connection try to decrease your polling rate on your launch config to something like 2.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using asctec_drivers for Hummingbird

andre@asctec
I think this issue has been fixed. It was an access rights problem. The user must be in the group "dialout", otherwise you won't get access to the ttyUSB devices.
Andre Ryll
AscTec Application Engineer
Loading...