thesis/diffdrive_to_uni.m

4 lines
138 B
Matlab
Raw Normal View History

2024-07-31 09:47:09 +02:00
function u_ = diffdrive_to_uni(u, sim_data)
u_ = [sim_data.r/2, sim_data.r/2 ; sim_data.r/sim_data.d -sim_data.r/sim_data.d] * u;
end