kopia lustrzana https://github.com/Hamlib/Hamlib
![]() Thw warning was: CC meade.lo ../../hamlib/meade/meade.c:226:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5) ^ ../../hamlib/meade/meade.c:226:8: note: use function 'fabsf' instead if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5) ^~~ fabsf ../../hamlib/meade/meade.c:226:41: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5) ^ ../../hamlib/meade/meade.c:226:41: note: use function 'fabsf' instead if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5) ^~~ fabsf 2 warnings generated. |
||
---|---|---|
.. | ||
Android.mk | ||
Makefile.am | ||
README.md | ||
meade.c | ||
meade.h |
README.md
Meade Telescope Rotator Module
This module interfaces Meade telescope rotator via the LX200 serial protocol.
These rotators can easily be modified to carry antennas instead of telescopes.
Usage
- Set the telescope manually to show to north with 0 degree elevation
- Connect the Autosar and the serial cable with the telescope and control PC
- Turn on telescope rotator
- Press
Speed
on the Autosar to accept "Don't look into the sun" warning - Press
Mode
a couple of times until the Autosar display showsObject
- Start
rigctl
orrigctld
with the arguments-m 1801 -s <Serial Interface>
Have Fun.
Hints
- The rotator has no lock on 360 degree azimuth. For example, if you go form 359 degree to 002 degree, it will go the short way. That means it is possible to make several rotations in the same directions. Please have a kind look on your cables and don't use the rotator unattended!
- If a new position gets sent to the rotor while it is in movement, it moves immediately to the new position, but stores the old one and moves again to the old one after the new position is reached. To avoid this, a
Stop all movement
command gets executed if a position update reaches the rotator while in movement. That can cause a choppy movement when going to a new position which is far away.
LX200 Protocol
2003 Protocol Verison 2010 Protocol Verison
Current Status
The current status is ALPHA. It is tested with Meade DS-2000 with Autosar 494 (2003 Firmware) and Meade 506 i2c to RS232 interface cable, tested under Linux with rotctl and gpredict.
What works good:
set_position
works for azimuth and elevation (0-360,0-90 degree), high frequent update (<2s) can cause sometimes unexpected behavior.get_position
works mostly fine, sometime the elevation gets not read properlyinit
,cleanup
,get_info
work as expectedopen
sends all setup commands needed for nowclose
stops all movement of the rotormeade_stop
stops finepark
,reset
move the rotor to home position (north, elevation 0)
What works with some problems:
move
works fine for elevation, but for azimuth it will sometimes move in the wrong direction caused by the short way movement.