Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

robotStateToRobotStateMsg

Hello!

I keep getting the error: ‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here?

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error: ‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here?here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error: ‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error: ‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

edit: I want to plan a path with multiple waypoints without executing the individual paths. For that I want to ste the starting state to the target of the previous waypoint. I tried that with

moveit_msgs::RobotState start_state;
start_state = group.getJointValueTarget()
group.setStartState(start_state);

but getJointValueTarget() gives me a moveit::core::RobotState and setStartState() wants a moveit_msgs::RobotState or a robot_state::RobotState, that's why i tried robotStateToRobotStateMsg.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error: ‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

edit: I want to plan a path with multiple waypoints without executing the individual paths. For that I want to ste the starting state to the target of the previous waypoint. I tried that with

moveit_msgs::RobotState start_state;
start_state = group.getJointValueTarget()
group.setStartState(start_state);

but getJointValueTarget() gives me a moveit::core::RobotState and setStartState() wants a moveit_msgs::RobotState or a robot_state::RobotState, that's why i tried robotStateToRobotStateMsg.

I'd also appreciate new/better approaches for my intention.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error: ‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

edit: I want to plan a path with multiple waypoints without executing the individual paths. For that I want to ste the starting state to the target of the previous waypoint. I tried that with

moveit::planning_interface::MoveGroup group("arm");

...
...

moveit_msgs::RobotState start_state;
start_state = group.getJointValueTarget()
group.setStartState(start_state);

but getJointValueTarget() gives me a moveit::core::RobotState and setStartState() wants a moveit_msgs::RobotState or a robot_state::RobotState, that's why i tried robotStateToRobotStateMsg.

I'd also appreciate new/better approaches for my intention.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error:

‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’ ‘moveit::core’

In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

edit: I want to plan a path with multiple waypoints without executing the individual paths. For that I want to ste the starting state to the target of the previous waypoint. I tried that with

moveit::planning_interface::MoveGroup group("arm");

...
...

moveit_msgs::RobotState start_state;
start_state = group.getJointValueTarget()
group.setStartState(start_state);

but getJointValueTarget() gives me a moveit::core::RobotState and setStartState() wants a moveit_msgs::RobotState or a robot_state::RobotState, that's why i tried robotStateToRobotStateMsg.

I'd also appreciate new/better approaches for my intention.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error:

‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’

In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

edit: I want to plan a path with multiple waypoints without executing the individual paths. For that I want to ste the starting state to the target of the previous waypoint. I tried that with

moveit::planning_interface::MoveGroup group("arm");

...
...

moveit_msgs::RobotState start_state;
start_state = group.getJointValueTarget()
group.setStartState(start_state);

but getJointValueTarget() gives me a moveit::core::RobotState and setStartState() wants a moveit_msgs::RobotState or a robot_state::RobotState, that's why i tried robotStateToRobotStateMsg.

moveit::core::robotStateToRobotStateMsg(group.getJointValueTarget(), start_state);

which gave me the mentioned error.

I'd also appreciate new/better approaches for my intention.

Thank you in advance!

robotStateToRobotStateMsg

Hello!

I keep getting the error:

‘robotStateToRobotStateMsg’ is not a member of ‘moveit::core’

In the CMakeList I have moveit_core, moveit_ros_planning, moveit_ros_planning_interface, roscpp, rospy and std_msgs as dependencies. Is there something else I need to add here? And I'm confused that moveit::planning_interface::MoveGroup::getJointValueTarget gives me a moveit::core::RobotState instead of a robot_state::RobotState like the documentation says.

edit: I want to plan a path with multiple waypoints without executing the individual paths. For that I want to ste the starting state to the target of the previous waypoint. I tried that with

 moveit::planning_interface::MoveGroup group("arm");

 ...
 ...
     <setting up target pose and planning path to first target> 
    ...

    moveit_msgs::RobotState start_state;
 start_state = group.getJointValueTarget()
 group.setStartState(start_state);

but getJointValueTarget() gives me a moveit::core::RobotState and setStartState() wants a moveit_msgs::RobotState or a robot_state::RobotState, that's why i tried robotStateToRobotStateMsg.

moveit::core::robotStateToRobotStateMsg(group.getJointValueTarget(), start_state);

which gave me the mentioned error.

I'd also appreciate new/better approaches for my intention.

Thank you in advance!