Skip to content

Commit f7f3cc8

Browse files
authored
Merge pull request #784 from mavlink/pr-3.10.0
Update to 3.10.0
2 parents 7797dc6 + c36c638 commit f7f3cc8

File tree

6 files changed

+28
-24
lines changed

6 files changed

+28
-24
lines changed

MAVSDK_SERVER_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.9.0
1+
v3.10.0

mavsdk/mavlink_direct.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class MavlinkMessage:
2121
component_id : uint32_t
2222
Component ID of the sender (for received messages)
2323
24-
target_system : uint32_t
24+
target_system_id : uint32_t
2525
Target system ID (for sending, 0 for broadcast)
2626
27-
target_component : uint32_t
27+
target_component_id : uint32_t
2828
Target component ID (for sending, 0 for broadcast)
2929
3030
fields_json : std::string
@@ -39,15 +39,15 @@ def __init__(
3939
message_name,
4040
system_id,
4141
component_id,
42-
target_system,
43-
target_component,
42+
target_system_id,
43+
target_component_id,
4444
fields_json):
4545
""" Initializes the MavlinkMessage object """
4646
self.message_name = message_name
4747
self.system_id = system_id
4848
self.component_id = component_id
49-
self.target_system = target_system
50-
self.target_component = target_component
49+
self.target_system_id = target_system_id
50+
self.target_component_id = target_component_id
5151
self.fields_json = fields_json
5252

5353
def __eq__(self, to_compare):
@@ -59,8 +59,8 @@ def __eq__(self, to_compare):
5959
(self.message_name == to_compare.message_name) and \
6060
(self.system_id == to_compare.system_id) and \
6161
(self.component_id == to_compare.component_id) and \
62-
(self.target_system == to_compare.target_system) and \
63-
(self.target_component == to_compare.target_component) and \
62+
(self.target_system_id == to_compare.target_system_id) and \
63+
(self.target_component_id == to_compare.target_component_id) and \
6464
(self.fields_json == to_compare.fields_json)
6565

6666
except AttributeError:
@@ -72,8 +72,8 @@ def __str__(self):
7272
"message_name: " + str(self.message_name),
7373
"system_id: " + str(self.system_id),
7474
"component_id: " + str(self.component_id),
75-
"target_system: " + str(self.target_system),
76-
"target_component: " + str(self.target_component),
75+
"target_system_id: " + str(self.target_system_id),
76+
"target_component_id: " + str(self.target_component_id),
7777
"fields_json: " + str(self.fields_json)
7878
])
7979

@@ -93,10 +93,10 @@ def translate_from_rpc(rpcMavlinkMessage):
9393
rpcMavlinkMessage.component_id,
9494

9595

96-
rpcMavlinkMessage.target_system,
96+
rpcMavlinkMessage.target_system_id,
9797

9898

99-
rpcMavlinkMessage.target_component,
99+
rpcMavlinkMessage.target_component_id,
100100

101101

102102
rpcMavlinkMessage.fields_json
@@ -126,13 +126,13 @@ def translate_to_rpc(self, rpcMavlinkMessage):
126126

127127

128128

129-
rpcMavlinkMessage.target_system = self.target_system
129+
rpcMavlinkMessage.target_system_id = self.target_system_id
130130

131131

132132

133133

134134

135-
rpcMavlinkMessage.target_component = self.target_component
135+
rpcMavlinkMessage.target_component_id = self.target_component_id
136136

137137

138138

mavsdk/mavlink_direct_pb2.py

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mavsdk/telemetry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4120,6 +4120,7 @@ class Telemetry(AsyncBase):
41204120
"""
41214121
Allow users to get vehicle telemetry and state information
41224122
(e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.
4123+
Certain Telemetry Topics such as, Position or Velocity_Ned require GPS Fix before data gets published.
41234124
41244125
Generated by dcsdkgen - MAVSDK Telemetry API
41254126
"""

mavsdk/telemetry_pb2_grpc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class TelemetryServiceStub(object):
2929
"""
3030
Allow users to get vehicle telemetry and state information
3131
(e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.
32+
Certain Telemetry Topics such as, Position or Velocity_Ned require GPS Fix before data gets published.
3233
"""
3334

3435
def __init__(self, channel):
@@ -333,6 +334,7 @@ class TelemetryServiceServicer(object):
333334
"""
334335
Allow users to get vehicle telemetry and state information
335336
(e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.
337+
Certain Telemetry Topics such as, Position or Velocity_Ned require GPS Fix before data gets published.
336338
"""
337339

338340
def SubscribePosition(self, request, context):
@@ -1047,6 +1049,7 @@ class TelemetryService(object):
10471049
"""
10481050
Allow users to get vehicle telemetry and state information
10491051
(e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.
1052+
Certain Telemetry Topics such as, Position or Velocity_Ned require GPS Fix before data gets published.
10501053
"""
10511054

10521055
@staticmethod

proto

Submodule proto updated from 7bc0440 to 411ab32

0 commit comments

Comments
 (0)