Gathiyo / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Cannot write CAM_P_G and CAM_R_G to eeprom #351

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Arducoper NG or ACM? ACM
What steps will reproduce the problem?
1. Trying to change the gain for camera gimball servos
2. changed 1 to 1.2 
3. Mission Planner gives and error as it cannot write

What is the expected output? What do you see instead?
expected ouptut should update the var value, but it does not.

What version of the product are you using? On what operating system?
MP 1.1.37 and AC 2.4 (git version)

Please provide any additional information below.

Original issue reported on code.google.com by ruicravo...@gmail.com on 18 Feb 2012 at 5:18

Attachments:

GoogleCodeExporter commented 8 years ago
Randy was able to reproduce this bug. 

Original comment by rmackay...@gmail.com on 19 Feb 2012 at 3:29

GoogleCodeExporter commented 8 years ago
Ok, the cause is that we have a conflict betwen the CAM_P_* parameters for the 
servos and the CAM_P_G and CAM_R_G parameters for the gains.

The simple solution is to just rename CAM_P_G and CAM_R_G to CAM_PIT_G and 
CAM_RLL_G.  The "better" solution would be to enhance the parameters handling 
so it can deal with this.

Still looking into the 'better' solution before proceeding with the easy fix.

Original comment by rmackay...@gmail.com on 26 Feb 2012 at 4:26

GoogleCodeExporter commented 8 years ago
Tridge fixed this and checked in the fix to trunk (see link below).  It should 
appear in the next release (2.4.2?) whenever that goes out (1 week?).

https://code.google.com/p/ardupilot-mega/source/detail?r=01c35e237db7c15920c1deb
7597460828c331ad5

Original comment by rmackay...@gmail.com on 27 Feb 2012 at 4:21

GoogleCodeExporter commented 8 years ago
Issue 383 has been merged into this issue.

Original comment by rmackay...@gmail.com on 14 Mar 2012 at 2:21