mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
vmount: set more sensible default parameters for the mount system and component IDs
This commit is contained in:
committed by
Beat Küng
parent
89aeea7e8e
commit
cbe3627b8c
@@ -87,8 +87,6 @@ int InputMavlinkROI::initialize()
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int InputMavlinkROI::update_impl(unsigned int timeout_ms, ControlData **control_data, bool already_active)
|
||||
{
|
||||
// already_active is unused, we don't care what happened previously.
|
||||
@@ -175,6 +173,7 @@ void InputMavlinkROI::print_status()
|
||||
PX4_INFO("Input: Mavlink (ROI)");
|
||||
}
|
||||
|
||||
|
||||
InputMavlinkCmdMount::InputMavlinkCmdMount()
|
||||
{
|
||||
param_t handle = param_find("MAV_SYS_ID");
|
||||
|
||||
@@ -72,14 +72,14 @@ PARAM_DEFINE_INT32(MNT_MODE_OUT, 0);
|
||||
*
|
||||
* @group Mount
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MNT_MAV_SYSID, 71);
|
||||
PARAM_DEFINE_INT32(MNT_MAV_SYSID, 1);
|
||||
|
||||
/**
|
||||
* Mavlink Component ID (if MNT_MODE_OUT is MAVLINK)
|
||||
*
|
||||
* @group Mount
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MNT_MAV_COMPID, 67);
|
||||
PARAM_DEFINE_INT32(MNT_MAV_COMPID, 154);
|
||||
|
||||
/**
|
||||
* Mixer value for selecting normal mode
|
||||
|
||||
Reference in New Issue
Block a user