Closed Jaeyoung-Lim closed 1 year ago
Interesting the SysID Pipeline test fails only on Focal and not on Bionic
2023-01-17T10:19:58.6959921Z -------------------------------------------------------------------------------
2023-01-17T10:19:58.6960235Z Optimization Metrics
2023-01-17T10:19:58.6960598Z -------------------------------------------------------------------------------
2023-01-17T10:19:58.6960854Z R2: 0.9975800607088047
2023-01-17T10:19:58.6961044Z RMSE: 0.2703602382778213
2023-01-17T10:19:58.6961166Z
2023-01-17T10:19:58.6961379Z -------------------------------------------------------------------------------
2023-01-17T10:19:58.6961716Z Complete results saved to:
2023-01-17T10:19:58.6962040Z model_results/multirotor_model_2023-01-17-10-19-58.yaml
2023-01-17T10:19:58.6962407Z -------------------------------------------------------------------------------
2023-01-17T10:19:58.8683381Z ##[group]Run make estimate-model model=standardplane_model
2023-01-17T10:19:58.8683722Z [36;1mmake estimate-model model=standardplane_model[0m
2023-01-17T10:19:58.8684030Z shell: sh -e {0}
2023-01-17T10:19:58.8684317Z ##[endgroup]
2023-01-17T10:19:58.9562171Z python3 Tools/parametric_model/generate_parametric_model.py \
2023-01-17T10:19:58.9563121Z --config /__w/data-driven-dynamics/data-driven-dynamics/Tools/parametric_model/configs/standardplane_model.yaml \
2023-01-17T10:19:58.9563586Z --data_selection none \
2023-01-17T10:19:58.9563902Z --plot True \
2023-01-17T10:19:58.9564360Z /__w/data-driven-dynamics/data-driven-dynamics/resources/standardplane_model.ulg
2023-01-17T10:20:00.5818138Z Visual Data selection enabled: none
2023-01-17T10:20:00.5818715Z ===============================================================================
2023-01-17T10:20:00.5819458Z Data Processing
2023-01-17T10:20:00.5819985Z ===============================================================================
2023-01-17T10:20:00.5820378Z Initializing of configuration successful.
2023-01-17T10:20:00.5820896Z Resample frequency: 50.0 Hz
2023-01-17T10:20:00.5821975Z Loading uLog file: /__w/data-driven-dynamics/data-driven-dynamics/resources/standardplane_model.ulg
2023-01-17T10:20:00.5822387Z Loading topics:
2023-01-17T10:20:00.5822591Z actuator_outputs
2023-01-17T10:20:00.5822791Z vehicle_local_position
2023-01-17T10:20:00.5822998Z vehicle_attitude
2023-01-17T10:20:00.5823203Z vehicle_angular_velocity
2023-01-17T10:20:00.5823407Z sensor_combined
2023-01-17T10:20:00.5823983Z Starting data resampling of topic types: dict_keys(['actuator_outputs', 'vehicle_local_position', 'vehicle_attitude', 'vehicle_angular_velocity', 'sensor_combined'])
2023-01-17T10:20:00.5824458Z Initializing of configuration successful.
2023-01-17T10:20:00.5824856Z -------------------------------------------------------------------------------
2023-01-17T10:20:00.5825190Z Initialized dataframe with the following columns:
2023-01-17T10:20:00.5825771Z ['timestamp', 'u2', 'u4', 'u5', 'u6', 'u7', 'vx', 'vy', 'vz', 'q0', 'q1', 'q2', 'q3', 'ang_vel_x', 'ang_vel_y', 'ang_vel_z', 'acc_b_x', 'acc_b_y', 'acc_b_z', 'ang_acc_b_x', 'ang_acc_b_y', 'ang_acc_b_z']
2023-01-17T10:20:00.5826134Z Data contains 2861 timestamps.
2023-01-17T10:20:00.5826392Z Computing force features for rotor: puller rotor
2023-01-17T10:20:00.5826679Z Computing moment features for rotor: puller rotor
2023-01-17T10:20:00.6411364Z Traceback (most recent call last):
2023-01-17T10:20:00.6411784Z File "Tools/parametric_model/generate_parametric_model.py", line 131, in <module>
2023-01-17T10:20:00.6412108Z start_model_estimation(**vars(arg_list))
2023-01-17T10:20:00.6412436Z File "Tools/parametric_model/generate_parametric_model.py", line 81, in start_model_estimation
2023-01-17T10:20:00.6412760Z model.prepare_regression_matrices()
2023-01-17T10:20:00.6413486Z File "/__w/data-driven-dynamics/data-driven-dynamics/Tools/parametric_model/src/models/dynamics_model.py", line 98, in prepare_regression_matrices
2023-01-17T10:20:00.6413904Z self.prepare_force_regression_matrices()
2023-01-17T10:20:00.6414446Z File "/__w/data-driven-dynamics/data-driven-dynamics/Tools/parametric_model/src/models/standardplane_model.py", line 51, in prepare_force_regression_matrices
2023-01-17T10:20:00.6414924Z X_aero, coef_dict_aero, col_names_aero = aero_model.compute_aero_force_features(
2023-01-17T10:20:00.6415552Z File "/__w/data-driven-dynamics/data-driven-dynamics/Tools/parametric_model/src/models/aerodynamic_models/standard_wing_model.py", line 182, in compute_aero_force_features
2023-01-17T10:20:00.6415979Z X_aero = self.compute_wing_force_features(
2023-01-17T10:20:00.6416530Z File "/__w/data-driven-dynamics/data-driven-dynamics/Tools/parametric_model/src/models/aerodynamic_models/standard_wing_model.py", line 115, in compute_wing_force_features
2023-01-17T10:20:00.6417245Z R_aero_to_body = Rotation.from_rotvec(
2023-01-17T10:20:00.6417593Z File "_rotation.pyx", line 861, in scipy.spatial.transform._rotation.Rotation.from_rotvec
2023-01-17T10:20:00.6418083Z ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.
2023-01-17T10:20:00.8280820Z make: *** [Makefile:34: estimate-model] Error 1
2023-01-17T10:20:00.8322699Z ##[error]Process completed with exit code 2.
2023-01-17T10:20:00.8379303Z Stop and remove container: ef10af60de634d28aab6c3a7b990cba3_px4iopx4devsimulationfocal20201118_1ee872
2023-01-17T10:20:00.8384830Z ##[command]/usr/bin/docker rm --force eabe9e3a8dcdf77f683d3713b11138c09488fff926441a0dbb5ad656c2d1d2b5
2023-01-17T10:20:01.9305632Z eabe9e3a8dcdf77f683d3713b11138c09488fff926441a0dbb5ad656c2d1d2b5
2023-01-17T10:20:01.9358397Z Remove container network: github_network_370518c6e0574602838dad1cecb6e4e7
2023-01-17T10:20:01.9368061Z ##[command]/usr/bin/docker network rm github_network_370518c6e0574602838dad1cecb6e4e7
2023-01-17T10:20:02.0449473Z github_network_370518c6e0574602838dad1cecb6e4e7
2023-01-17T10:20:02.0599296Z Cleaning up orphan processes
Problem Description This PR fixes the build tests for the firmware
The gazebo build target has been updated to include the
gazebo-classic_
prefix in https://github.com/PX4/PX4-Autopilot/pull/20936