You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
clear all; |
|
syms spd yaw real; |
|
syms R_spd R_yaw real; |
|
vx = spd*cos(yaw); |
|
vy = spd*sin(yaw); |
|
Tpc = jacobian([vx;vy],[spd;yaw]); |
|
R_polar = [R_spd 0;0 R_yaw]; |
|
R_cartesian = Tpc*R_polar*Tpc'; |