本文整理汇总了Java中edu.wpi.first.wpilibj.NamedSendable类的典型用法代码示例。如果您正苦于以下问题:Java NamedSendable类的具体用法?Java NamedSendable怎么用?Java NamedSendable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NamedSendable类属于edu.wpi.first.wpilibj包,在下文中一共展示了NamedSendable类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: putData
import edu.wpi.first.wpilibj.NamedSendable; //导入依赖的package包/类
public static void putData(NamedSendable value) {
SmartDashboard.putData(value);
}
示例2: putData
import edu.wpi.first.wpilibj.NamedSendable; //导入依赖的package包/类
/**
* Maps the specified key (where the key is the name of the {@link NamedSendable}
* SmartDashboardNamedData to the specified value in this table. The value can be retrieved by
* calling the get method with a key that is equal to the original key.
*
* @param value the value
* @throws IllegalArgumentException If key is null
*/
public static void putData(NamedSendable value) {
putData(value.getName(), value);
}
示例3: putData
import edu.wpi.first.wpilibj.NamedSendable; //导入依赖的package包/类
/**
* Maps the specified key (where the key is the name of the {@link SmartDashboardNamedData}
* to the specified value in this table.
* The value can be retrieved by calling the get method with a key that is equal to the original key.
* @param value the value
* @throws IllegalArgumentException if key is null
*/
public static void putData(NamedSendable value) {
putData(value.getName(), value);
}