Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
started reviving settings via remote control, to use it add <subsyste…
…m name=settings type=rc/> to your airframe file
- Loading branch information
Showing
5 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Hey Emacs, this is a -*- makefile -*- | ||
|
||
# change settings via Remote Control, e.g. tune your aircraft | ||
|
||
$(TARGET).srcs += rc_settings.c | ||
$(TARGET).CFLAGS += -DRADIO_CONTROL_SETTINGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!--<!DOCTYPE settings SYSTEM "settings.dtd">--> | ||
|
||
<!-- A conf to use to tune an A/C using only the rc --> | ||
|
||
<settings> | ||
|
||
<rc_settings> | ||
<rc_mode NAME="AUTO1"> | ||
<rc_setting VAR="ins_pitch_neutral" RANGE="0.2" RC="gain_1_up" TYPE="float"/> | ||
<rc_setting VAR="ins_roll_neutral" RANGE="-0.2" RC="gain_1_down" TYPE="float"/> | ||
</rc_mode> | ||
<rc_mode NAME="AUTO2"> | ||
<rc_setting VAR="h_ctl_course_pgain" RANGE="0.5" RC="gain_1_up" TYPE="float"/> | ||
<rc_setting VAR="flight_altitude" RANGE="-100" RC="gain_1_down" TYPE="float"/> | ||
</rc_mode> | ||
</rc_settings> | ||
|
||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters