asfennic.blogg.se

Clion ubuntu
Clion ubuntu











clion ubuntu

  • To configure ssh Sign in, Port and port docker The container is mapped to the same port ,10022.
  • by docker The container creates a new RemoteHost Tool chain.
  • ~/workspace/catkin_ws/src$Īfter moving, Use Clion Open the mobile project. ~/workspace/catkin_ws/src$ docker cp 47:/home/admin/catkin_ws/src/demo_pkg. Move the project created in the container to the native environment ~$ cd ~/workspace/catkin_ws/src Successfully created files in ~/catkin_ws/src/demo_pkg. :~/catkin_ws/src$ catkin_create_pkg demo_pkg roscpp rospy The console enters the container, And in ~/catkin_ws/src Create a ros engineering $ ssh -p 10022
  • If you want to stop this ROS Build container, Input docker stop 47 You can stop the container id by 47273db077f6 The container of.
  • After the start of the container, You can enter the following docker ps To ensure that the required container has been started.
  • After the command id, You only need to enter enough information to distinguish other containers id that will do, If all containers, There's another container id by 47 At the beginning, So in docker start After the command, it takes longer, Sufficient to define the container that needs to be started id Number. Use docker start You do not need to enter the complete.
  • adopt docker start 47 start-up Containers id by 47273db077f6 The container of, This container is used to build ROS engineering.
  • clion ubuntu

  • adopt docker ps -a View the containers that have been created, And write down the.
  • function docker ps If no container is running, Then the printed content CONTAINER ID There are no containers under id, conversely, There will be a long hexadecimal container id Line up to CONTAINER ID under.
  • $ docker run -tid -p 10022:22 ros-kinetic:1.0 "/usr/sbin/sshd -D" Viewing containers and starting containers that have been created $ docker psĬONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESĤ7273db077f6 ros-agent:1.1.2 "/usr/sbin/sshd -D" 3 months ago Exited (0) 8 minutes ago intelligent_shannonĤ7273db077f6 ros-agent:1.1.2 "/usr/sbin/sshd -D" 3 months ago Up 12 seconds 0.0.0.0:10022->22/tcp intelligent_shannon
  • stay admin Of home Create under path catkin_ws routeĬreate a container, To support ssh service, And put it in the container 22 Port mapping to host's 10022 On port, It is convenient for the host to pass ssh Access to the container.
  • #Clion ubuntu install

    install openssh, For original Ubuntu1804 visit ubuntu16.04 Mirror image.According to the online information on domestic installation ROS Methods, take ROS Install well.

    clion ubuntu

    Īnd in ubuntu 16.04 Perform the following operations in the image : In the image ROS,docker The installation steps are not repeated here, There are many introductions in other blog posts. Environmental preparationĪfter the toss in front, Finally think of using docker Catch one ubuntu16.04 Mirror image, docker pull ubuntu:16.04 stay Ubuntu16.04 Installed in the ROS And then /opt/ros/ copy to Ubuntu18.04 in, For a long time, There are always errors after compiling. apt-get install ros-desktop-full=kinetic It's not the right way E: Version 'kinetic' for 'ros-desktop-full' was not foundĢ. Move the project created in the container to the native environmentĬompany projects need to use ROS kinetic, This version of ROS Only in Ubuntu16.04, And my Ubuntu The version is 18.04.ġ. Viewing containers and starting containers that have been createdĬreate a.













    Clion ubuntu