astrobee icon indicating copy to clipboard operation
astrobee copied to clipboard

Ctl simulink to c

Open nlinthacum opened this issue 2 years ago • 3 comments

Converting Simulink controller to C++

nlinthacum avatar Aug 12 '22 17:08 nlinthacum

@nlinthacum if you have a few minutes, could you put a comment here summarizing the current status? (what's working, what still needs to be fixed)

bcoltin avatar Aug 16 '22 16:08 bcoltin

@bcoltin > I also outlined this in the ctl.cc file in a little more detail Values that are correct: -traj_error_pos, -traj_quat -traj_error_vel -traj_error_omega -ctl_status -pos_err -pos_err_int

Needs fixing: -traj_error_att (I suspect there is a math error here since my value and the old value are the same values, just at different times) -body_force_cmd (Not sure what a reasonable margin of error is for this value, so didn't want to put it as working)

Values that couldn't be tested because they use a value that needs fixing (ie. wrong until the 'need fixing' are fixed): -body_accel_cmd (dependent on body_force_cmd) -att_err_mag (this has the same math issue as traj_error_att, I believe) -body_alpha_cmd (dependent on att_Err_mag) -body_torque_cmd (dependent on body_alpha_cmd)

Let me know if you have any questions, happy to help!

nlinthacum avatar Aug 17 '22 19:08 nlinthacum

Perfect, thank you Nick!

bcoltin avatar Aug 17 '22 19:08 bcoltin

Moved to #565

bcoltin avatar Nov 03 '22 23:11 bcoltin