(1) Quickly build ROS virtual environment and common troubleshooting

One, download the vmware virtual machine

Link: https://pan.baidu.com/s/1viTNfPhLMAY_4VFW3pTp7A1
Extraction code: yxgl

2. Download the ubuntu system image

Link: https://pan.baidu.com/s/1gMAM4gCuanZ0S21_hD7ijw1
Extraction code: 6uwd

Three, remote login

1. In static mode: (no Internet access, ip unchanged)
(1) Connect the computer to the car’s wifi
(2) Interrupt the input command (the car’s address): ssh -Y [email protected]
(3) Enter the password: dongguan
( 4) Compare whether the current ip address is the same as *bashrc

2. Under configuration 1: (Internet available, ip sometimes changes)
(1) The computer is connected to the network
(2) The input command is interrupted (the trolley sends the address): ssh -Y [email protected]
(3) The password: dongguan
( 4) Compare whether the current ip address is the same as *bashrc

Four, common problems

1. Unable to log in:
(1) Network card settings:
①There is an editor in the upper left corner of the virtual machine ②Virtual
network editor
③Change the settings in the lower right corner
④Bridge connection... (try one by one)
(2) Bridge mode:
①Under the virtual machine Right-click on the Uban map
②click settings
③network adapter
④bridging mode

2. The car does not move when navigating: There is a problem with the IP address
(1) You need to use ip a to get the current address
(2) Open *bashrc
(3) Modify the address in bashrc to the current address

3. Unable to access the Internet: static ip
(1) Set to configuration 1
(2) Connect to the network
(3) Configuration 1: Both remote connection and Internet access are possible, but the current address sometimes changes
static ip: remote connection is possible, no Go online, the current address will not change

4. When the wifi connection is changed, it will prompt a warning
(1) For example, connect to the wifi of the Nano motherboard, and then switch to the wifi of the Raspberry Pi, there will be a warning
(2) Copy the code with the ssh command when the error is reported, and press Enter
(3) to proceed ssh login, yes

Simple operation demonstration

1. Power on the
trolley and connect to wifi. 2. Because two nodes (trolley node and keyboard control node) are used, two terminals must be opened.
3. Open the trolley node(Need to connect the car)

roslaunch turn_on_wheeltec_robot turn_on_wheeltec_robot.launch

4. Open the keyboard control node (Need to connect the car)

roslaunch wheeltec_robot_rc keyboard_teleop.launch

Guess you like

Origin blog.csdn.net/m0_46278925/article/details/114612780