sikang / mpl_ros

A ROS wrapper for trajectory planning based on motion primitives
Apache License 2.0
558 stars 148 forks source link

Fix issue #22: Use threaded callback queue (Melodic) #23

Open janblumenkamp opened 2 years ago

janblumenkamp commented 2 years ago

Incorporates the changes made in this commit in RViz so that this compiles against Melodic. This should also fix issue #22.

Created this Dockerfile for testing:

FROM ros:melodic

RUN apt update
RUN apt install -y git python3-catkin-tools libsdl1.2-dev libsdl-image1.2-dev

WORKDIR /home/src

RUN git clone https://github.com/janblumenkamp/mpl_ros.git --recursive
RUN git clone https://github.com/catkin/catkin_simple

WORKDIR /home

RUN apt update
RUN export DEBIAN_FRONTEND=noninteractive && rosdep install --from-paths src --ignore-src -r -y --rosdistro melodic

RUN apt install -y libeigen3-dev libyaml-cpp-dev libproj-dev libopencv-dev cmake

RUN . /opt/ros/melodic/setup.sh && catkin config -DCMAKE_BUILD_TYPE=Release && catkin build