Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8c4ee292
Unverified
Commit
8c4ee292
authored
Oct 25, 2018
by
Don Gagne
Committed by
GitHub
Oct 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6948 from DonLakeFlyer/PlanCompID
Use MAV_COMP_ID_AUTOPILOT1 instead of MAV_COMP_ID_MISSIONPLANNER
parents
0a205d71
c7b1880c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
PlanManager.cc
src/MissionManager/PlanManager.cc
+8
-8
MockLinkMissionItemHandler.cc
src/comm/MockLinkMissionItemHandler.cc
+4
-4
No files found.
src/MissionManager/PlanManager.cc
View file @
8c4ee292
...
...
@@ -114,7 +114,7 @@ void PlanManager::_writeMissionCount(void)
_dedicatedLink
->
mavlinkChannel
(),
&
message
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_writeMissionItems
.
count
(),
_planType
);
...
...
@@ -157,7 +157,7 @@ void PlanManager::_requestList(void)
_dedicatedLink
->
mavlinkChannel
(),
&
message
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_planType
);
_vehicle
->
sendMessageOnLink
(
_dedicatedLink
,
message
);
...
...
@@ -296,7 +296,7 @@ void PlanManager::_readTransactionComplete(void)
_dedicatedLink
->
mavlinkChannel
(),
&
message
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
MAV_MISSION_ACCEPTED
,
_planType
);
...
...
@@ -354,7 +354,7 @@ void PlanManager::_requestNextMissionItem(void)
_dedicatedLink
->
mavlinkChannel
(),
&
message
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_itemIndicesToRead
[
0
],
_planType
);
}
else
{
...
...
@@ -363,7 +363,7 @@ void PlanManager::_requestNextMissionItem(void)
_dedicatedLink
->
mavlinkChannel
(),
&
message
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_itemIndicesToRead
[
0
],
_planType
);
}
...
...
@@ -536,7 +536,7 @@ void PlanManager::_handleMissionRequest(const mavlink_message_t& message, bool m
_dedicatedLink
->
mavlinkChannel
(),
&
messageOut
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
missionRequest
.
seq
,
item
->
frame
(),
item
->
command
(),
...
...
@@ -556,7 +556,7 @@ void PlanManager::_handleMissionRequest(const mavlink_message_t& message, bool m
_dedicatedLink
->
mavlinkChannel
(),
&
messageOut
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
missionRequest
.
seq
,
item
->
frame
(),
item
->
command
(),
...
...
@@ -897,7 +897,7 @@ void PlanManager::_removeAllWorker(void)
_dedicatedLink
->
mavlinkChannel
(),
&
message
,
_vehicle
->
id
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_planType
);
_vehicle
->
sendMessageOnLink
(
_vehicle
->
priorityLink
(),
message
);
_startAckTimeout
(
AckMissionClearAll
);
...
...
src/comm/MockLinkMissionItemHandler.cc
View file @
8c4ee292
...
...
@@ -156,7 +156,7 @@ void MockLinkMissionItemHandler::_handleMissionRequestList(const mavlink_message
mavlink_message_t
responseMsg
;
mavlink_msg_mission_count_pack_chan
(
_mockLink
->
vehicleId
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_mockLink
->
mavlinkChannel
(),
&
responseMsg
,
// Outgoing message
msg
.
sysid
,
// Target is original sender
...
...
@@ -224,7 +224,7 @@ void MockLinkMissionItemHandler::_handleMissionRequest(const mavlink_message_t&
}
mavlink_msg_mission_item_pack_chan
(
_mockLink
->
vehicleId
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_mockLink
->
mavlinkChannel
(),
&
responseMsg
,
// Outgoing message
msg
.
sysid
,
// Target is original sender
...
...
@@ -310,7 +310,7 @@ void MockLinkMissionItemHandler::_requestNextMissionItem(int sequenceNumber)
mavlink_message_t
message
;
mavlink_msg_mission_request_pack_chan
(
_mockLink
->
vehicleId
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_mockLink
->
mavlinkChannel
(),
&
message
,
_mavlinkProtocol
->
getSystemId
(),
...
...
@@ -332,7 +332,7 @@ void MockLinkMissionItemHandler::_sendAck(MAV_MISSION_RESULT ackType)
mavlink_message_t
message
;
mavlink_msg_mission_ack_pack_chan
(
_mockLink
->
vehicleId
(),
MAV_COMP_ID_
MISSIONPLANNER
,
MAV_COMP_ID_
AUTOPILOT1
,
_mockLink
->
mavlinkChannel
(),
&
message
,
_mavlinkProtocol
->
getSystemId
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment