I'm new in drone development and I'm trying to get a software in the loop (SITL) simulator on Mac OSX. I followed the documentation in MAV Tools: SITL
After running make sitl I got (many warnings and) the following error:
/Users/peremolinsayuso/ardupilot/ArduCopter/control_autotune.pde:647:41: error: cannot increment expression of enum
The problem was iterating over an enum. I was able to fix this by casting back and forth from int but now I get another error when I run sim_vehicle.sh
readlink: illegal option -- e
usage: readlink [-n] [file ...]
usage: dirname path
+ '[' 0 == 0 ']'
+ pushd /../../ArduCopter
/Users/peremolinsayuso/ardupilot/Tools/autotest/sim_vehicle.sh: line 208: pushd: /../../ArduCopter: No such file or directory
+ echo 'Failed to change to vehicle directory for ArduCopter'
Failed to change to vehicle directory for ArduCopter
Is anyone using SITL on Mac that was able to get this working?