Caleb,
Thank you for the quick reply. I updated ArduCopter with the git clone you gave me and it updated fine. I then tried to run sim_vehicle.py --console --map and got this:
casey@casey-desktop:~/courseRoot/apm/ardupilot/ArduCopter$ sim_vehicle.py --console --map
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/casey/courseRoot/apm/ardupilot/modules/waf/waf-light” “configure” “–board” “sitl”
Setting top to : /home/casey/courseRoot/apm/ardupilot
Setting out to : /home/casey/courseRoot/apm/ardupilot/build
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.17
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.17
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
‘configure’ finished successfully (2.557s)
SIM_VEHICLE: Building
SIM_VEHICLE: “/home/casey/courseRoot/apm/ardupilot/modules/waf/waf-light” “build” “–target” “bin/arducopter”
Waf: Entering directory `/home/casey/courseRoot/apm/ardupilot/build/sitl’
Traceback (most recent call last):
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Scripting.py”, line 165, in waf_entry_point
run_commands()
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Scripting.py”, line 266, in run_commands
ctx = run_command(cmd_name)
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Scripting.py”, line 250, in run_command
ctx.execute()
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Scripting.py”, line 616, in execute
return execute_method(self)
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Build.py”, line 255, in execute
self.execute_build()
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Build.py”, line 268, in execute_build
self.recurse([self.run_dir])
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Context.py”, line 287, in recurse
user_function(self)
File “/home/casey/courseRoot/apm/ardupilot/wscript”, line 376, in build
_build_recursion(bld)
File “/home/casey/courseRoot/apm/ardupilot/wscript”, line 334, in _build_recursion
bld.recurse(d)
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Context.py”, line 281, in recurse
wscript_module = load_module(node.abspath(), encoding=encoding)
File “/home/casey/courseRoot/apm/ardupilot/modules/waf/waflib/Context.py”, line 659, in load_module
exec(compile(code, path, ‘exec’), module.dict)
File “/home/casey/courseRoot/apm/ardupilot/ardupilot/wscript”, line 32, in
Build.BuildContext.execute = ardupilotwaf.ap_autoconfigure(Build.BuildContext.execute)
AttributeError: ‘module’ object has no attribute ‘ap_autoconfigure’
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks
LOoks like I need to update something else. Any ideas?
-Casey