Skip to content

Machine-Learning-Robot-Competition/2024_competition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2024 Fizz Detective competition [IN PROGRESS]

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 20.04 with ROS Noetic 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/2024_competition.git
  • Build the packages
cd ~/ros_ws
catkin_make

Starting the competition:

  • Source the environment
source devel/setup.bash
  • Start the simulated world
cd src/2024_competition/enph353/enph353_utils/scripts
./run_sim.sh -vpg

The available options are:

Option Description
-v spawn vehicle
-p spawn pedestrian
-g generate new 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/2024_competition/enph353/enph353_utils/scripts

Launch the score tracking app:

./score_tracker.py

Shutting down the competition:

I suggest you create an alias in your .bashrc file to terminate all the processes related to Gazebo and ROS. Adding something like below should be sufficient:

alias killjim="pkill -f gzserver; pkill -f gzclient; killall -9 rosout roslaunch rosmaster gzserver nodelet robot_state_publisher gzclient"

Then when you need to stop the simulation call

killjim

from a new terminal.

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 48.0%
  • Python 43.3%
  • C++ 6.5%
  • Shell 2.2%