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

frontend: add Navigator64 to list of linux boards in Autopilot.vue #2951

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/frontend/src/views/Autopilot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default Vue.extend({
if (!boardname) {
return false
}
return ['Navigator', 'SITL'].includes(boardname)
return ['Navigator', 'Navigator64', 'SITL'].includes(boardname)
},
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this something that we should detect automatically ?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes we should get this from the backend in a better way

Copy link
Member Author

Choose a reason for hiding this comment

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

This feels like scop-creeping though. since we don't have that information easily available anywhere and a new endpoint would be required in a backed.

Unless it is and I'm missing something?

current_board(): FlightController | null {
return autopilot.current_board
Expand Down