seed-solutions / aero-ros-pkg

AERO (SEEDNOID) ROS Package
15 stars 18 forks source link

revise aero_std? #353

Open sasabot opened 6 years ago

sasabot commented 6 years ago

possible fixes on next version?

YoheiKakiuchi commented 6 years ago

consider header implementations for setLifter, getLifter to avoid hard coding on specific type bool aero::interface::AeroMoveitInterface::setLifter(double _x, double _z) { return aero::lifter::set(_x, _z); } where aero::lifter::set is defined from a header copied at setup. (to be general and to avoid confusion with joints, input should be aero::Vector3)

Currently, origin of arguments (_x, _z) for setLifter is waist position at initial pose. Then, we need height of initial position.

origin of arguments (_x, _z) for setLifter should be floor level or lifter origin. Because it does not require initial position and the same value can work with different lifter.

sasabot commented 6 years ago

I would say that's a valid solution. One concern is, it would be difficult to code something like "go to the highest position" which would be "setLifter(0, 0)" with the current code. we would still need some variable we can refer to as the highest position e.g. aero::lifter::max_z.

sasabot commented 6 years ago

another thing is, the function should be abstract anyways, because we have no guarantee that the lifter will always stay two dimensional. (for example, aero-four-legs had a completely different kinematic structure, three dimensional, and was a different implementation)

sasabot commented 6 years ago

@YoheiKakiuchi edited my first comment where I would like to hear your suggestions. thanks.