相关代码 |
|
package cie.mobile; import name.lxm.robot.arch.*; public class WonderModule extends AbstractModule { private String[] port_names = {"heading"}; private SimpleOutPort heading_port = null; public Port getPort(String p) { if(port_names[0].equals(p)) return heading_port; return null; } public void init(ModuleDoc md) throws Exception { super.init(md); } public void run() { } public void valueUpdated() { } }
相关资源 |
|