Aerospace Blockset for Xcos  

Aerospace Blockset for Xcos Commit Details

Date:2014-09-16 12:53:32 (3 years 7 months ago)
Author:Paweł Zagórski
Branch:master
Commit:2dee29c316c229cbf9861fe3dc9789f9a4f1cb3f
Parents: 3d45f571ac8dabb30f5d4b333de83b0bced7970c
Message:Ficed ELL_TO_CAR unit test

Changes:
Mtests/unit_tests/ell_to_car.tst (1 diff)

File differences

tests/unit_tests/ell_to_car.tst
3434
3535
3636
37
38
39
40
41
42
37
38
39
40
41
42
4343
//Validate results
assert_checkequal(exp_time, car_out.time);
assert_checkequal(exp_time, jacob_out.time);
assert_checkalmostequal(exp_pos', car_out.values(1,:),1e-4);
assert_checkalmostequal(exp_pos', car_out.values(2,:),1e-4);
assert_checkalmostequal(exp_pos', car_out.values(3,:),1e-4);
assert_checkalmostequal(exp_jacob, jacob_out.values(:,:,1),1e-2);
assert_checkalmostequal(exp_jacob, jacob_out.values(:,:,2),1e-2);
assert_checkalmostequal(exp_jacob, jacob_out.values(:,:,3),1e-2);
assert_checkalmostequal(exp_pos', car_out.values(1,:),1e-6);
assert_checkalmostequal(exp_pos', car_out.values(2,:),1e-6);
assert_checkalmostequal(exp_pos', car_out.values(3,:),1e-6);
assert_checkalmostequal(exp_jacob, jacob_out.values(:,:,1),1e-8);
assert_checkalmostequal(exp_jacob, jacob_out.values(:,:,2),1e-8);
assert_checkalmostequal(exp_jacob, jacob_out.values(:,:,3),1e-8);

Archive Download the corresponding diff file

Branches