X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=pi_referential.cc;h=267daea1a2d8d3f19b7a560b18400da9c58597a1;hp=f1f679077f05820606a270497b302eb01939b978;hb=573a0deca29e489fadc3d736ef1e3efd8b480555;hpb=c7531fb9d8d1436cd25128a1c5b0795d8be744ce diff --git a/pi_referential.cc b/pi_referential.cc index f1f6790..267daea 100644 --- a/pi_referential.cc +++ b/pi_referential.cc @@ -403,13 +403,11 @@ PiReferential::PiReferential(PoseCell *cell) { // Body frame - _body_ux = cos(_body_tilt) * _body_radius_1 * 2.0; - _body_uy = sin(_body_tilt) * _body_radius_1 * 2.0; - _body_vx = - sin(_body_tilt) * _body_radius_2 * 2.0; - _body_vy = cos(_body_tilt) * _body_radius_2 * 2.0; +// _body_ux = cos(_body_tilt) * _body_radius_1 * 2.0; +// _body_uy = sin(_body_tilt) * _body_radius_1 * 2.0; +// _body_vx = - sin(_body_tilt) * _body_radius_2 * 2.0; +// _body_vy = cos(_body_tilt) * _body_radius_2 * 2.0; -// _body_edge_shift = int(floor(RichImage::nb_edge_tags * _body_tilt / (2 * M_PI) + 0.5)); -// _body_edge_shift = (RichImage::nb_edge_tags + _body_edge_shift) % RichImage::nb_edge_tags; } int PiReferential::common_scale() {