I’m trying to install SITL on Windows 7. The process is getting according to the instructions in:
I have successfully installed already, Misiion Planner 1.3.45, Cynwin 32-bit and MAVProxy for Windows
To save having to set up paths every time I start SITL, I tryed to set up the path to the Tools/autotest directory.
- Open and then close the Cygwin Terminal from the desktop.
Tip: This will create initialisation files for the user in the Cygwin home directory (and display their locations). For example, a user’s home directory might be located at C:\cygwin\home\user_name.
- Navigate the file system to the home directory and open the .bashrc files (e.g. C:\cygwin\home\user_name.bashrc.
- Add the following line to the end of .bashrc
- export PATH=$PATH:$HOME/ardupilot/Tools/autotest
When I enter the path:
$ C:\Program Files (x86)\home\USER.bashrc
I get the message:
-bash: syntax error unexpected symbol«(»
Please any advice how to proceed?
If I procced until the final step:
Download and make ArduPilot
then I get the following results:
$ git clone git://github.com/Ardupilot/ardupilot.git
fatal: destination path ‘ardupilot’ already exists and is not an empty directory.
$ cd ardupilot
$ git submodule update --init --recursive
(nothing is showing)
When I am trying to simulate a python script described mission, in mission Planner Simulator, the quad Copter is shown in the simulator, but it not follows the Waypoints of the mission (the waypoints however are shown on the simulator).
Also in some scripts where the dronekit module is included, I get the message:
Error running script. No module named dronekit
What is going wrong?