-
Notifications
You must be signed in to change notification settings - Fork 629
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
Add high level way of getting systemserver nt instance #7683
Conversation
extern "C" { | ||
|
||
NT_Inst HAL_GetSystemServerHandle(void) { | ||
return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually an interesting future conversation... but yes, makes sense for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we do need to have that conversation at some point. But for now we just need something working slightly better.
The main reason I'm adding this is I'm probably going to put the IMU code at the high level, purely because I don't want to make the HAL depend on wpimath, and the IMU gives values in a Quaternion.
That way its accessible from user programs without creating another instance.