mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Change metadata format to dotfile, make certain entries metadata (#666)
Sendable's "Name" is now ".name" Sendable's "Subsystem" is now ".subsystem" Command's "name" is now ".name" Command's "isParented" is now ".isParented"
This commit is contained in:
committed by
Peter Johnson
parent
ba3a85d0cc
commit
f0cc623241
@@ -127,7 +127,7 @@ void SmartDashboard::PutData(llvm::StringRef key, Sendable* data) {
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<nt::NetworkTable> dataTable(s_table->GetSubTable(key));
|
||||
dataTable->GetEntry("~TYPE~").SetString(data->GetSmartDashboardType());
|
||||
dataTable->GetEntry(".type").SetString(data->GetSmartDashboardType());
|
||||
data->InitTable(dataTable);
|
||||
s_tablesToData[dataTable] = data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user