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 #8560

Closed

Conversation

BBArikL
Copy link

@BBArikL BBArikL commented Jan 10, 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"

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

MattRoweEAIF and others added 30 commits July 11, 2024 14:40
* Fix OSM2ODR build

* Updated fix wheelchair default value
* fixed IMU units

* updated autitwheel version
To enable auto-completion and hints in code editors such as VScode, create a `*.pyi` file. This feature is compatible with `python 3.9` and later versions.
Can be None or an Actor
needs merge with dev version
FutureActor
laod_world_if_different
Was changed to a function in 0.9.15. More info see: carla-simulator#7439
Daraan and others added 19 commits August 28, 2024 12:58
- wrong signatures
- wrong names
parameter is called in_point not in_vector
more setters
missing, wrong types corrected
spelling
The slowdown is considerably more noticeable here since the engine runs much smoother. This makes evident that this is a stopgap measure, and should be looked into further down the line.
…adplugins" (carla-simulator#8167)

The downloadplugins target is already defined below (line 162).
Add missing conversion class from vector of WheelTelemetryData to Python list
@BBArikL BBArikL requested a review from a team as a code owner January 10, 2025 21:33
Copy link

update-docs bot commented Jan 10, 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.

@Blyron
Copy link
Contributor

Blyron commented Jan 11, 2025

The base branch must be ue4-dev for UE4 version and ue5-dev for ue5-dev version. This is warned during opening the PR

@BBArikL
Copy link
Author

BBArikL commented Jan 11, 2025

I see. I could do another PR monday that forks the ue4 branch. But this small changes is not tied to the UE version. This is simply a change in the PythonAPI interface. Should I do one PR per UE version or this change is going to be ported to the UE5 branch too later?

@Blyron
Copy link
Contributor

Blyron commented Jan 13, 2025

Do a PR per UE version please.

@BBArikL
Copy link
Author

BBArikL commented Jan 20, 2025

I made PRs #8592 and #8567 .

@BBArikL BBArikL closed this Jan 20, 2025
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.

10 participants