Hi, i'm trying to use Moveit2 with ROS2 Foxy as a planner for an autonomous drone (quadcopter). In this project i'm trying to use moveit_cpp, for SLAM i'm using rtabmap multi-camera SLAM, i've managed to feed moveit_cpp planning scene monitor with the octomap generated by rtabmap by publishing a PlanningSceneWorld message to /planning_scene_world topic, i've verified this to be correct by visualizing the monitored planning scene in Rviz. I'm following this tutorial and adapting all the parameters to ROS2 format, and the run_moveit_cpp example files for creating the ROS node. The error message seems to be coming from when i called plan() from my PlanningComponent object. I've included the ROS node and launch file configurations below. I'm very new to Moveit2 and fairly new with ROS2, i'm sorry if i missed something, any help would be appreciated. Thank you!
Your environment
ROS Distro: Foxy
OS Version: Ubuntu 20.04
Source
foxy
Steps to reproduce
robot.urdf (the robot urdf is published by robot_state_publisher)
Description
Hi, i'm trying to use Moveit2 with ROS2 Foxy as a planner for an autonomous drone (quadcopter). In this project i'm trying to use moveit_cpp, for SLAM i'm using rtabmap multi-camera SLAM, i've managed to feed moveit_cpp planning scene monitor with the octomap generated by rtabmap by publishing a
PlanningSceneWorld
message to/planning_scene_world
topic, i've verified this to be correct by visualizing the monitored planning scene in Rviz. I'm following this tutorial and adapting all the parameters to ROS2 format, and the run_moveit_cpp example files for creating the ROS node. The error message seems to be coming from when i calledplan()
from my PlanningComponent object. I've included the ROS node and launch file configurations below. I'm very new to Moveit2 and fairly new with ROS2, i'm sorry if i missed something, any help would be appreciated. Thank you!Your environment
Steps to reproduce
robot.urdf (the robot urdf is published by robot_state_publisher)
robot.srdf
moveit_cpp.yaml
moveit_controllers.yaml
moveit_ompl_planning.yaml
moveit_joint_limits.yaml
launch file:
planner.cpp:
Expected behaviour
moveit_cpp should be able to contruct the plan
Actual behaviour
moveit_cpp failed to construct goal representation
Backtrace or Console output
output