Hi Mark,
It is important to note that the HI Solver assumes a 2D plane. The plane does not have to be any special plane. Three points are usually used to define the plane.
You will want to create a bone structure for your robot with the HI Solver going from the root of the first bone to the tip of the end effector. I worked on a similar post back in June from Marian212. Examine the file and it should answer some of your questions.
IK-Robot-Rigging.max
Here are some comments from my June post regarding this model:
To move the end effector of the robot you should select and move DummyEndEff.
My first challenge after adding a HI Solver was to keep the bones from tilting when the end effector was moved out of the XZ plane. I used a point (Point001) whose position is midway between a dummy object with a fixed position high above the base (DummyUpReference) and DummyEndEff. This point is referenced by the swivel angle of the IKChain001.
The next challenge was to rotate Axis1 without titling it. I solved this problem by creating a dummy object (DummyLookAtGoal) that uses a wiring parameter to set its height (Z position) to be the same height as DummyEndEff. A LookAt constraint is used to point it toward DummyEndEff. I then use a Orientation constraint to control the rotation of Axis1 to match DummyLookAtGoal.
Try moving DummyEndEff in any direction. I think you will see that the robot generally moves as desired.
Note, I linked Axis3 and Axis4 to the same bone as I made the assumption that these two would not rotate with respect to each other. This can be changed if necessary but since IK solvers are restricted to working in a common 2D plane it would require more information about how you want to be able to specify the location and orientation of the end effector.
The local axis of the end effector (Axis6) is not correctly positioned. It it were you would be able to manually rotate it without any eccentricities.
I added a path constraint to DummyEndEff so that it follows the spline for a limted distance.
I hope this helps.
Lee
lee.minardi