bubgum / crw-cmu

Automatically exported from code.google.com/p/crw-cmu
0 stars 0 forks source link

Cannot set PID gains from the teleop frame and from the client #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since the new UDP server ver, the PID gains cannot be set from the client or 
from the teleop frame. They can only be set from the debug interface in the 
server. Incase the gains have to be tuned, the boats have to be brought to the 
shore each time to change the values.

Original issue reported on code.google.com by abhinav....@gmail.com on 12 Mar 2012 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by abhinav....@gmail.com on 12 Mar 2012 at 6:56

GoogleCodeExporter commented 9 years ago
The airboat server looks like its receiving an address rather than the desired 
axis in its getGains(int axis) function. Looking at UdpVehicleServer's 
function, it just writes the UdpConstant string (not the axis) to the 
UdpService, which reads it as an int. I'm not familiar with the whole request 
response system so I'm not sure how best to change this 

Original comment by osman.kh...@gmail.com on 26 Jul 2012 at 6:01

GoogleCodeExporter commented 9 years ago
Fixed bug by adding an additional statement to the response variable in the 
UdpVehicleServer getGains function. 

Original comment by osman.kh...@gmail.com on 26 Jul 2012 at 6:39

GoogleCodeExporter commented 9 years ago
Fixed in r786

Original comment by osman.kh...@gmail.com on 26 Jul 2012 at 6:58