Skip to content

Commit 2ea29ce

Browse files
authored
Merge pull request #18 from byu-magicc/jacob/add-cosmo-score
Add cosmo's score
2 parents 67aa00d + a4f1354 commit 2ea29ce

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ install(
3030
DIRECTORY resource
3131
DESTINATION share/${PROJECT_NAME})
3232

33+
install(
34+
DIRECTORY launch
35+
DESTINATION share/${PROJECT_NAME})
36+
3337
install(PROGRAMS
3438
scripts/walls_sensor.py
3539
DESTINATION lib/${PROJECT_NAME})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ This means that a large minimum distance and a small time will result in a highe
5050
<!-- The leaderboard below is automatically generated. Do not edit manually. -->
5151
| Rank | Name | Minimum distance from walls (m) | Best time (s) | GitHub | Video Link |
5252
|------|------|------------------|----------------|---------|----------|
53-
| 1 | Cosmo | 2.0 | 177.2 | [repo](https://github.com/byu-magicc/onboarding_project) | [video](https://youtube.com) |
53+
| 1 | Cosmo | 2.5 | 44.5 | [repo](https://github.com/byu-magicc/onboarding_project) | [video](https://youtu.be/GJZMzQYB5zI) |
5454

5555
<!-- LEADERBOARD:END -->

docs/leaderboard_results.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
},
99
{
1010
"name": "Cosmo",
11-
"minimum_dist_meters": 0.01,
12-
"time_s": 64.3,
11+
"minimum_dist_meters": 2.5,
12+
"time_s": 44.5,
1313
"github": "https://github.com/byu-magicc/onboarding_project",
14-
"video": "https://youtube.com"
14+
"video": "https://youtu.be/GJZMzQYB5zI"
1515
}
1616
]
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import os
2+
import sys
3+
from launch import LaunchDescription
4+
from launch.actions import DeclareLaunchArgument
5+
from launch.substitutions import LaunchConfiguration
6+
from launch_ros.actions import Node
7+
8+
def generate_launch_description():
9+
10+
walls_sensor_node = Node(
11+
package='onboarding_project',
12+
executable='walls_sensor.py',
13+
name='walls_sensor',
14+
output='screen',
15+
)
16+
walls_publisher_node = Node(
17+
package='onboarding_project',
18+
executable='rviz_hallway_publisher',
19+
name='rviz_hallway_publisher',
20+
output='screen',
21+
)
22+
23+
return LaunchDescription([
24+
walls_sensor_node,
25+
walls_publisher_node,
26+
])
27+

0 commit comments

Comments
 (0)