@@ -45,7 +45,7 @@ TEST_F(JointTest, ValidJointHip)
45
45
march::AbsoluteEncoder absolute_encoder =
46
46
march::AbsoluteEncoder (16 , 22134 , 43436 , this ->joint ->limits ->lower , this ->joint ->limits ->upper ,
47
47
this ->joint ->safety ->soft_lower_limit , this ->joint ->safety ->soft_upper_limit );
48
- march::IncrementalEncoder incremental_encoder = march::IncrementalEncoder (12 );
48
+ march::IncrementalEncoder incremental_encoder = march::IncrementalEncoder (12 , 50.0 );
49
49
march::IMotionCube imc = march::IMotionCube (2 , absolute_encoder, incremental_encoder, march::ActuationMode::unknown);
50
50
march::TemperatureGES ges = march::TemperatureGES (1 , 2 );
51
51
march::Joint expected (imc);
@@ -70,7 +70,7 @@ TEST_F(JointTest, ValidNotActuated)
70
70
march::AbsoluteEncoder absolute_encoder =
71
71
march::AbsoluteEncoder (16 , 22134 , 43436 , this ->joint ->limits ->lower , this ->joint ->limits ->upper ,
72
72
this ->joint ->safety ->soft_lower_limit , this ->joint ->safety ->soft_upper_limit );
73
- march::IncrementalEncoder incremental_encoder = march::IncrementalEncoder (12 );
73
+ march::IncrementalEncoder incremental_encoder = march::IncrementalEncoder (12 , 50.0 );
74
74
march::IMotionCube imc = march::IMotionCube (2 , absolute_encoder, incremental_encoder, march::ActuationMode::unknown);
75
75
march::TemperatureGES ges = march::TemperatureGES (1 , 2 );
76
76
march::Joint expected (imc);
@@ -122,7 +122,7 @@ TEST_F(JointTest, ValidActuationMode)
122
122
1 ,
123
123
march::AbsoluteEncoder (16 , 22134 , 43436 , this ->joint ->limits ->lower , this ->joint ->limits ->upper ,
124
124
this ->joint ->safety ->soft_lower_limit , this ->joint ->safety ->soft_upper_limit ),
125
- march::IncrementalEncoder (12 ), march::ActuationMode::position));
125
+ march::IncrementalEncoder (12 , 50.0 ), march::ActuationMode::position));
126
126
expected.setName (" test_joint_hip" );
127
127
128
128
ASSERT_EQ (" test_joint_hip" , expected.getName ());
0 commit comments