Skip to content

DuneV/Sub_codes_2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Submarine Repository

This repository corresponds to a series of open source code developed in python and c++ for systems based on ROS2 and other platforms for the project Submarine belong to ROBOCOL Uniandes. Each package will have its execution requirements or possible libraries necessary for the construction and execution of these.

Starting 🚀

To run most scripts you need to have them in a ROS workspace,downloading the respective package.

Pre-requirements 📋

Needed

Python 3.8
Ubuntu 22.04 
ROS2 Humble
VS code with PlatfomIO extension 1.8 higher

Download links

Recommend to use a Code Editor

Installation and pre-requisites 🔧

_Be sure that you have install those pkgs

sudo pip install ds4drv
sudo pip install opencv-python

The first step is to clone the repository to a folder of your choice.

Look for the folder that you want to beand in the terminal

https://github.com/DuneV/Sub_codes_2023.git

Second, enter to the folder

cd /folderle_of_preference

Third, copy this file with the next command (case package)

cp avr /source_folder(package)  /destination_folder(workspace_ws/src)

Run Test⚙️

Enter to your workspace

colcon build

Troubleshooting 🔩

You may not have all the necessary libraries and packages, you can download a package manager like pip to the python libraries (pynput, pytteseract, rosserial, cv2, cvbridge, threading, etc.) or sudo apt-get install ros_distribution-package-ersion

sudo pip install ds4drv

STM32 execution ⌨️

  1. Open STMCubeIDE editor
  2. Open the file as a new project on workspace
  3. Adjust the STM32HardwareFile for your board.
  4. Upload the project.
  5. run the rosserial_python, and the subcribers/publisher are going to with STM.

License 📄

This project is under the Public License - mira el archivo LICENSE.md for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published