lgsvl / simulator

A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Other
2.27k stars 778 forks source link

LG SVL 2019.11 Version #1782

Open kadirkidir opened 2 years ago

kadirkidir commented 2 years ago

i worked on version 2019.11 before. I do not currently have an account that I can use for that version. I can't use my old works with the account I just created.

Can you help me please?

EricBoiseLGSVL commented 2 years ago

Welcome back to svl simulator. Unfortunately 2019.11 is very old and needs some work to get back up and running. It is great you have made a new account though and I will help you migrate your assets.

Firstly, I recommend cloning a new project of the latest simulator so you don't have conflicts. This will make migration easier also.

In the 2019.11 project

In the 2021.2 project

kadirkidir commented 2 years ago

thanks for answering. But, i use Vehicle Physics pro and i have changed and added some scripts. assets are not a top priority for me. Scripts files are important to me. How can I use VPP for new version?

lemketron commented 2 years ago

You say you're using VPP with 2019.11 Simulator? So you know how to update your vehicle to make it work with VPP?

If you'd like to explore trying this with the 2021.2.2 Simulator, you can look at the changes required to support VPP here: https://github.com/lemketron/simulator/tree/WIP-AddVPP/Assets/Scripts/Dynamics/VehiclePhysicsPro

Note that this is not an official implementation but is based on the free community version of VPP. I don't have an updated vehicle that I can share (yet). The next step would be to update one of the public vehicles to show the necessary changes for VPP. However, the code in the VehiclePhysicsPro folder at the above URL does work with 2021.2.2 if that helps you update.

kadirkidir commented 2 years ago

thanks for answering :)

we should use some scripts for LGSVL but need scripts too for VPP. And these different each other. Which scripts should using for your projects? for example, VehicleSMI, VehicleController, Vehicle VPP?

lemketron commented 2 years ago

thanks for answering :)

we should use some scripts for LGSVL but need scripts too for VPP. And these different each other. Which scripts should using for your projects? for example, VehicleSMI, VehicleController, Vehicle VPP?

The scripts in my repo are part of a complete fork of the 2021.2.2 SVL Simulator source project. If you're still using a 2019 or even 2020 version of SVL Simulator, you should consider updating to 2021.2.2 or newer since there have been many changes and updates since then.

kadirkidir commented 2 years ago

Thank you for your answer and patience.

I uptaded to 2021.2.2 version and cloned your repository then opened with unity 2020.3.3f1. My question is different your answer.

We must add these script for Jaguar Vehicle with LGSVL.

And Vehicle Physich Pro Test Vehicle use this scripts,

- Rigidbody
- Vehicle Controller
- Standart Input
- Telemetry Window
- Camera Target
- Visual Effect
- Reset Vehicle

Which of these scripts should we add for a car in your repo?