Issues.00131 - lordmundi/wikidoctest GitHub Wiki

00131: request for trails / breadcrumb option

« 00130 | Issues | 00132 »

Summary: request for trails / breadcrumb option

Created: 2009–02–13 16:35

Status: Released

Category: Request

From: frankie

Version: 2.0

Released_In: 2.2

Description:

this is a feature request to allow trails of nodes to be drawn which show historical position of one node in some other frame.


Comments

jlmaclean July 07, 2010, at 12:37 PM:

Files: dsp_trail.c, dsp_trail.h, trails.tcl

dsp_trail plug-in contains three trails that can me modified to visually track nodes in DOUG either through tcl commands or through the provided GUI. The GUI is opened by selecting Options→Trail-atron.

Tcl Commands:

doug.plugin dsp_trail trail_number set/reset/get **-**command

reset acts the same as set except it empties the trail of points before processing the commands

trail_number : Determines the which trail will be modified. There are currently three trails available numbered 0, 1, and 2. frankie June 05, 2013, at 10:08 AM: Update: After EDGE version 2.3, this has been upgraded to 20 trails. See issue Issues.00441 for more info.

set/reset/get

-node_name name : Takes/Returns the name in the form of a string of the node to be tracked. If the node cannot be found the trail will be unchanged. If the node is found the points that tracked the last node will be deleted.

-ref_name name : Takes/Returns the name in the form of a string of the node to be used as a reference. If the node cannot be found the trail will be unchanged. If the node is found the points that tracked the last node will be deleted.

-distance #distance : Takes/Returns a float that determines how far the tracking node must be from the position of the last point to draw another point.

-enabled #enabled : Takes/Returns a 1 or 0. A 1 set the trail to be enabled and visible. A zero makes the trail invisible.

size #size : Takes/Returns a GL float that sets the size of the trail being drawn. The size can be form 1.0 to 10.0.

-max_samples #max : Takes/Returns in one argument as an integer. It sets the maximum number of points the trail will record before deleting points. If the trail has more than the new maximum then the extra points will be deleted when the next point is recorded.

-color #red #green #blue : Takes/Returns three arguments as integers. The integer's value must be from 0 to 254.

-add_point #x #y #z : Takes/Returns three arguments as floats. It adds a new point to the trail. The numbers determine the coordinates of the point in the trails frame of the reference node.

get

-num_points : Returns the number of points in the trail.

Examples:

doug.plugin dsp_trail 1 set -ref_name EARTH_CENTER -node_name SSREF -distance 10 -color 254 254 0 -enabled 1 -max_samples 5000

« 00130 | Issues | 00132 »

Associated Commits

| commit | 5d849964ee4437d84a796b69610e9e1ff49e59c7 link7 | || | Author: | Frankie Graffagnino | | Date: | Fri Sep 10 16:58:05 2010 -0500 | | Message: | [@Issue 00131: Updated trail to fix seg fault @] |

Affected Files:

plugin_Linux_FC3/dsp_trail.so | Bin 41703 -> 41937 bytes
 src.dist/plugins/dsp_trail.c  |  17 ++++++++++++++±-
 2 files changed, 15 insertions(+), 2 deletions(-)

| commit | 6c7ec229581557e1db38c23fa5f22f08540950f9 link8 | || | Author: | Frankie Graffagnino | | Date: | Fri Sep 10 16:34:25 2010 -0500 | | Message: | [@Issue 00131: Updated source for previous commit @] |

Affected Files:

src.dist/plugins/dsp_trail.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

| commit | 8eb0988504f9ae0cd3bde4f3c5664c49a42b385a link9 | || | Author: | Frankie Graffagnino | | Date: | Fri Sep 10 16:31:34 2010 -0500 | | Message: | [@Issue 00131: Recompiled trail plugin for FC3 @] |

Affected Files:

plugin_Linux_FC3/dsp_trail.so | Bin 0 -> 41703 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

| commit | 9cf415e7b9154a891e35f6e3eaf7e6e7e6d2f983 link10 | || | Author: | James L Maclean | | Date: | Thu Jul 8 17:29:16 2010 -0500 | | Message: | [@Issue 00131: Allow the trail plugin to be compatible with the safer plugin Add tcl command to the trail plugin to change the size of the trail. @] |

Affected Files:

gui/trails.tcl               | 36 +++++++++++±-----------
 src.dist/plugins/dsp_trail.c | 67 +++++++++++++++++++++++++++++++++++±-------
 2 files changed, 73 insertions(+), 30 deletions(-)

| commit | 170fb5d8964a5555e3c668cea31f9372b71d6654 link11 | || | Author: | James L Maclean | | Date: | Wed Jul 7 17:14:10 2010 -0500 | | Message: | [@Issue 00131: Add error checking and status messages to the trial plugin @] |

Affected Files:

gui/trails.tcl               | 97 ++++++++++++++++±--------------------------
 src.dist/plugins/dsp_trail.c | 63 ++++++++++++++++++±--------
 userdata/user_env.csh        |  1 -
 3 files changed, 81 insertions(+), 80 deletions(-)

| commit | 334bd4b9eb3ffba6167ac4e10dbcf796ae024243 link12 | || | Author: | James L Maclean | | Date: | Tue Jul 6 15:27:14 2010 -0500 | | Message: | [@Issue 00131: Added trail/breadcrumb support Modified the dsp_trail plugin to update trails and take tcl commands Added a GUI for the trails plugin @] |

Affected Files:

cev.cfg                       |   2 +
 gui/trails.tcl                | 348 ++++++++++++++++++++
 src.dist/includes/dsp_trail.h |  46 +++
 src.dist/plugins/dsp_trail.c  | 733 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 1129 insertions(+)