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

Add missing conversion class from vector of WheelTelemetryData to Python list (UE4) #8567

Open
wants to merge 1 commit into
base: ue4-dev
Choose a base branch
from

Conversation

BBArikL
Copy link

@BBArikL BBArikL commented Jan 13, 2025

Description

Add missing conversion class from vector of WheelTelemetryData to Python list

This adds a missing conversion from vector of WheelTelemetryData to a Python list. When trying to access the "wheels" attribute of the VehicleTelemetryData without this, this exception will occur:

TypError: No to_python (by-value) converter found for C++ type: std::vector<carla::rpc::WheelTelemetryData, std::allocatorcarla::rpc::WheelTelemetryData>

This addition fixes this issue to make the usage in line with similar classes such as "VehiclePhysicsControl" and "WheelPhysicsControl".

This is a fixed PR from #8560 for the UE4 branch.

Checklist:

  • Your branch is up-to-date with the dev branch and tested with latest changes
  • Extended the README / documentation, if necessary
  • Code compiles correctly
  • All tests passing with make check (only Linux)
  • If relevant, update CHANGELOG.md with your changes

Where has this been tested?

  • Platform(s): Linux
  • Python version(s): 3.10.12
  • Unreal Engine version(s): 4.26.2.0

This change is Reviewable

@BBArikL BBArikL requested a review from a team as a code owner January 13, 2025 19:55
Copy link

update-docs bot commented Jan 13, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update our CHANGELOG.md based on your changes.

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.

1 participant