Skip to content

Commit

Permalink
Don't assume gripper controller for single joint control in MoveIt Se…
Browse files Browse the repository at this point in the history
…tup Assistant (#2555)

* For single joint controllers which are not gripper controllers, still output joints list

* Use OR

* Only check for GripperActionController

Co-authored-by: Sebastian Jahr <sebastian.jahr@picknik.ai>

---------

Co-authored-by: Sebastian Jahr <sebastian.jahr@picknik.ai>
(cherry picked from commit 81094a6)
  • Loading branch information
forrest-rm authored and mergify[bot] committed Nov 29, 2023
1 parent 3144e6e commit b65ebb6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -192,7 +192,7 @@ bool ROS2ControllersConfig::GeneratedControllersConfig::writeYaml(YAML::Emitter&
emitter << YAML::Value;
emitter << YAML::BeginMap;
{
if (ci.joints_.size() != 1)
if (ci.type_ != "position_controllers/GripperActionController")
{
emitter << YAML::Key << "joints" << YAML::Value << ci.joints_;
}
Expand Down

0 comments on commit b65ebb6

Please sign in to comment.