Skip to content
Snippets Groups Projects
Commit eda1267e authored by Tim Kluge's avatar Tim Kluge
Browse files

Fix workspace location in container, terminal shortcut

parent be124ddd
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,11 @@ RUN apt-get install -y \
ros-melodic-libfranka python-catkin-tools libeigen3-dev
#WORKDIR /src/
COPY ./vnc/simple_simulation.sh /root/Desktop/
RUN chmod a+x /root/Desktop/simple_simulation.sh
RUN ln -s /usr/share/applications/lxterminal.desktop /root/Desktop/lxterminal.desktop
RUN chmod a+x /root/Desktop/simple_simulation.sh && mkdir /root/Desktop/ros_ws
ENV ROS_DISTRO=melodic
WORKDIR /home/ubuntu/ros_ws
RUN rm build devel src -rf
COPY ./src /home/ubuntu/ros_ws/src
WORKDIR /root/Desktop/ros_ws
COPY ./src /root/Desktop/ros_ws/src
RUN apt-get update && rosdep install --from-paths . -r -y && apt-get clean
RUN catkin config \
--extend /opt/ros/melodic && \
......
#!/bin/bash
source ~/ros_ws/devel/setup.bash
roslaunch sample_applications simple_simulation.launch
\ No newline at end of file
source /root/Desktop/ros_ws/devel/setup.bash
lxterminal --command "roslaunch sample_applications simple_simulation.launch"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment