示例#1
0
    //private GameObject generateRobotAnchor;
    //private GameObject robotAnchorGO;

    // Start is called before the first frame update
    void Start()
    {
        footSub             = new RBSubscriber <RBS.Messages.geometry_msgs.PoseStamped>("unity/foot", footCB);
        debugPub            = new RBPublisher <RBS.Messages.std_msgs.Float32>("unity/debug");
        generateRobotAnchor = GameObject.Find("GenerateRobotAnchor");
        robotScript         = generateRobotAnchor.GetComponent <GenerateRobotAnchor>();
    }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     pcSub = new RBSubscriber <RBS.Messages.geometry_msgs.PoseArray>("unity/particlecloud", ParticlecloudCB);
 }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     pathSub  = new RBSubscriber <RBS.Messages.nav_msgs.Path>("unity/plan", PathCB);
     debugPub = new RBPublisher <RBS.Messages.std_msgs.Float32>("unity/debug");
 }
示例#4
0
 void Start()
 {
     pcSub = new RBSubscriber <RBS.Messages.sensor_msgs.PointCloud>("unity/scan_pc", pointCloudCB);
 }
示例#5
0
 // Start is called before the first frame update
 void Start()
 {
     pathSub      = new RBSubscriber <RBS.Messages.nav_msgs.Path>("unity/plan", PathCB);
     lineRenderer = GetComponent <LineRenderer>();
 }
示例#6
0
 void Awake()
 {
     client_sub = new RBSubscriber <RBS.Messages.rosbridge_msgs.ConnectedClients>("/connected_clients", callback);
 }