Coder Social home page Coder Social logo

Comments (10)

MartinBischoff avatar MartinBischoff commented on August 17, 2024

Hi @b2220333 !

  1. Please check your Unity Console Window for any errors.
    If one script in your Unity Project does not compile, the Editor Extensions will not appear.

  2. If there are no errors, and still a custom editor extension does not appear, please make sure that the corresponding editor extension classes are in Asset subfolders named Editor. (This should automatically be the case if you import RosSharp.unitpackage as you described above.)

Further info here: https://docs.unity3d.com/Manual/SpecialFolders.html

If this solves your problem, please close the issue.

If not please send me a screenshot of your Unity Editor, with the Console Window and the Asset folder structure Assets/RosSharp/Editor/CustomEditor open.

I hope this helps. Have fun!

from ros-sharp.

b2220333 avatar b2220333 commented on August 17, 2024

default

Am I missing something to install?
So what can I do next?
Thank you~

from ros-sharp.

b2220333 avatar b2220333 commented on August 17, 2024

Above is unityros package to import same asset.
This is ai2thor(without any error message, but only appear error sign):
default

from ros-sharp.

MartinBischoff avatar MartinBischoff commented on August 17, 2024

It seems like the ai2thor package you are using causes compilation problems. Even if the error messages are blank, i see 9 errors on your first screenshot and 1 error on your second screenshot. I can not see the menu of the Unity Editor at all.

Please start an empty Unity project without ai2thor (and without any errors), import RosSharp.unitpackage and check if the error you are having persitsts.

from ros-sharp.

b2220333 avatar b2220333 commented on August 17, 2024

Thank you for this hint. I will try it on my lab computer on Monday because now I could not operate that computer.

from ros-sharp.

b2220333 avatar b2220333 commented on August 17, 2024

I try to import on a new package, but failed again.
I try to reinstall UnitySetup-2017.4.4f1, but couldn't help.
2018-06-11 13-29-36

What can I do next?
Thank you~

from ros-sharp.

MartinBischoff avatar MartinBischoff commented on August 17, 2024

We can not reproduce this error.
On your screenshot I see empty error messages again and a suspicous Unity message before the first ROS# related errors.

It seems to me like this error is related to Unity or the aithor library you are using.

To isolate the error I suggest to:

  1. start a new empty Unity project
  2. add an own custom menu (e.g. by adding this script)
  3. sequentially add other code and libraries you want to use in your project

In each step check the console window for errors and solve them before continuing with the next step.

Here is something I found concerning the hotcontrol message in Unity.
Upgrading your Unity version to 2018.1 might also be a solution for your problems.

@ Others working with ROS# on Linux: Please support if you have an idea.

from ros-sharp.

b2220333 avatar b2220333 commented on August 17, 2024

Should I add new C# file and run?
I found that C# file is in this format:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour {

    // Use this for initialization
    void Start () {
             
    }   
    
    // Update is called once per frame
    void Update () {
             
    }   
}

Should I replace them all with the script you provide?

Thank you~

from ros-sharp.

b2220333 avatar b2220333 commented on August 17, 2024

Hello, after I try to install 2018.2.0b7 version and upgrade the RosSharp.unitypackage, it works!
default

Thank you~~

from ros-sharp.

goikonomou avatar goikonomou commented on August 17, 2024

In my case. There were 2 versions of Newtonsoft.dll . I just deleted the one that was on assets/JsonDotNet/Standalone and Rosbrigde Client appeared as desired at the top of Unity window

from ros-sharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.