Skip to content

Commit

Permalink
Add controlled data 3 masses
Browse files Browse the repository at this point in the history
  • Loading branch information
hbuurmei committed Nov 18, 2024
1 parent e2ed349 commit 51466ad
Show file tree
Hide file tree
Showing 9 changed files with 67,494 additions and 23,485 deletions.
8,801 changes: 8,801 additions & 0 deletions stack/main/data/trajectories/dynamic/control_inputs_beta_controlled.csv

Large diffs are not rendered by default.

11,701 changes: 11,701 additions & 0 deletions stack/main/data/trajectories/dynamic/control_inputs_beta_small_controlled.csv

Large diffs are not rendered by default.

20,500 changes: 8,800 additions & 11,700 deletions stack/main/data/trajectories/dynamic/control_inputs_controlled.csv

Large diffs are not rendered by default.

20,502 changes: 8,801 additions & 11,701 deletions stack/main/data/trajectories/dynamic/observations_beta_controlled_200g.csv

Large diffs are not rendered by default.

8,802 changes: 8,802 additions & 0 deletions stack/main/data/trajectories/dynamic/observations_beta_controlled_300g.csv

Large diffs are not rendered by default.

8,802 changes: 8,802 additions & 0 deletions stack/main/data/trajectories/dynamic/observations_beta_controlled_400g.csv

Large diffs are not rendered by default.

11,702 changes: 11,702 additions & 0 deletions stack/main/data/trajectories/dynamic/observations_beta_small_controlled_200g.csv

Large diffs are not rendered by default.

162 changes: 82 additions & 80 deletions stack/main/scripts/data_visualization.ipynb

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions stack/main/scripts/generate_ol_control_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ def sine_trajectory():

def interpolated_beta(seed=0):
# Parameters
n_u = 6
sample_size = 40
sec_per_sample = 3
sample_size = 45
sec_per_sample = 2
sampling_rate = 100 # [Hz]
np.random.seed(seed)
tip_range, mid_range, base_range = 0.45, 0.35, 0.3
Expand Down Expand Up @@ -125,7 +124,7 @@ def interpolated_beta(seed=0):
norm_value = np.linalg.norm(vector_sum)

# Check the constraint: if the sample is valid, keep it
if norm_value <= 0.7:
if norm_value <= 0.75:
valid_samples.append([u1, u2, u3, u4, u5, u6])
num_valid_samples += 1
else:
Expand Down

0 comments on commit 51466ad

Please sign in to comment.