Skip to content

Commit fb069f1

Browse files
authored
Merge pull request #283 from thowell/sample_gradient_v2
Remove timestep_power
2 parents aec6b23 + 99363e5 commit fb069f1

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

mjpc/planners/sample_gradient/planner.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ void SampleGradientPlanner::Initialize(mjModel* model, const Task& task) {
4949
// task
5050
this->task = &task;
5151

52-
// rollout parameters
53-
timestep_power = 1.0;
54-
5552
// exploration noise
5653
noise_exploration = GetNumberOrDefault(0.1, model, "sampling_exploration");
5754

mjpc/planners/sample_gradient/planner.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ class SampleGradientPlanner : public Planner {
122122
// order of indices of rolled out trajectories, ordered by total return
123123
std::vector<int> trajectory_order;
124124

125-
// rollout parameters
126-
double timestep_power;
127-
128125
// zero-mean Gaussian noise standard deviation
129126
double noise_exploration;
130127
std::vector<double> noise;

0 commit comments

Comments
 (0)