mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 06:33:33 +08:00
Made it possible to specify yaw scale for the copter
This commit is contained in:
@@ -102,8 +102,10 @@ foreach table $tables {
|
|||||||
foreach {angle dir} $angles {
|
foreach {angle dir} $angles {
|
||||||
if {$dir == "CW"} {
|
if {$dir == "CW"} {
|
||||||
set dd 1.0
|
set dd 1.0
|
||||||
} else {
|
} else if {$dir == "CCW"} {
|
||||||
set dd -1.0
|
set dd -1.0
|
||||||
|
} else {
|
||||||
|
set dd $dir
|
||||||
}
|
}
|
||||||
factors $angle $dd
|
factors $angle $dd
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user