You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Use group manipulator_tool;
2.Initial start from all joint 0 point;
3.First target is setted by name 'start_tool_pose';
4.After step 3, then set target to 'end_tool_pose';
While the problem is about to happen in step 4.At this step, the problem can be describe as:
When I call move_group.plan() to plan this trajectory, always get no solution.So I review the source code try to figure out what's wrong with this stage.Finally I find things seemed happen in function bool Stomp::solve(const Eigen::MatrixXd& initial_parameters, Eigen::MatrixXd& parameters_optimized), it seems that this function is been used to optimize the initial solution got by computeInitialTrajectory.Here is some logs,based on the plan problem, the function computeInitialTrajectory will return a initialTrajectory but maybe in collision,but somehow, this trajectory has a good result like this:
We can see, the first point of this trajectory is the start point and same as the last one.But this trajectory is a contact between robot and obstacle,so the planner will call bool Stomp::solve(const Eigen::MatrixXd& initial_parameters,Eigen::MatrixXd& parameters_optimized) to optimize the trajectory, here the initial_parameters is the trajecory shown above, parameters_optimized is the optimized trajectory, after this function called, I print the final trajectory:
Neither the first point nor the last one is the same with my problem define, so this trajectory can't be execute because the first point is different with the robot current state, so execute it will cause an error.
But I'm confused that this could only happen in step 4, which means if my robot initial pose is all joint set to be 0, like step 2, then you will get a right trajectory(step 3), otherwise, the STOMP failed to find a soluiton (step 4).
All the job is doing with the default config parameter.
The text was updated successfully, but these errors were encountered:
I use industrial_moveit_test_moveit_config pkg in industrial_moveit to learn about stomp planner.
The problem definition is below:
While the problem is about to happen in step 4.At this step, the problem can be describe as:
When I call move_group.plan() to plan this trajectory, always get no solution.So I review the source code try to figure out what's wrong with this stage.Finally I find things seemed happen in function
bool Stomp::solve(const Eigen::MatrixXd& initial_parameters, Eigen::MatrixXd& parameters_optimized)
, it seems that this function is been used to optimize the initial solution got bycomputeInitialTrajectory
.Here is some logs,based on the plan problem, the functioncomputeInitialTrajectory
will return a initialTrajectory but maybe in collision,but somehow, this trajectory has a good result like this:We can see, the first point of this trajectory is the start point and same as the last one.But this trajectory is a contact between robot and obstacle,so the planner will call
bool Stomp::solve(const Eigen::MatrixXd& initial_parameters,Eigen::MatrixXd& parameters_optimized)
to optimize the trajectory, here the initial_parameters is the trajecory shown above, parameters_optimized is the optimized trajectory, after this function called, I print the final trajectory:Neither the first point nor the last one is the same with my problem define, so this trajectory can't be execute because the first point is different with the robot current state, so execute it will cause an error.
But I'm confused that this could only happen in step 4, which means if my robot initial pose is all joint set to be 0, like step 2, then you will get a right trajectory(step 3), otherwise, the STOMP failed to find a soluiton (step 4).
All the job is doing with the default config parameter.
The text was updated successfully, but these errors were encountered: