[Hamlib-developer] CVS RotorEZ results
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Orv B. <or...@or...> - 2003-02-13 23:51:06
|
Nate, Stephane - thanks for the pointers on working with CVS code. My excuse for not reading the README.developers is that in no way do I consider myself a developer :-) But I read it, followed it, and got a successful compile. Nate, here's some results from the latest RotorEZ code. You'll note that while most things are looking pretty good now, there's a offset between what's sent to the rotor, and what's received back. I don't know if that's just conversion error or what. It does seem to get larger as the azimuth gets larger. That could just be linear error in the direction resistance coming down from the rotor, though.. I'll do a little more investigation when I get into the shack, probably tomorrow. (I'm doing this from work - putty is your friend :-D ) 73 - Orv - W6BI --------------------- [obeach@jake tests]$ ./rotctl -m 401 -r /dev/ttyS0 -s 4800 -vvvv rot:rot_init called rot: loading backend rotorez initrots_rotorez called rot_register (401) rot_register (402) rot_register (403) rotorez_rot_init called rot:rot_open called Opened rot model 401, 'Rotor-EZ' Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 30 34 33 ;043 rotorez_rot_get_position: "043" after conversion = 43.0 rotorez_rot_get_position: azimuth = 43.0 deg; elevation = 0.0 deg Azimuth: 43.000000 Elevation: 0.000000 Rot command: P Azimuth: 0000 Elevation: 000 rotorez_rot_set_position called rotorez_send_priv_cmd called TX 7 bytes 0000 41 50 31 30 30 30 3b AP1000; rotorez_send_priv_cmd called TX 4 bytes 0000 41 4d 31 3b AM1; Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 33 36 30 ;360 rotorez_rot_get_position: "360" after conversion = 360.0 get_pos: error = Invalid parameter <--- 'cause I sent 4 digits?? Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 30 30 30 ;000 rotorez_rot_get_position: "000" after conversion = 0.0 rotorez_rot_get_position: azimuth = 0.0 deg; elevation = 0.0 deg Azimuth: 0.000000 Elevation: 0.000000 Rot command: P Azimuth: 090 Elevation: 000 rotorez_rot_set_position called rotorez_send_priv_cmd called TX 7 bytes 0000 41 50 31 30 39 30 3b AP1090; rotorez_send_priv_cmd called TX 4 bytes 0000 41 4d 31 3b AM1; Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 30 38 39 ;089 rotorez_rot_get_position: "089" after conversion = 89.0 rotorez_rot_get_position: azimuth = 89.0 deg; elevation = 0.0 deg Azimuth: 89.000000 Elevation: 0.000000 Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 30 38 39 ;089 rotorez_rot_get_position: "089" after conversion = 89.0 rotorez_rot_get_position: azimuth = 89.0 deg; elevation = 0.0 deg Azimuth: 89.000000 Elevation: 0.000000 Rot command: P Azimuth: 090 Elevation: 000 rotorez_rot_set_position called rotorez_send_priv_cmd called TX 7 bytes 0000 41 50 31 30 39 30 3b AP1090; rotorez_send_priv_cmd called TX 4 bytes 0000 41 4d 31 3b AM1; Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 30 38 39 ;089 rotorez_rot_get_position: "089" after conversion = 89.0 rotorez_rot_get_position: azimuth = 89.0 deg; elevation = 0.0 deg Azimuth: 89.000000 Elevation: 0.000000 Rot command: P Azimuth: 100 Elevation: 000 rotorez_rot_set_position called rotorez_send_priv_cmd called TX 7 bytes 0000 41 50 31 31 30 30 3b AP1100; rotorez_send_priv_cmd called TX 4 bytes 0000 41 4d 31 3b AM1; Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 30 39 39 ;099 rotorez_rot_get_position: "099" after conversion = 99.0 rotorez_rot_get_position: azimuth = 99.0 deg; elevation = 0.0 deg Azimuth: 99.000000 Elevation: 0.000000 Rot command: P Azimuth: 270 Elevation: 000 rotorez_rot_set_position called rotorez_send_priv_cmd called TX 7 bytes 0000 41 50 31 32 37 30 3b AP1270; rotorez_send_priv_cmd called TX 4 bytes 0000 41 4d 31 3b AM1; Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 32 37 33 ;273 rotorez_rot_get_position: "273" after conversion = 273.0 rotorez_rot_get_position: azimuth = 273.0 deg; elevation = 0.0 deg Azimuth: 273.000000 Elevation: 0.000000 Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 32 37 33 ;273 rotorez_rot_get_position: "273" after conversion = 273.0 rotorez_rot_get_position: azimuth = 273.0 deg; elevation = 0.0 deg Azimuth: 273.000000 Elevation: 0.000000 Rot command: p rotorez_rot_get_position called rotorez_send_priv_cmd called TX 4 bytes 0000 41 49 31 3b AI1; RX 4 bytes 0000 3b 32 37 33 ;273 rotorez_rot_get_position: "273" after conversion = 273.0 rotorez_rot_get_position: azimuth = 273.0 deg; elevation = 0.0 deg Azimuth: 273.000000 Elevation: 0.000000 |