Comments (5)
confirmed it works, just in case.
from action_bridge.
You will have to clone control_msgs
in your ROS2 workspace as mentioned in the README
. There is a dependency missing in the binaries.
from action_bridge.
still having the same problem,
root@5aa526d14948:~/ros2_intro_colcon# cd src/control_msgs/
root@5aa526d14948:~/ros2_intro_colcon/src/control_msgs# git branch
* crystal-devel
root@5aa526d14948:~/ros2_intro_colcon/src/control_msgs# cd -
/root/ros2_intro_colcon
root@5aa526d14948:~/ros2_intro_colcon# colcon build
...<snip>
--- stderr: action_bridge
/root/ros2_intro_colcon/src/action_bridge/src/action_bridge_follow_joint_trajectory.cpp:28:10: fatal error: control_msgs/action/follow_joint_trajectory.hpp: No such file or directory
#include "control_msgs/action/follow_joint_trajectory.hpp"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/action_bridge_follow_joint_trajectory_node.dir/src/action_bridge_follow_joint_trajectory.cpp.o] Error 1
make[1]: *** [CMakeFiles/action_bridge_follow_joint_trajectory_node.dir/all] Error 2
make: *** [all] Error 2
---
Failed <<< action_bridge [ Exited with code 2 ]
actually follow_joint_trajectory.hpp is successfully compiled as followings,
root@5aa526d14948:~/ros2_intro_colcon# find . -type f -name follow_joint_trajectory.hpp
./install/control_msgs/include/control_msgs/action/follow_joint_trajectory.hpp
./build/control_msgs/rosidl_generator_cpp/control_msgs/action/follow_joint_trajectory.hpp
not sure if this is cz of my environment or not.
from action_bridge.
You can use this Dockerfile
to build the package:
from osrf/ros:crystal-ros1-bridge
RUN apt-get update && apt-get install --no-install-recommends -y \
git \
python3-colcon-common-extensions
RUN apt-get install -y ros-melodic-actionlib \
ros-melodic-actionlib-tutorials \
ros-melodic-control-msgs \
ros-melodic-roscpp \
ros-crystal-control-msgs \
ros-crystal-example-interfaces \
ros-crystal-rclcpp \
ros-crystal-rclcpp-action \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /bridge_ws/src/ && cd /bridge_ws/src/ \
&& git clone https://github.com/ipa-hsd/action_bridge.git \
&& git clone -b crystal-devel https://github.com/ros-controls/control_msgs.git \
&& cd /bridge_ws \
&& . /opt/ros/melodic/setup.sh \
&& . /opt/ros/crystal/setup.sh \
&& colcon build
from action_bridge.
I will close this for now. If you still face any issues, you can reopen it.
from action_bridge.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action_bridge.