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

Changing sensor kit from the binary #113

Open
mozhoku opened this issue Jul 10, 2024 · 1 comment
Open

Changing sensor kit from the binary #113

mozhoku opened this issue Jul 10, 2024 · 1 comment

Comments

@mozhoku
Copy link
Collaborator

mozhoku commented Jul 10, 2024

Currently the sensor kit is coupled with the vehicle that it is used with. If you were to add a new sensor to the kit you would have to open up the Unity editor and update the vehicle prefab...

We can import the sensor configuration directly to our simulation. When we want to change something in the sensor kit, we just update the sensor kit file that is used by the simulator.

@mozhoku mozhoku added the type:new-feature New functionalities or additions, feature requests. label Jul 10, 2024
@mozhoku mozhoku changed the title changing sensor kit from the binary Changing sensor kit from the binary Jul 10, 2024
@mozhoku mozhoku self-assigned this Aug 19, 2024
@xmfcx xmfcx moved this to Todo in Autoware Labs Sep 3, 2024
@mozhoku mozhoku moved this from Todo to In Progress in Autoware Labs Sep 4, 2024
@mozhoku
Copy link
Collaborator Author

mozhoku commented Sep 30, 2024

Here is my planned diagram for this PR. I will be updating this as I progress.

---
config:
title: Simulator Launch Process
---
flowchart LR
 subgraph LoadVehicleBundle
    direction LR
        vhclA[/"Add new bundle"/]
        vhclB{"Select Vehicle Bundle"}
        vhclA --> vhclB
  end
 subgraph LoadURDF["LoadURDF"]
    direction LR
        urdfA[/"Add new URDF"/]
        urdfB{"Select URDF File"}
        urdfA --> urdfB
  end
 subgraph EgoSetup["EgoSetup"]
        LoadVehicleBundle
        LoadURDF
        egoA["Prepare Ego Prefab"]
        vhclB --> egoA
        urdfB --> egoA
  end
 subgraph LoadEnvironmentBundle
     direction LR
        EnvA[/"Add new bundle"/]
        EnvB{"Select Environment Bundle"}
        EnvA --> EnvB
  end
  subgraph AddNewSpawnPoint
    direction LR
        newSpwnA{Coordinate System?}
        newSpwnB(MGRS)
        newSpwnC(UnityXYZ)
        newSpwnD(Lat-Long)
        newSpwnE[/Enter Coords/]
        newSpwnF[Add to the User Spawn Points]
        newSpwnA --> newSpwnB & newSpwnC & newSpwnD --> newSpwnE --> newSpwnF
  end
  subgraph EnvironmentSetup
    direction LR
        LoadEnvironmentBundle
        AddNewSpawnPoint
        LoadEnvA{Spawn Position?}
        LoadEnvB(Built-in Spawn Points)
        LoadEnvC(User Set Spawn Points)
        LoadEnvD["Prepare Environment Prefab"]
        EnvB --> LoadEnvA --> LoadEnvB & LoadEnvC & newSpwnA
        newSpwnF --> LoadEnvC
        LoadEnvB & LoadEnvC --> LoadEnvD
  end
  subgraph Graphics
    direction LR
        grphcsA[/"Graphic Settings"/]
        grphcsB(Load from last session)
        grphcsB --> grphcsA
  end
  subgraph SimParameters
        simParamsA[/"Sim Parameters"/]
  end
  subgraph Configuration
    direction LR
        EgoSetup
        EnvironmentSetup
        SimParameters
        confA(Create Simulation Configuration)
        confB[/ Name the configuration/]
        LoadEnvD & egoA & simParamsA --> confA
        confA --> confB
  end
  subgraph SimulationConfiguration
    direction LR
        Configuration
        SimConfA["Save Config"]
        SimConfB["Load Config"]
        SimConfA --> SimConfB
        confB --> SimConfA
  end
    SimLaunchA["Simulator Launch"]
    SimLaunchB("Simulator Setup Scene")
    
    StartSim["Start Simulation"]
    
    SimLaunchA --> SimLaunchB
    SimLaunchB --> LoadVehicleBundle & LoadURDF & LoadEnvironmentBundle & SimConfB 
    SimLaunchB --> simParamsA
    SimLaunchB --> grphcsA
    
    SimConfB --> StartSim
    grphcsA --> StartSim
Loading

@mozhoku mozhoku linked a pull request Oct 1, 2024 that will close this issue
4 tasks
@mozhoku mozhoku removed this from Autoware Labs Oct 2, 2024
@mozhoku mozhoku removed a link to a pull request Oct 2, 2024
4 tasks
@mozhoku mozhoku removed their assignment Oct 2, 2024
@mozhoku mozhoku removed the type:new-feature New functionalities or additions, feature requests. label Oct 2, 2024
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

No branches or pull requests

1 participant