Skip to content

Commit

Permalink
MSA: write the default controller namespace (moveit#1515)
Browse files Browse the repository at this point in the history
* Write the default controller namespace

* Check for a sane controller type

* Revert the check for FollowJointTrajectory type
  • Loading branch information
AndyZe authored Aug 17, 2022
1 parent e89526d commit 066e862
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ bool MoveItControllersConfig::GeneratedControllersConfig::writeYaml(YAML::Emitte
emitter << YAML::BeginMap;
{
emitter << YAML::Key << "type" << YAML::Value << controller.type_;
if (controller.type_ == "FollowJointTrajectory")
{
emitter << YAML::Key << "action_ns" << YAML::Value << "follow_joint_trajectory";
emitter << YAML::Key << "default" << YAML::Value << "true";
}

// Write joints
emitter << YAML::Key << "joints";
emitter << YAML::Value;
Expand Down

0 comments on commit 066e862

Please sign in to comment.