projects
/
folded-ctf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
automatic commit
[folded-ctf.git]
/
pi_referential.cc
diff --git
a/pi_referential.cc
b/pi_referential.cc
index
3fe7a27
..
ae290f0
100644
(file)
--- a/
pi_referential.cc
+++ b/
pi_referential.cc
@@
-324,7
+324,7
@@
PiReferential::PiReferential(PoseCell *cell) {
_body_xc = cell->_belly_xc.middle() * discrete_scale_ratio;
_body_yc = cell->_belly_yc.middle() * discrete_scale_ratio;
_body_xc = cell->_belly_xc.middle() * discrete_scale_ratio;
_body_yc = cell->_belly_yc.middle() * discrete_scale_ratio;
- _body_window_scaling = sqrt(_body_radius_1 * _body_radius_2);
+
//
_body_window_scaling = sqrt(_body_radius_1 * _body_radius_2);
if((_head_xc - _body_xc) * cos(_body_tilt) + (_head_yc - _body_yc) * sin(_body_tilt) > 0) {
_body_tilt += M_PI;
if((_head_xc - _body_xc) * cos(_body_tilt) + (_head_yc - _body_yc) * sin(_body_tilt) > 0) {
_body_tilt += M_PI;