Skip to content

Team488/WindowFrame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindowFrame

ROS2 and Gazebo packages, and dependencies for building C++ projects on Windows 10

Packages

Prerequisites

  1. Allow running downloaded PowerShell scripts
    1. Open an Admin PowerShell window and run Set-ExecutionPolicy -ExecutionPolicy Unrestricted
  2. Download and install Git LFS for storing binary files
  3. Visual Studio for editing and building
    1. Depending on your preference, install either Visual Studio or both Visual Studio Code and Build Tools for Visual Studio (not the main download; look under Tools for Visual Studio 2019)
    2. Open "Visual Studio Installer", modify your Visual Studio installation, and install the "Desktop development with C++" or "C++ build tools" workload
  4. Python dependencies for ROS2 (adapted from https://index.ros.org/doc/ros2/Installation/Dashing/Windows-Install-Binary)
    1. Install Chocolatey in an Admin PowerShell window
      > iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    2. Install Visual C++ Redistributables
      > choco install -y vcredist2013 vcredist140
    3. Install Python 3.7.5 (this must be installed via Chocolatey)
      > choco install python --version=3.7.5
    4. Install CLI dependencies
      > pip install -U catkin_pkg cryptography empy ifcfg lark-parser lxml netifaces numpy opencv-python pyparsing pyyaml setuptools
    5. Install RQT dependencies
      > pip install -U pydot PyQt5
    6. Install colcon
      > pip install -U colcon-common-extensions

Usage

Right-click WindowFrame.ps1 and select "Run with PowerShell".

This will open and configure an Admin PowerShell window ready to:

  • Run ROS2
    • ros2
    • rviz2
    • rqt
    • rqt_graph
  • Run Gazebo
    • gazebo [<path_to_world>] [--verbose]
  • Build with included packages (in VS Code or via the command line)
    > mkdir build
    > cd build
    > cmake .. -G "NMake Makefiles"
    > nmake

Troubleshooting

Construction

For constructing or updating WindowFrame, check out construction.

About

Dependencies for C++ projects on Windows 10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published