Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug (missing tf2-geometry) in Dockerfile and added setup.bash sourcing #110

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

samlaf
Copy link
Contributor

@samlaf samlaf commented Mar 23, 2021

The dockerfile was missing apt-get install ros-melodic/kinetic-tf2-geometry-msgs.
I was getting this error

Errors << orb_slam2_ros:make /home/logs/orb_slam2_ros/build.make.000.log       
In file included from /home/src/orb_slam_2_ros/ros/src/Node.cc:1:0:
/home/src/orb_slam_2_ros/ros/include/Node.h:34:49: fatal error: tf2_geometry_msgs/tf2_geometry_msgs.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/orb_slam2_ros_mono.dir/ros/src/Node.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/src/orb_slam_2_ros/ros/include/MonoNode.h:37:0,
                 from /home/src/orb_slam_2_ros/ros/src/MonoNode.cc:1:
/home/src/orb_slam_2_ros/ros/include/Node.h:34:49: fatal error: tf2_geometry_msgs/tf2_geometry_msgs.h: No such file or directory
compilation terminated.

I also added sourcing devel/setup.bash and bash as the default command so that it sources .bashrc (and hence devel/setup.bash), so that we can roslaunch orb_slam_2_ros right after running the Docker container.

@lennarthaller lennarthaller merged commit 403c91a into appliedAI-Initiative:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants