Sorry, don't get ittltrude wrote:I think your problem is that you are not resetting the guns "pitch" and "roll", so it uses the old values. The old values can be read by printing the gun's "angles" when it is not in use. If you print the platform's "angles", The pitch and roll (first and last numbers) should be 0 all the time. The center number of "angles" is the yaw (left, right).
I do print the $mg.angle and additionally $mg.angles, like I did above, no value of angles is equal to angle. Have u tried the example map?
@Fungus, the yawcenter is in fact the only thing I CAN update properly, dunno why...
@Lizardkid, as angle[1] depend not just on the rotation but also on where I dropped the mg (which would give an offset) and as angles[0] depends on whether I hold the mg or where I aim to...
omg my brains start smokin... would u give it a try?


