Skip to content
Snippets Groups Projects
Commit cbe3627b authored by Nicolas de Palezieux's avatar Nicolas de Palezieux Committed by Beat Küng
Browse files

vmount: set more sensible default parameters for the mount system and component IDs

parent 89aeea7e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment