Skip to content
This repository has been archived by the owner on Apr 28, 2019. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 1.38 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.38 KB

IMPORTANT: This package has been moved into the repository NASA-RMC-2018-2019. Further development should be done within that repository

motor_control

ROS catkin package, containing the CTRE Phoenix libraries.

How to build

Note, that this repository uses the catkin command instead of catkin_make. You can read more about this distinction here.

  1. This is a catkin project, therefore you will need a catkin workspace. If you already have a catkin workspace, skip this step.
mkdir -p catkin_ws/src  # Create catkin_ws and catkin_ws/src directories
cd catkin_ws
catkin init             # Intialize the workspace
  1. You then need to clone this repository into the src directory of your catkin workspace. Make sure to execute this command from inside the top level of the workspace.
git clone https://github.com/vanderbiltrobotics/motor_control.git src/motor_control
  1. Finally, you can build your workspace with:
catkin build

Running a node

This repository contains a motor_control_test_node for testing basic functionality. It can be run with:

catkin build             # Make sure that your workspace is built
source devel/setup.bash  # Setup enviroment to find your built nodes
rosrun motor_control motor_control_test_node