Commit 928a50093ceb364f303d3a4d019cebec95cc7da5
1 parent
a6a8ba5ffa
Exists in
master
Reverted back laser_sigma_hit & original base_scan
Showing 6 changed files with 6 additions and 7 deletions Side-by-side Diff
launch/solution_python.launch
View file @
928a500
... | ... | @@ -5,7 +5,6 @@ |
5 | 5 | <node pkg="cse_190_assi_2" type="robot.py" name="particle_filter_localization" output="screen" required="true"/> |
6 | 6 | <node pkg="stage_ros" type="stageros" name="stageros" args="$(arg world_file)"> |
7 | 7 | <param name="base_watchdog_timeout" value="1000"/> |
8 | - <remap from="base_scan" to="original_scan"/> | |
9 | 8 | </node> |
10 | 9 | <node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)"> |
11 | 10 | <param name="frame_id" value="/map"/> |
scripts/configuration.json
View file @
928a500
scripts/configuration1.json
View file @
928a500
scripts/configuration2.json
View file @
928a500
scripts/configuration3.json
View file @
928a500
scripts/laser_model.py
View file @
928a500
... | ... | @@ -13,8 +13,8 @@ |
13 | 13 | self.config = read_config() |
14 | 14 | r.seed(self.config['seed']) |
15 | 15 | self.laser_sigma_hit = self.config['laser_sigma_hit'] |
16 | - rospy.Subscriber('original_scan', LaserScan, self.scan_callback) | |
17 | - self.base_scan_pub = rospy.Publisher('base_scan', LaserScan, queue_size = 10) | |
16 | + rospy.Subscriber('base_scan', LaserScan, self.scan_callback) | |
17 | + self.base_scan_pub = rospy.Publisher('base_scan_with_error', LaserScan, queue_size = 10) | |
18 | 18 | rospy.spin() |
19 | 19 | |
20 | 20 | def scan_callback(self, laser_scan): |