Trying to Odroid XU4 Companion running with pixhawk

Hello,

First if this is posted in the wrong place feel free to redirect me to a better forum.

I've been following this tutorial.  I've got a FTDI cable connected as described (without the +5v connected) and that seems to be working.  I've set the baud rate as described.  When I get to the section to enter the command "mavproxy.py --master=/dev/ttyUSB0 --baudrate 1500000 --aircraft MyCopter" here is what is shown through the terminal:

odroid@odroid:~$ mavproxy.py --master=/dev/ttyUSB0 --baudrate 1500000 --aircraft MyCopter

Connect /dev/ttyUSB0 source_system=255

no script MyCopter/mavinit.scr

Log Directory: MyCopter/logs/2016-01-25/flight6

Telemetry log: MyCopter/logs/2016-01-25/flight6/flight.tlog

MAV> Waiting for heartbeat from /dev/ttyUSB0

fence breach

online system 1

STABILIZE> Mode STABILIZE

APM: PX4v2 002E0027 35324716 36343032

Flight battery 100 percent

Received 377 parameters

Saved 377 parameters to MyCopter/logs/2016-01-25/flight6/mav.parm

Process Process-1:

Traceback (most recent call last):

 File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap

   self.run()

 File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run

   self._target(*self._args, **self._kwargs)

 File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_map/srtm.py", line 128, in createFileListHTTP

   conn.request("GET",self.directory)

 File "/usr/lib/python2.7/httplib.py", line 1052, in request

   self._send_request(method, url, body, headers)

 File "/usr/lib/python2.7/httplib.py", line 1092, in _send_request

   self.endheaders(body)

 File "/usr/lib/python2.7/httplib.py", line 1048, in endheaders

   self._send_output(message_body)

 File "/usr/lib/python2.7/httplib.py", line 892, in _send_output

   self.send(msg)

 File "/usr/lib/python2.7/httplib.py", line 854, in send

   self.connect()

 File "/usr/lib/python2.7/httplib.py", line 831, in connect

   self.timeout, self.source_address)

 File "/usr/lib/python2.7/socket.py", line 557, in create_connection

   for res in getaddrinfo(host, port, 0, SOCK_STREAM):

gaierror: [Errno -3] Temporary failure in name resolution

 

Could it be that I missed something while installing the packages listed in the tutorial?

Any help would be greatly appreciated!

Loren

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I connected the Odroid to a network that had internet connectivity today and it worked.  Do I need to have access to the internet for my Odroid to run mavproxy properly?  Or did I misunderstand the DNS issue?

  • Developer

    It's failing to resolve the DNS name to get the terrain data.

    what version of MAVProxy are you using and ArduPilot?

    mavproxy --version

  • Hi Loren, it seems that initially it works well (otherwise you wouldn't get parameters, heartbeat, and mode). Are you running Ubuntu 14.04?

    • Yes I believe so

This reply was deleted.

Activity