mirror of https://github.com/fan-ziqi/rl_sar.git
fix: fix array bug
This commit is contained in:
parent
1b12b00fd1
commit
2c11e23ca4
|
@ -67,8 +67,8 @@ private:
|
|||
std::vector<double> joint_positions;
|
||||
std::vector<double> joint_velocities;
|
||||
|
||||
int dof_mapping[13] = {3, 4, 5, 0, 1, 2, 9, 10, 11, 6, 7, 8};
|
||||
int hip_scale_reduction_indices[] = {0, 3, 6, 9};
|
||||
int dof_mapping[12] = {3, 4, 5, 0, 1, 2, 9, 10, 11, 6, 7, 8};
|
||||
int hip_scale_reduction_indices[4] = {0, 3, 6, 9};
|
||||
|
||||
std::chrono::high_resolution_clock::time_point start_time;
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ private:
|
|||
std::vector<double> joint_positions;
|
||||
std::vector<double> joint_velocities;
|
||||
|
||||
int hip_scale_reduction_indices[] = {0, 3, 6, 9};
|
||||
int hip_scale_reduction_indices[4] = {0, 3, 6, 9};
|
||||
|
||||
std::chrono::high_resolution_clock::time_point start_time;
|
||||
|
||||
|
|
Loading…
Reference in New Issue