Go to the documentation of this file.
28 : continuous_(cv), discrete_(dv) {}
33 : continuous_(cv), discrete_(dv), nonlinear_(
v) {}
38 std::cout <<
s <<
": \n";
164 std::stringstream
ss;
void print(const std::string &str="VectorValues", const KeyFormatter &formatter=DefaultKeyFormatter) const
bool exists(Key j)
Check whether a variable with key j exists.
void print(const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
print required by Testable.
HybridValues retract(const VectorValues &delta) const
iterator insert(const std::pair< Key, Vector > &key_value)
std::string html(const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
Output as a html table.
HybridValues & update(const VectorValues &values)
bool equals(const HybridValues &other, double tol=1e-9) const
equals required by Testable for unit testing
bool existsVector(Key j)
Check whether a variable with key j exists in VectorValues.
bool existsNonlinear(Key j)
Check whether a variable with key j exists in values.
std::string html(const KeyFormatter &keyFormatter=DefaultKeyFormatter, const Names &names={}) const
Output as a html table.
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
const VectorValues & continuous() const
Return the multi-dimensional vector values.
static std::stringstream ss
Values retract(const VectorValues &delta) const
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
VectorValues & update(const VectorValues &values)
DiscreteValues & update(const DiscreteValues &values)
const Values & nonlinear() const
Return the nonlinear values.
bool existsDiscrete(Key j)
Check whether a variable with key j exists in DiscreteValues.
void insert(Key j, const Vector &value)
HybridValues()=default
Default constructor creates an empty HybridValues.
const gtsam::Symbol key('X', 0)
bool equals(const DiscreteValues &x, double tol=1e-9) const
equals required by Testable for unit testing.
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
bool equals(const VectorValues &x, double tol=1e-9) const
size_t & atDiscrete(Key j)
std::vector< double > measurements
void insert_or_assign(Key j, const Vector &value)
const DiscreteValues & discrete() const
Return the discrete values.
std::pair< iterator, bool > insert(const value_type &value)
void insert(Key j, const Value &val)
Array< int, Dynamic, 1 > v
VectorValues continuousSubset(const KeyVector &keys) const
Extract continuous values with given keys.
void insert_or_assign(Key j, const Vector &value)
insert_or_assign() , similar to Values.h
void print(const std::string &s="HybridValues", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
print required by Testable for unit testing
std::uint64_t Key
Integer nonlinear key type.
std::string html(const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
Output as a html table.
A non-templated config holding any types of Manifold-group elements.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:32:43