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

Ptt/init reporting #434

Merged
merged 8 commits into from
Sep 4, 2024
Merged

Ptt/init reporting #434

merged 8 commits into from
Sep 4, 2024

Conversation

avtoku
Copy link
Contributor

@avtoku avtoku commented Aug 27, 2024

Changes have been made to allow the board to send initialization status messages to the companion computer.
This requires also updating the board supports package in the varmint_h7 directory.


void send_parameter_list();
// void send_parameter_list();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to remove old code than comment it out

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -129,7 +129,10 @@ void CommManager::param_request_list_callback(uint8_t target_system)
if (target_system == sysid_) { send_params_index_ = 0; }
}

void CommManager::send_parameter_list() { send_params_index_ = 0; }
//void CommManager::send_parameter_list()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -526,6 +534,23 @@ void CommManager::send_named_value_float(const char * const name, float value)

void CommManager::send_next_param(void)
{
//PTT Hack
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we figure out a more permanent solution for this before merging these changes into main?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed hack, note initialization status will not be reported, that will require more code and maybe a request from rosflight io

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we should think of a more permanent solution

@bsutherland333 bsutherland333 merged commit a8cccf7 into main Sep 4, 2024
2 checks passed
@bsutherland333 bsutherland333 deleted the ptt/init_reporting branch September 4, 2024 19:46
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

Successfully merging this pull request may close these issues.

3 participants