-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFreqUseCmd.txt
76 lines (65 loc) · 3.32 KB
/
FreqUseCmd.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
catkin_make
catkin_create_pkg [package_name] std_msgs rospy roscpp
roscore
rosnode list
rosnode info <node_name> (ex: /rosout)
rosnode ping <node_name>
rosrun rqt_graph rqt_graph
rosrun rqt_plot rqt_plot
rostopic echo [topic] (ex: /turtle1/cmd_vel)
rostopic type [topic]
rosmsg show <msg_type/topic_type> (ex: geometry_msgs/Twist)
rostopic pub [topic] [msg_type] [args]
rosrun rqt_console rqt_console (show console window)
rosrun rqt_logger_level rqt_logger_level (choose which is showed in console window)
roslaunch [package] [filename.launch]
rqt (run rqt_graph)
ps -ef | grep -i rosmaster (check for roscore is running or not)
rosbag record -a (record all topic to bag file)
rosbag record -O subset [topic1_name] [topic2_name] (record chosen topics to bag file)
cartographer_rosbag_validate -bag_filename your_bag.bag
rosbag record -O subset rpm xy_pos odom odometry/filtered tf tf_stac map scan submap_list scan_matched_points2
---------------------------------------
rosparam set [param_name]
rosparam get [param_name]
rosparam dump [file_name] [namespace]
rosparam load [file_name] [namespace]
rosed [package_name] [filename]
---------------------------------------
rosrun turtlesim turtlesim_node
rosrun turtlesim turtlesim_node __name:=my_turtle
rosrun turtlesim turtle_teleop_key
rosservice call /clear
---------------------------------------
source /opt/ros/[ROS-DISTRO]/setup.bash
source devel/setup.bash
ls -ltrh /dev/video*
export PYTHONPATH="/usr/local/lib/python3.5/dist-packages:$PYTHONPATH"
export ROS_PYTHON_VERSION=3
echo $ROS_PACKAGE_PATH
export ROS_HOSTNAME=192.168.129.57
export ROS_MASTER_URI=http://192.168.129.21:11311
export | grep ROS
---------------------------------------
export TURTLEBOT3_MODEL=burger, waffle, waffle_pi
roslaunch turtlebot3_gazebo turtlebot3_world.launch/turtlebot3_empty_world.launch/turtlebot3_house.launch
roslaunch turtlebot3_gazebo turtlebot3_gazebo_rviz.launch
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=cartographer
roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
roslaunch turtlebot3_gazebo turtlebot3_simulation.launch
rosrun map_server map_saver -f ~/map
roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=$HOME/map.yaml
sudo apt-get install ros-melodic-joy ros-melodic-teleop-twist-joy ros-melodic-teleop-twist-keyboard ros-melodic-laser-proc ros-melodic-rgbd-launch ros-melodic-depthimage-to-laserscan ros-melodic-rosserial-arduino ros-melodic-rosserial-python ros-melodic-rosserial-server ros-melodic-rosserial-client ros-melodic-rosserial-msgs ros-melodic-amcl ros-melodic-map-server ros-melodic-move-base ros-melodic-urdf ros-melodic-xacro ros-melodic-compressed-image-transport ros-melodic-rqt-image-view ros-melodic-gmapping ros-melodic-navigation ros-melodic-interactive-markers
sudo apt-get install ros-melodic-cartographer ros-melodic-cartographer-ros ros-melodic-cartographer-ros-msgs ros-melodic-cartographer-rviz
---------------------------------------
rosrun rqt_tf_tree rqt_tf_tree
rosrun tf tf_echo odom base_footprint
rosrun tf tf_monitor base_footprint base_link
---------------------------------------
sudo chmod 666 /dev/ttyUSB0
roslaunch rplidar_ros view_rplidar.launch
roslaunch rplidar_ros rplidar.launch
rosrun rplidar_ros rplidarNodeClient
---------------------------------------
Problem with catkin profiles:
sudo rm -rf /home/<user>/.catkin_tools