Jacob Hernandez
/
mbed_ROS_project
Revision 1:329d0048c970, committed 2017-10-18
- Comitter:
- jacobepfl1692
- Date:
- Wed Oct 18 14:09:27 2017 +0000
- Parent:
- 0:ca1fcf93fe5a
- Commit message:
- 18th Oct 2017 -- st
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
ros_lib_kinetic.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r ca1fcf93fe5a -r 329d0048c970 main.cpp --- a/main.cpp Wed Oct 18 13:51:39 2017 +0000 +++ b/main.cpp Wed Oct 18 14:09:27 2017 +0000 @@ -37,7 +37,7 @@ //! These values were fine tuned for the current state of the hall sensors in the interface... adc_msg.adc0 = (uint16_t)((averageAnalog(_ADC0)-11000)*1.3725); adc_msg.adc1 = (uint16_t)((averageAnalog(_ADC1)-16000)); - adc_msg.adc2 = (uint16_t)((averageAnalog(_ADC2)-6700)*1.107209); + adc_msg.adc2 = (uint16_t)((averageAnalog(_ADC2)-6700)*1.435270); adc_msg.adc3 = (uint16_t)((averageAnalog(_ADC3)-15000)*1.94747); adc_msg.adc4 = (uint16_t)((averageAnalog(_ADC4)-1300)*1.32646); adc_msg.adc5 = (uint16_t)((averageAnalog(_ADC5)-1500)*1.20977);
diff -r ca1fcf93fe5a -r 329d0048c970 ros_lib_kinetic.lib --- a/ros_lib_kinetic.lib Wed Oct 18 13:51:39 2017 +0000 +++ b/ros_lib_kinetic.lib Wed Oct 18 14:09:27 2017 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/jacobepfl1692/code/ros_lib_kinetic/#8859e33bc311 +https://os.mbed.com/users/jacobepfl1692/code/ros_lib_kinetic_2/#8859e33bc311