Skip to content

Commit

Permalink
SetSeed decoumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch committed Jan 9, 2019
1 parent e764c64 commit e0dd553
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exotica_core/include/exotica_core/kinematic_tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ class KinematicTree : public Uncopyable

std::map<std::string, shapes::ShapeType> GetCollisionObjectTypes();

/**
* @brief SetSeed set the seed of the random generator for deterministic joint state sampling
* @param seed unsigned integer
*/
void SetSeed(const uint_fast32_t seed) { generator_.seed(seed); }
/// Random state generation
Eigen::VectorXd GetRandomControlledState();
Expand Down

0 comments on commit e0dd553

Please sign in to comment.