Browse Source

Working cluster with direct daemon

Mark Mine 24 years ago
parent
commit
31b61ea004
2 changed files with 4 additions and 3 deletions
  1. 1 2
      direct/src/cluster/ClusterServer.py
  2. 3 1
      direct/src/directdServer/directdCommand

+ 1 - 2
direct/src/cluster/ClusterServer.py

@@ -21,8 +21,7 @@ class ClusterServer(DirectObject.DirectObject):
     MSG_NUM = 2000000
     MSG_NUM = 2000000
 
 
     def __init__(self,cameraJig,camera):
     def __init__(self,cameraJig,camera):
-        import pdb
-        pdb.set_trace()
+        global clusterServerPort, clusterSyncFlag, clusterDaemonClient, clusterDaemonPort
         print clusterServerPort, clusterSyncFlag, clusterDaemonClient, clusterDaemonPort
         print clusterServerPort, clusterSyncFlag, clusterDaemonClient, clusterDaemonPort
         # Store information about the cluster's camera
         # Store information about the cluster's camera
         self.cameraJig = cameraJig
         self.cameraJig = cameraJig

+ 3 - 1
direct/src/directdServer/directdCommand

@@ -1 +1,3 @@
-bash calc
+tcsh -c ppython -c "from ShowBaseGlobal import *; d=DirectD(); d.serverReady('DRMINE-D02', 8002); run()"
+
+