Hi
I have recently installed MAVProxy and played with it a little. Upon running I get the following:
Failed to load module: No module named wp
... (and some other modules, rally,fence and terrain) but read in a post here that its because I did not install OpenCV yet.
Anyway I can still use MAVProxy and tested it with a UDP connection:
mavproxy.py --master="com27" --out=localhost:14550
which works fine, but when I want to forward it to a com port with:
mavproxy.py --master="com27" --baudrate 115200 --out="com30",115200
or similar commands the program creates an exception the moment I try to connect on the out port.
The exception:
Ready to FLY Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 808, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 761, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Python27\MAVProxy-1.3.12\MAVProxy\mavproxy.py", line 908, in main_loo
p
(rin, win, xin) = select.select(rin, [], [], 0.01)
TypeError: argument must be an int, or have a fileno() method.
Oh, another thing! com30 that I am trying to connect to is a com0com virtual serial port.
Could anybody shed some light on this?
Many thanks!
Replies
I solved my problem by creating a program that took a udp connection and converted it to a serial port.
I noticed that your error makes no mention of select(), maybe its something else in your case?