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

Mehulg/paralellism #50

Merged
merged 3 commits into from
Mar 13, 2024
Merged

Mehulg/paralellism #50

merged 3 commits into from
Mar 13, 2024

Conversation

mehulgoel873
Copy link
Collaborator

@mehulgoel873 mehulgoel873 commented Mar 7, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

CHANGE: Introduced multi-threading to autonsystem, path planner and local controller on separate threads now.
REASON: Currently the performance of the local controller was hovering at around 50 Hz because it had to wait on the
path planner. Now, with both being intertwined, the local controller is able to run faster.
BENEFITS: The controller now runs without stops and is running at around 100Hz

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

I ran the simulation with buggy_launch for single and two buggies, and the buggy seemed to be working as normal.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

alt_text

@Jackack
Copy link
Collaborator

Jackack commented Mar 7, 2024

Also, can you add testing instructions for 2 buggy sim as well as single buggy sim.

@mehulgoel873
Copy link
Collaborator Author

Jack, what do you mean by testing instructions?

@Jackack
Copy link
Collaborator

Jackack commented Mar 8, 2024

Jack, what do you mean by testing instructions?

See "QA instructions" in PR template. Just write down what roslaunch commands to use and what results should be expected

@Jackack Jackack merged commit 18439d6 into main Mar 13, 2024
3 checks passed
@Jackack Jackack deleted the mehulg/paralellism branch March 13, 2024 14:42
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.

None yet

2 participants