Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to Set Parameters from Ground Station #57

Open
mjs513 opened this issue Jun 6, 2018 · 0 comments
Open

Not able to Set Parameters from Ground Station #57

mjs513 opened this issue Jun 6, 2018 · 0 comments

Comments

@mjs513
Copy link

mjs513 commented Jun 6, 2018

Ok. Got everything working pretty good. I can even set waypoints and send them to the UAS. While everything else seems to be working I can not seem to set tuning parameters from the ground station to the UAS.

When I hit the Set button in APMplanner it says transmitting and then timesout. There are no associated message id's that appear on the UAS side. I did see the note on the parameters page that id_all should be set for pass through but this does not seem to work.
Messages sent to MAV_COMP_ID_ALL will be forwarded to the UAS as well

I did leave a message on glitter but no takers, so I am posting here. Any help would be appreciated.

Thanks
Mike

UPDATE: was looking at the code in componets.cpp and don't think its handling MAV_COMP_ID_ALL for set parameter message. If I knew how to fix it I would give it a shot.

 //-- MAVLINK_MSG_ID_PARAM_SET
  if(message->msgid == MAVLINK_MSG_ID_PARAM_SET) {
      mavlink_param_set_t param;
      mavlink_msg_param_set_decode(message, &param);
      DEBUG_LOG("MAVLINK_MSG_ID_PARAM_SET: %u %s\n", param.target_component, param.param_id);
      if(param.target_component == MAV_COMP_ID_UDP_BRIDGE) {
          _handleParamSet(sender, &param);
          return true;
      }

If you follow to handleParameterSet I don't see where it sends to the UAV for ALL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant