You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bebop_driver/cfg/autogenerated/BebopArdrone3.cfg
+40-27Lines changed: 40 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
#!/usr/bin/env python
2
2
3
3
# BebopArdrone3.cfg
4
-
# auto-generated from https://raw.githubusercontent.com/Parrot-Developers/libARCommands/7b5cf7a8009278cf634ee33d5c2ed5dd8e573eb4/Xml/ARDrone3_commands.xml
4
+
# auto-generated from https://raw.githubusercontent.com/Parrot-Developers/arsdk-xml/d0c8b256a8592b25a551f3ba742c58ae3da2f93a/xml/ardrone3.xml
5
5
# Do not modify this file by hand. Check scripts/meta folder for generator files.
# Set max altitude.\n The drone will not fly over this max altitude when it is in manual piloting.\n Please note that if you set a max altitude which is below the current drone altitude, the drone will not go to given max altitude.\n You can get the bounds in the event [MaxAltitude](#1-6-0).
16
16
pilotingsettings_group_gen.add("PilotingSettingsMaxAltitudeCurrent", double_t, 0, "Current altitude max in m", 0 , 0, 160)
17
-
# Set Max Tilt
17
+
# Set max pitch/roll.\n This represent the max inclination allowed by the drone.\n You can get the bounds with the commands [MaxPitchRoll](#1-6-1).
18
18
pilotingsettings_group_gen.add("PilotingSettingsMaxTiltCurrent", double_t, 0, "Current tilt max in degree", 0 , -180.0, 180.0)
pilotingsettings_group_gen.add("PilotingSettingsAbsolutControlOn", int_t, 0, "1 to enable, 0 to disable", 0, 0, 1, edit_method=PilotingSettingsAbsolutControlOn_enum)
25
-
# Set the distance max of the drone
25
+
# Set max distance.\n You can get the bounds from the event [MaxDistance](#1-6-3).\n\n If [Geofence](#1-6-4) is activated, the drone wont fly over the given max distance.
26
26
pilotingsettings_group_gen.add("PilotingSettingsMaxDistanceValue", double_t, 0, "Current max distance in meter", 0 , 0, 160)
27
-
# Indication about how the product handle flying over the max distance limitation
27
+
# Enable geofence.\n If geofence is enabled, the drone wont fly over the given max distance.\n You can get the max distance from the event [MaxDistance](#1-6-3). \n For copters: the distance is computed from the controller position, if this position is not known, it will use the take off.\n For fixed wings: the distance is computed from the take off position.
], "1 if the drone cant fly further than max distance, 0 if no limitation on the drone should be done")
32
32
pilotingsettings_group_gen.add("PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover", int_t, 0, "1 if the drone cant fly further than max distance, 0 if no limitation on the drone should be done", 0, 0, 1, edit_method=PilotingSettingsNoFlyOverMaxDistanceShouldnotflyover_enum)
33
-
# Enable / Disable Banked Turn mode.
33
+
# Set banked turn mode.\n When banked turn mode is enabled, the drone will use yaw values from the piloting command to infer with roll and pitch on the drone when its horizontal speed is not null.
pilotingsettings_group_gen.add("PilotingSettingsBankedTurnValue", int_t, 0, "1 to enable, 0 to disable", 0, 0, 1, edit_method=PilotingSettingsBankedTurnValue_enum)
39
-
# Set Min Altitude
39
+
# Set minimum altitude.\n Only available for fixed wings.
40
40
pilotingsettings_group_gen.add("PilotingSettingsMinAltitudeCurrent", double_t, 0, "Current altitude min in m", 0 , 0, 160)
41
-
# Set Fixed wings circling default direction
41
+
# Set default circling direction. This direction will be used when the drone use an automatic circling or when [CIRCLE](#1-0-9) is sent with direction *default*.\n Only available for fixed wings.
pilotingsettings_group_gen.add("PilotingSettingsCirclingDirectionValue", int_t, 0, "The circling direction", 0, 0, 1, edit_method=PilotingSettingsCirclingDirectionValue_enum)
47
-
# Set Fixed wings circling radius
47
+
# Set circling radius.\n Only available for fixed wings.
48
48
pilotingsettings_group_gen.add("PilotingSettingsCirclingRadiusValue", int_t, 0, "The circling radius in meter", 0 , 0, 160)
49
-
# Set Fixed wings circling altitude
49
+
# Set min circling altitude (not used during take off).\n Only available for fixed wings.
50
50
pilotingsettings_group_gen.add("PilotingSettingsCirclingAltitudeValue", int_t, 0, "The circling altitude in meter", 0 , 0, 160)
51
-
# Set pitch mode
51
+
# Set pitch mode.\n Only available for fixed wings.
52
52
PilotingSettingsPitchModeValue_enum=gen.enum([
53
53
gen.const("PilotingSettingsPitchModeValue_NORMAL", int_t, 0, "Positive pitch values will make the drone lower its nose. Negative pitch values will make the drone raise its nose."),
54
54
gen.const("PilotingSettingsPitchModeValue_INVERTED", int_t, 1, "Pitch commands are inverted. Positive pitch values will make the drone raise its nose. Negative pitch values will make the drone lower its nose."),
55
55
], "The Pitch mode")
56
56
pilotingsettings_group_gen.add("PilotingSettingsPitchModeValue", int_t, 0, "The Pitch mode", 0, 0, 1, edit_method=PilotingSettingsPitchModeValue_enum)
speedsettings_group_gen.add("SpeedSettingsHullProtectionPresent", int_t, 0, "1 if present, 0 if not present", 0, 0, 1, edit_method=SpeedSettingsHullProtectionPresent_enum)
# Set user preference for the type of the home position. Note that this is only a preference
127
+
# Set the preferred home type.\n Please note that this is only a preference. The actual type chosen is given by the event [HomeType](#1-31-2).\n You can get the currently available types with the event [HomeTypeAvailability](#1-31-1).
115
128
GPSSettingsHomeTypeType_enum=gen.enum([
116
129
gen.const("GPSSettingsHomeTypeType_TAKEOFF", int_t, 0, "The drone will try to return to the take off position"),
117
130
gen.const("GPSSettingsHomeTypeType_PILOT", int_t, 1, "The drone will try to return to the pilot position"),
118
131
], "The type of the home position")
119
132
gpssettings_group_gen.add("GPSSettingsHomeTypeType", int_t, 0, "The type of the home position", 0, 0, 1, edit_method=GPSSettingsHomeTypeType_enum)
120
-
# Set the delay after which the drone will automatically try to return home
133
+
# Set the delay after which the drone will automatically try to return home after a disconnection.
121
134
gpssettings_group_gen.add("GPSSettingsReturnHomeDelayDelay", int_t, 0, "Delay in second", 0 , 0, 120)
0 commit comments