Skip to content

H180 class: calculated self.az_count, self.el_count values not passed to next command (tracking object) construction #24

@AlexKurek

Description

@AlexKurek

Values of self.az_count and self.el_count calculated here:
https://github.com/MITHaystack/srt-py/blob/master/srt/daemon/rotor_control/motors.py#L446
are not passed to here:
https://github.com/MITHaystack/srt-py/blob/master/srt/daemon/rotor_control/motors.py#L396
https://github.com/MITHaystack/srt-py/blob/master/srt/daemon/rotor_control/motors.py#L410
for subtraction - to calculate the next (tracking) command. So the value of 0 is subtracted and the commands sent to the serial port are e.g (first two are Direct Point, third is for tracking):

move 1 396
move 3 54
move 1 396

etc., whereas they should be:

move 1 396
move 3 54
move 1 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions