Skip to content

Dump recordings of the competition to a video file.

Notifications You must be signed in to change notification settings

Hypochondriac-Hippos/recorder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Follow instructions below, but don't install in ~/ros_ws. Run record_sim.sh to record a video of the simulation. Videos are saved to ~/Videos/353_recordings/start UTC datetime.avi.

2020T1 UBC Parking competition

The repository contains the following ROS packages:

Folders Description
enph353_gazebo describes simulation world
enph353_npcs describes and controls pedestrian and Ford truck
enph353_utils contains competition startup scripts
adeept_awr describes and controls simulated Adeept AWR robot
adeept_awr_ros_driver controls real world Adeept AWR robot

Installation instructions:

** Prerequisites: Ubuntu 18.04 with ROS Melodic installed **

  • If you do not have a workspace already create one in your home directory.
mkdir -p ~/ros_ws/src
cd ~/ros_ws/src
  • Clone the repository into a catkin workspace src folder.
git clone https://github.com/ENPH353/2020T1_competition.git
  • Build the packages
roscd; cd ..
catkin_make
  • Source the environment
source devel/setup.bash
  • Start the simulated world
cd src/2020T1_competition/enph353/enph353_utils/scripts
./run_sim.sh -vpg

The available options are:

Option Description
-v spawn vehicle
-p spawn pedestrian
-g generate new license plates
  • Start the score tracking app Open a new tab in the current terminal window by pressing Ctrl+Shift+T The new terminal should already be in:
~/ros_ws/src/2020T1_competition/enph353/enph353_utils/scripts

Launch the score tracking app:

./score_tracker.py

About

Dump recordings of the competition to a video file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.3%
  • CMake 42.9%
  • C++ 5.8%
  • Shell 3.0%