Got a problem with setting up SITL on Linux

I followed this tutorial step by step:
dev.ardupilot.com/wiki/simulatio … plane_only

but when I run sim_vehicle.sh by doing so:

$ sim_vehicle.sh --console --map --aircraft test

And there goes the information:

Biulding sitl
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.

Anyone can help me fix that ? Thanks.

Just to give you a pointer (because I don’t know what the problem is), but this error seems to be coming from git.

I was having trouble getting the joystick to work with SITL and found this post => viewtopic.php?f=71&t=8750&hilit=joystick

JNJO01 has a guide , though a bit old, on RCgroups that is worth reading.

Over the past year I’ve tried about half a dozen times to set up SITL+ JSBSim without success… Guess 7th time 's the charm. :smiley:

Now to try and get FlightGear working with SITL…