Hey, I did all the instructions according to this page http://ardupilot.org/dev/docs/sitl-native-on-windows.html
and I don’t know why but the Cygwin Terminal output this error (I installed the python future and lxml packages.
I have been stuck on this for 2 days so far. tnx!
$ sim_vehicle.py -j4 --map --console
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at -35.363261,149.165230,584,353 (CMAC)
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: “/home/גיל/ardupilot/modules/waf/waf-light” “configure” “–board” "sitl"
Setting top to : Traceback (most recent call last):
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 173, in emit
self.emit_override(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 188, in emit_override
msg = self.formatter.format(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 241, in format
return msg % rec.args
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd7 in position 6: ordinal not in range(128)
Logged from file Logs.py, line 292
Setting out to : Traceback (most recent call last):
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 173, in emit
self.emit_override(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 188, in emit_override
msg = self.formatter.format(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 241, in format
return msg % rec.args
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd7 in position 6: ordinal not in range(128)
Logged from file Logs.py, line 292
Autoconfiguration : enabled
Setting board to : sitl
Checking for ‘g++’ (C++ compiler) : /usr/bin/g++
Checking for ‘gcc’ (C compiler) : /usr/bin/gcc
Checking for need to link with librt : not necessary
Checking for HAVE_CMATH_ISFINITE : yes
Checking for HAVE_CMATH_ISINF : yes
Checking for HAVE_CMATH_ISNAN : yes
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : yes
Checking for header endian.h : yes
Checking for header byteswap.h : yes
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.13
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.13
Source is git repository : yes
Update submodules : yes
Checking for program ‘git’ : /usr/bin/git
Checking for program ‘size’ : /usr/bin/size
Benchmarks : disabled
Unit tests : enabled
Checking for program ‘rsync’ : /usr/bin/rsync
’configure’ finished successfully (3.671s)
SIM_VEHICLE: Building
SIM_VEHICLE: “/home/גיל/ardupilot/modules/waf/waf-light” “build” “–target” “bin/arducopter” “-j” "4"
Traceback (most recent call last):
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 173, in emit
self.emit_override(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 188, in emit_override
msg = self.formatter.format(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 241, in format
return msg % rec.args
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd7 in position 6: ordinal not in range(128)
Logged from file Logs.py, line 292
[4/4] Processing modules/mavlink/message_definitions/v1.0/ardupilotmega.xml
Validating /home/גיל/ardupilot/modules/mavlink/message_definitions/v1.0/ardupilotmega.xml
Parsing /home/גיל/ardupilot/modules/mavlink/message_definitions/v1.0/ardupilotmega.xml
Note: message DATA64 is longer than 64 bytes long (74 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DATA96 is longer than 64 bytes long (106 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message REMOTE_LOG_DATA_BLOCK is longer than 64 bytes long (214 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DEVICE_OP_READ_REPLY is longer than 64 bytes long (143 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DEVICE_OP_WRITE is longer than 64 bytes long (187 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Traceback (most recent call last):
File “/home/גיל/ardupilot/modules/mavlink/pymavlink/tools/mavgen.py”, line 30, in
mavgen.mavgen(args, args.definitions)
File “/home/גיל/ardupilot/modules/mavlink/pymavlink/generator/mavgen.py”, line 91, in mavgen
fname = os.path.join(os.path.dirname(x.filename), i)
File “/usr/lib/python2.7/posixpath.py”, line 73, in join
path += ‘/’ + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd7 in position 6: ordinal not in range(128)
mavgen returned 1 error code
Traceback (most recent call last):
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 173, in emit
self.emit_override(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 188, in emit_override
msg = self.formatter.format(record)
File “/home/גיל/ardupilot/modules/waf/waflib/Logs.py”, line 241, in format
return msg % rec.args
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd7 in position 6: ordinal not in range(128)
Logged from file Logs.py, line 292
Build failed
-> task in ‘mavlink’ failed (exit status 1):
{task 7696566521680: mavgen ardupilotmega.xml -> }
’'
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks