Fixed


On Tue, Mar 26, 2013 at 1:52 PM, toliver <notifications@github.com> wrote:

> In sr_self_test/src/sr_self_test.cpp:
>
> > +      else
> > +      {
> > +        if( joint_name.compare("RFJ4") == 0 )
> > +        {
> > +          (*safe_targets_.get())["FFJ4"].joint_target = sr_math_utils::to_degrees( hand_commander_->get_min_max("FFJ4").first );
> > +          (*safe_targets_.get())["MFJ4"].joint_target = sr_math_utils::to_degrees( hand_commander_->get_min_max("MFJ4").first );
> > +          (*safe_targets_.get())["RFJ4"].joint_target = 0.0;
> > +          (*safe_targets_.get())["LFJ4"].joint_target = sr_math_utils::to_degrees( hand_commander_->get_min_max("LFJ4").first );
> > +        }
> > +        else
> > +        {
> > +          if( joint_name.compare("LFJ4") == 0 )
> > +          {
> > +            (*safe_targets_.get())["FFJ4"].joint_target = sr_math_utils::to_degrees( hand_commander_->get_min_max("FFJ4").first );
> > +            (*safe_targets_.get())["MFJ4"].joint_target = sr_math_utils::to_degrees( hand_commander_->get_min_max("MFJ4").first );
> > +            (*safe_targets_.get())["RFJ4"].joint_target = sr_math_utils::to_degrees( hand_commander_->get_min_max("MFJ4").second );
>
> same here RFJ4
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/shadow-robot/sr-ros-interface/pull/7/files#r3530046>
> .
>



-- 
               Ugo Cupcic
http://ugocupcic.dyndns.org
    _
   ' v '
 /      \
  m m