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

SUV Robot Candidate Missing Functionality #49

Closed
moenasrallah opened this issue Dec 16, 2018 · 6 comments
Closed

SUV Robot Candidate Missing Functionality #49

moenasrallah opened this issue Dec 16, 2018 · 6 comments

Comments

@moenasrallah
Copy link

moenasrallah commented Dec 16, 2018

SF_rigged-apollo robot candidate is missing toggle/menu functionality.
The toggle buttons do not work and enabling sensors have to be toggled manually by the scripts in the Unity inspector

When picked as a prefab from project folders:
image

I would use the default red car, but the suv is nice to have to match our company's cars :)
Any suggested way to modify it myself?

Thank you

@moenasrallah
Copy link
Author

moenasrallah commented Dec 16, 2018

To clarify... I dragged this rig as a prefab from the RobotCandidates folder.
Choosing it from the main menu where we pick the map gives the menu system better functionailty.
However, I made a cloned prefab from the suv prefab you already have in the project folders.

Which object in the Hierarchy of the san francisco scene controls instatiating UserInterfaceNew(Clone) and DashUIManager(Clone)? Maybe it'll get me closer to getting a full menu on my custom suv prefab working

When picked from main menu:

image

@martins-mozeiko
Copy link
Contributor

If I understand correctly, you added new car prefab to scene and want to run it directly from scene, not through main menu? If so, then check SingleRosConnection object - its property "Robot Setup" should be set to car object that is in scene. The menu will be setup only for this instance.

If that is not the situation you have, then please check the error log. For editor it is in "Console" window, for editor it is Player.log file (location depends on OS: https://docs.unity3d.com/Manual/LogFiles.html#Player). It should have some kind of error if UI does not show up.

@moenasrallah
Copy link
Author

That works Martins. Thank you

Only thing that doesn't instantiate is the new DashUIManager. What's missing for that?

@EricBoiseLGSVL
Copy link
Contributor

The DashUIManager is still in development and isn't set to work when starting in SF.scene. It is created in menu scene after loading the map selected (MenuScript.cs). Once the system is finished, DashUI will launch in any scene and remove the single ros connection dependency to make development easier.

@moenasrallah
Copy link
Author

@EricBoiseLGSVL thank you for that info

@moenasrallah
Copy link
Author

Update:

  1. Added custom scene to the map selector of the main menu
  2. Added custom vehicle prefab to the vehicle selector of the main menu
  3. Now after reading @EricBoiseLGSVL 's comment, the DashUIManager shows up and works successfully with the custom car :)

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

3 participants