Skip to content

Commit

Permalink
Merge pull request #135 from Achllle/fix/covariance_reset
Browse files Browse the repository at this point in the history
Remove spurious covariance reset
  • Loading branch information
Achllle authored May 20, 2021
2 parents 8e25540 + 8f85903 commit 3f865ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ROS/osr/src/rover.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ def forward_kinematics(self):
self.curr_twist.twist.linear.x = drive_angular_velocity * self.wheel_radius
# now calculate angular velocity from its relation with linear velocity and turning radius
self.curr_twist.twist.angular.z = self.curr_twist.twist.linear.x / self.curr_turning_radius
# covariance
self.curr_twist.covariance = 36 * [0.0,]


if __name__ == '__main__':
rospy.init_node('rover', log_level=rospy.INFO)
Expand Down

0 comments on commit 3f865ea

Please sign in to comment.