← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 1083301] Re: wrong vis. routine: single dipole no rotational symmetry

 

** Changed in: antennavis (Ubuntu)
     Assignee: (unassigned) => Bohumir Jelinek (bohumir)

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to antennavis in Ubuntu.
https://bugs.launchpad.net/bugs/1083301

Title:
  wrong vis. routine: single dipole no rotational symmetry

Status in “antennavis” package in Ubuntu:
  New

Bug description:
  Dear Antennavis maintainers,

  I am Bohumir, co-author of http://yagi-logper.sourceforge.net/.
  Thanks for maintaining antennavis package. I am fond of antennavis.

  I believe I found a small bug in the antennavis visualization routines.
  It appears, for example, when you give Antennavis a single dipole as input, as
  attached. Result should be a rotationally symmetric around the axis of
  the dipole, but it is not.

  Following three lines, in PlotPoint() function, VisField.c file are
  wrong:

     glRotatef(azimuth, 0.0, 1.0, 0.0);
     glRotatef(elevation, 1.0, 0.0, 0.0);
     glTranslatef(0.0, 0.0, dist * POINT_DIST_SCALE);

  They should be replaced by:

     glRotatef(elevation, 0.0, 1.0, 0.0);
     glRotatef(azimuth, 0.0, 0.0, -1.0);
     glTranslatef(0.0, dist * POINT_DIST_SCALE, 0.0);

  The above change will fix the problem.

  I would be very glad if you can implement the above change.
  I can supply it in a form of patch if needed.

  Best,
  -Bohumir
    http://www.cavs.msstate.edu/directory/information.php?eid=69

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/antennavis/+bug/1083301/+subscriptions


References