Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add VESC telemetry message type
- Loading branch information
Michael Boulet
committed
Nov 28, 2015
1 parent
c271b39
commit 77a631c
Showing
4 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Vedder VESC open source motor controller telemetry | ||
|
||
# fault codes | ||
int32 FAULT_CODE_NONE=0 | ||
int32 FAULT_CODE_OVER_VOLTAGE=1 | ||
int32 FAULT_CODE_UNDER_VOLTAGE=2 | ||
int32 FAULT_CODE_DRV8302=3 | ||
int32 FAULT_CODE_ABS_OVER_CURRENT=4 | ||
int32 FAULT_CODE_OVER_TEMP_FET=5 | ||
int32 FAULT_CODE_OVER_TEMP_MOTOR=6 | ||
|
||
Header header | ||
float32 voltage_input # input voltage (volt) | ||
float32 temperature_pcb # temperature of printed circuit board (degrees Celsius) | ||
float32 current_motor # motor current (ampere) | ||
float32 current_input # input current (ampere) | ||
float32 speed # motor electrical speed (revolutions per minute) | ||
float32 duty_cycle # duty cycle (0 to 1) | ||
float32 charge_drawn # electric charge drawn from input (ampere-hour) | ||
float32 charge_regen # electric charge regenerated to input (ampere-hour) | ||
float32 energy_drawn # energy drawn from input (watt-hour) | ||
float32 energy_regen # energy regenerated to input (watt-hour) | ||
int32 displacement # net tachometer (counts) | ||
int32 distance_traveled # total tachnometer (counts) | ||
int32 fault_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters