vanderbiltrobotics / motor_control

ROS catkin package containing the CTRE Phoenix libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

ROS catkin package containing the CTRE Phoenix libraries

License:MIT License


Languages

Language:C++ 95.8%Language:CMake 2.3%Language:C 1.7%Language:Python 0.2%