Skip to content

hzobrist/TheResistance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Resistance Code Repo

To find the Resistance Code Repo README, click here.

The robot's code is in the subscriber/scripts folder. The AI is contained in subscriber/scripts/fieldListener.py. The python function reacts to the updated states of the robots and ball.

The Vision code is contained in publisher/src/fieldTalker.cpp

The best approach to reusing this code would be to install ROS and OpenCV, and then go through various tutorials.

  • Follow the directions on the class wiki How to Install ROS and How to Install OpenCV.
  • Follow the various tutorials for using ROS topics, messages, services, and publishers and subscribers on the ROS website Publishers and Subscribers.
  • Follow the various tutorials for OpenCV as suggested in the class wiki page for vision.
  • Using the files fieldListener.py and fieldTalker.cpp is best done by the following
    • Set up your own catkin workspaces first.
    • Add files or code to your workspace.
    • Update your CMakeLists.txt and package.xml files to work with those files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published