-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmd.txt
46 lines (18 loc) · 817 Bytes
/
cmd.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//Unistall Ros2
$ sudo apt remove ros-* && sudo apt autoremove
$ cd /etc/apt/sources.list.d/ && sudo rm ros2.list
sudo apt autoremove
sudo reboot
//Uninstall NVIDIA
sudo apt remove --purge nvidia-* && sudo apt autoremove --purge
sudo apt clean
///Node Build
https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Py-Publisher-And-Subscriber.html
colcon build --packages-select py_pubsub
source install/setup.bash
ros2 run py_pubsub listener
shoukat@shoukat-MS-7C02:~/bckp/Node$ colcon build --packages-select py_pubsub
[1.352s] WARNING:colcon.colcon_core.prefix_path.colcon:The path '/home/shoukat/bckp-AWSIM/ros2_ws/install' in the environment variable COLCON_PREFIX_PATH doesn't exist
soln: unset all path
unset CMAKE_PREFIX_PATH
unset AMENT_PREFIX_PATH