Skip to content

Commit

Permalink
new noise parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
urosolia committed Oct 1, 2020
1 parent 01054ff commit 09211a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fnc/simulator/SysModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def dynModel(self, x, x_glob, u):

# Noises
noise_vx = np.max([-0.05, np.min([np.random.randn() * 0.01, 0.05])])
noise_vy = np.max([-0.1, np.min([np.random.randn() * 0.01, 0.1])])
noise_vy = np.max([-0.05, np.min([np.random.randn() * 0.01, 0.05])])
noise_wz = np.max([-0.05, np.min([np.random.randn() * 0.005, 0.05])])

cur_x_next[0] = cur_x_next[0] + 0.01*noise_vx
Expand Down

0 comments on commit 09211a5

Please sign in to comment.