Skip to content

ROS2 branch build failing #10

@Flova

Description

@Flova

Currently, the ros2 branch build fails. Without the latest commit everything build is fine.

See the following compiler output:

In file included from /home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/bio_ik.h:43,
                 from /home/florian/Projekt/bitbots/colcon_ws/src/bitbots_meta/bitbots_motion/bitbots_moveit_bindings/src/bitbots_moveit_bindings.cpp:1:
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:688:39: error: ‘IKCostFn’ in ‘class kinematics::KinematicsBase’ does not name a type
  688 |     const kinematics::KinematicsBase::IKCostFn function_;
      |                                       ^~~~~~~~
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:691:91: error: ‘IKCostFn’ in ‘class kinematics::KinematicsBase’ does not name a type
  691 |     IKCostFnGoal(const geometry_msgs::msg::Pose& pose,  const kinematics::KinematicsBase::IKCostFn& function,
      |                                                                                           ^~~~~~~~
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h: In constructor ‘bio_ik::IKCostFnGoal::IKCostFnGoal(const Pose&, const int&, const RobotModelConstPtr&, double)’:
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:695:11: error: class ‘bio_ik::IKCostFnGoal’ does not have any field named ‘function_’
  695 |         , function_(function)
      |           ^~~~~~~~~
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h: In member function ‘virtual double bio_ik::IKCostFnGoal::evaluate(const bio_ik::GoalContext&) const’:
/home/florian/Projekt/bitbots/colcon_ws/install/bio_ik/include/bio_ik/goal_types.h:716:16: error: ‘function_’ was not declared in this scope
  716 |         return function_(pose_, robot_state, &jmg, seed_state);
      |                ^~~~~~~~~
gmake[2]: *** [CMakeFiles/libbitbots_moveit_bindings.dir/build.make:76: CMakeFiles/libbitbots_moveit_bindings.dir/src/bitbots_moveit_bindings.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/libbitbots_moveit_bindings.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions