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

Implement variable frame rate #1005

Merged

Conversation

heuerfin
Copy link
Contributor

@heuerfin heuerfin commented Jul 26, 2023

Replaced class variable frame_rate with an argument provided on the CLI.

Checklist:

  • Your branch is up-to-date with the master branch and tested with latest changes
  • Extended the README / documentation, if necessary
  • Code compiles correctly and runs
  • Code is formatted and checked with Utilities/code_check_and_formatting.sh
  • Changelog is updated

Description

The frame rate for the sync mode can now be set by an command line argument. Default value is the previously defined 20 Hz.

Fixes #1004

Where has this been tested?

  • Platform(s): Linux
  • Python version(s): Python3.7 / carla-0.9.14-cp37-cp37m-manylinux_2_27_x86_64
  • Unreal Engine version(s): 4.26.2-0+++UE4+Release-4.26 522 0
  • CARLA version: 0.9.14

Possible Drawbacks

Probably none.


This change is Reviewable

heuerfin and others added 2 commits July 26, 2023 09:28
Replaced class variable frame_rate with an argument provided on the CLI.
Copy link
Contributor

@glopezdiest glopezdiest left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @heuerfin)

Copy link
Contributor

@glopezdiest glopezdiest left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @heuerfin)

@glopezdiest glopezdiest merged commit a762135 into carla-simulator:master Apr 26, 2024
1 of 4 checks passed
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.

Allow to set frame_rate as a variable argument
2 participants