Skip to content

Conversation

adrian-kong
Copy link
Contributor

as per memory / cpu usage request, disables map by default

@adrian-kong adrian-kong requested a review from silverjam March 26, 2023 22:09
SolutionMap.send_pos(m.solutionPositionStatus)

if MAP_ENABLED:
SolutionMap.send_pos(m.solutionPositionStatus)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i dont really like this hacky business but:

the cpu / mem issue lies in sending position in the background

  • this was done because sending an array of points via signals was more complex (i.e. sending array of pts then sending one by one updates, caching a bunch of pts etc...)
  • but an issue is webengineview linked to the webchannel, (if theres a way to somehow decouple these classes? - sending points in the background should be fine as long as its not sending to webchannel)

@adrian-kong
Copy link
Contributor Author

these changes seems to put qtwebengineprocess to 0%

@adrian-kong adrian-kong requested a review from a team March 27, 2023 03:07
@swiftnav-travis
Copy link

Frontend and Release Workflow Started here

@adrian-kong adrian-kong merged commit 14410d5 into main Mar 27, 2023
@adrian-kong adrian-kong deleted the adrian/enable-map branch March 27, 2023 21:51
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