本文整理汇总了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);
}
开发者ID:Team997Coders,项目名称:2017SteamBot2,代码行数:4,代码来源:CustomDashboard.java
示例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);
}
开发者ID:ArcticWarriors,项目名称:snobot-2017,代码行数:12,代码来源:SmartDashboard.java
示例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);
}
开发者ID:frc-team-342,项目名称:wpilibj,代码行数:11,代码来源:SmartDashboard.java
注:本文中的edu.wpi.first.wpilibj.NamedSendable类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论