Revision 6cbe186f630134de150571f9d4f82f6c3387a731 authored by Felix Ruess on 03 June 2013, 13:25:29 UTC, committed by Felix Ruess on 03 June 2013, 13:25:29 UTC
Added possibility to switch sticks

The reason for this commit is that the sticks in rate control are 'quadcopter sticks'.
This is because the default (IMU_TO_BODY) configuration is hover.
The only way to get the sticks naturally right is to have the BODY_TO_IMU
orientation as airplane.
The easier way is to just switch roll and yaw when in rate control,
if the user defined this in his airframe of course.
2 parent s e1df2e5 + 3710206
Raw File
paparazzi_version
#!/bin/sh

DEF_VER=v4.9_devel

# First try git describe (if running on a git repo),
# then use default version from above (for release tarballs).
if test -d .git -o -f .git
then
	VN=$(git describe --match "v[0-9].[0-9]*" --dirty --always --long)
else
	VN="$DEF_VER"
fi

echo $VN
back to top