Issues.00319 - lordmundi/wikidoctest GitHub Wiki

00319: request to unify pan tilt nodes for cameras between tcl and dsp

« 00318 | Issues | 00320 »

Summary: request to unify pan tilt nodes for cameras between tcl and dsp

Created: 2011–01–20 09:07

Status: Released

Category: Request

From: frankie

Version: 2.1

Released_In: 2.2

Description:

right now, a camera can have dedicated nodes for pan and tilt, but this is specified via config files to tell dsp this information, and via tcl scripts to tell the tcl keybinds this information.

this is a request to somehow unify this information. The tcl script have more info such as pan and tilt limits and also sign negation.

Ideally, dsp would know about all this and enforce the limits so that even if cameras are commanded from a sim or via tcl scripts, limits would still be enforced. But this would require more fields on the camera config lines and potentially a change to headers, which i'm not sure we want.

Perhaps the first step might be a tcl command that lets a tcl script query dsp for the pan and tilt nodes for a camera. Then, the keybinds.tcl script could populate those tcl arrays of pan and tilt nodes automatically. Then the user would specify the limits to the tcl scripts in addition.

Another idea might be to write a camera commanding plugin which does all the same stuff of keybinds.tcl and enforces limits. Then camera commanding in tcl could be done by making calls to the plugin.


Comments

brad January 20, 2011, at 03:20 PM: It is done. Two new options have been added to the 'doug.camera get' command, 'doug.camera camA get -pan_node' will return the node that DSP has as the camera's pan node and 'doug.camera camA get -tilt_node' will return the node that DSP thinks camA has as a tilt node (both of which may not be the camera itself).'''


« 00318 | Issues | 00320 »

Associated Commits

| commit | ee8a8e10c519b3e84a56b3d5a0b2dc78590685b7 [link] | || | Author: | Brad Bell | | Date: | Thu Jan 20 08:53:35 2011 -0600 | | Message: | [@Issues 00317, 50198, 00319: The new options to 'doug.camera get' command are '-pan_node' '-tilt_node' @] |

Affected Files:

bin_Linux_FC3/doug                 | Bin 649865 -> 653813 bytes
 bin_Linux_FC3/dsp_baseline         | Bin 28596 -> 28592 bytes
 bin_Linux_FC3/dsp_cache            | Bin 17096 -> 17096 bytes
 bin_Linux_FC3/dsp_cleanup          | Bin 13702 -> 13698 bytes
 bin_Linux_FC3/dsp_cmd              | Bin 33801 -> 33797 bytes
 bin_Linux_FC3/dsp_manager          | Bin 87678 -> 87678 bytes
 bin_Linux_FC3/dsp_package          | Bin 21604 -> 21532 bytes
 bin_Linux_FC3/dsp_server           | Bin 137934 -> 137930 bytes
 bin_Linux_FC3/dsp_viewer           | Bin 69153 -> 70027 bytes
 bin_Linux_FC3/mywish               | Bin 12221 -> 12221 bytes
 bin_Win32/doug.exe                 | Bin 1780728 -> 1786872 bytes
 bin_Win32/dsp_manager.exe          | Bin 785615 -> 785615 bytes
 bin_Win32/dsp_package.exe          | Bin 867999 -> 867999 bytes
 lib_Linux_FC3/libdsp.a             | Bin 967548 -> 967508 bytes
 lib_Linux_FC3/libdsp_s.so          | Bin 807684 -> 807680 bytes
 lib_Linux_FC3/libmapservice.so     | Bin 2548463 -> 2548459 bytes
 lib_Linux_FC3/libtclcmds.a         | Bin 47126 -> 47146 bytes
 lib_Linux_FC3/libtclcmds_s.so      | Bin 40945 -> 40977 bytes
 lib_Linux_FC3/libviewer.a          | Bin 1079796 -> 1079760 bytes
 lib_Linux_FC3/libviewer_s.so       | Bin 911129 -> 911129 bytes
 lib_Win32/libdsp.dll               | Bin 2382403 -> 2382403 bytes
 lib_Win32/libmapservice.dll        | Bin 1369022 -> 1369022 bytes
 lib_Win32/libtclcmds.dll           | Bin 873933 -> 873933 bytes
 lib_Win32/libviewer.dll            | Bin 619520 -> 2378380 bytes
 lib_Win32/llibdsp_sup.dll          | Bin 24576 -> 776847 bytes
 plugin_Linux_FC3/dsp_acloader.so   | Bin 72880 -> 72880 bytes
 plugin_Linux_FC3/dsp_caminfo.so    | Bin 47429 -> 46781 bytes
 plugin_Linux_FC3/dsp_cammon.so     | Bin 26404 -> 25201 bytes
 plugin_Linux_FC3/dsp_canvas.so     | Bin 139199 -> 144183 bytes
 plugin_Linux_FC3/dsp_cctv.so       | Bin 81433 -> 81694 bytes
 plugin_Linux_FC3/dsp_domecal.so    | Bin 42564 -> 60943 bytes
 plugin_Linux_FC3/dsp_domewarp.so   | Bin 39163 -> 38388 bytes
 plugin_Linux_FC3/dsp_dotswap.so    | Bin 36867 -> 36991 bytes
 plugin_Linux_FC3/dsp_drawcanvas.so | Bin 101523 -> 115980 bytes
 plugin_Linux_FC3/dsp_drawstar.so   | Bin 53926 -> 53926 bytes
 plugin_Linux_FC3/dsp_fltloader.so  | Bin 52987 -> 52983 bytes
 plugin_Linux_FC3/dsp_flycam.so     | Bin 74871 -> 81399 bytes
 plugin_Linux_FC3/dsp_hslloader.so  | Bin 53130 -> 53126 bytes
 plugin_Linux_FC3/dsp_ideal.so      | Bin 27700 -> 25278 bytes
 plugin_Linux_FC3/dsp_joystick2.so  | Bin 19114 -> 17269 bytes
 plugin_Linux_FC3/dsp_jpegsave.so   | Bin 198108 -> 206441 bytes
 plugin_Linux_FC3/dsp_lodloader.so  | Bin 63977 -> 58544 bytes
 plugin_Linux_FC3/dsp_lstloader.so  | Bin 16529 -> 13483 bytes
 plugin_Linux_FC3/dsp_mapservice.so | Bin 11573 -> 11569 bytes
 plugin_Linux_FC3/dsp_noise.so      | Bin 27382 -> 26014 bytes
 plugin_Linux_FC3/dsp_overlays.so   | Bin 41033 -> 42902 bytes
 plugin_Linux_FC3/dsp_planet2.so    | Bin 495992 -> 495992 bytes
 plugin_Linux_FC3/dsp_platform.so   | Bin 32126 -> 29468 bytes
 plugin_Linux_FC3/dsp_poster2.so    | Bin 35382 -> 33651 bytes
 plugin_Linux_FC3/dsp_project.so    | Bin 29582 -> 31801 bytes
 plugin_Linux_FC3/dsp_record.so     | Bin 94792 -> 101620 bytes
 plugin_Linux_FC3/dsp_script.so     | Bin 127859 -> 114034 bytes
 plugin_Linux_FC3/dsp_session.so    | Bin 169223 -> 170248 bytes
 plugin_Linux_FC3/dsp_speedtest.so  | Bin 380966 -> 442387 bytes
 plugin_Linux_FC3/dsp_speedtest2.so | Bin 409220 -> 482969 bytes
 plugin_Linux_FC3/dsp_speedtest3.so | Bin 751532 -> 751528 bytes
 plugin_Linux_FC3/dsp_ssmloader.so  | Bin 67294 -> 67290 bytes
 plugin_Linux_FC3/dsp_state.so      | Bin 100794 -> 100790 bytes
 plugin_Linux_FC3/dsp_stlloader.so  | Bin 17004 -> 17000 bytes
 plugin_Linux_FC3/dsp_texloader.so  | Bin 2477414 -> 2477530 bytes
 plugin_Linux_FC3/dsp_timeit.so     | Bin 24472 -> 22228 bytes
 plugin_Linux_FC3/dsp_trackcam.so   | Bin 65745 -> 65745 bytes
 plugin_Linux_FC3/dsp_trail.so      | Bin 40522 -> 40518 bytes
 plugin_Linux_FC3/dsp_tree.so       | Bin 25708 -> 23895 bytes
 plugin_Win32/dsp_acloader.dll      | Bin 454882 -> 455969 bytes
 plugin_Win32/dsp_caminfo.dll       | Bin 454954 -> 454795 bytes
 plugin_Win32/dsp_canvas.dll        | Bin 521987 -> 521714 bytes
 plugin_Win32/dsp_cctv.dll          | Bin 481034 -> 480847 bytes
 plugin_Win32/dsp_confine.dll       | Bin 442133 -> 441992 bytes
 plugin_Win32/dsp_drawcanvas.dll    | Bin 507578 -> 507578 bytes
 plugin_Win32/dsp_drawstar.dll      | Bin 459610 -> 459451 bytes
 plugin_Win32/dsp_fixtree.dll       | Bin 755666 -> 755542 bytes
 plugin_Win32/dsp_fltloader.dll     | Bin 463307 -> 463307 bytes
 plugin_Win32/dsp_ghost.dll         | Bin 443572 -> 443371 bytes
 plugin_Win32/dsp_hslloader.dll     | Bin 455225 -> 455019 bytes
 plugin_Win32/dsp_ideal.dll         | Bin 436269 -> 436088 bytes
 plugin_Win32/dsp_info.dll          | Bin 429597 -> 429438 bytes
 plugin_Win32/dsp_jpegsave.dll      | Bin 35840 -> 491096 bytes
 plugin_Win32/dsp_lodloader.dll     | Bin 458651 -> 458458 bytes
 plugin_Win32/dsp_lstloader.dll     | Bin 436657 -> 436657 bytes
 plugin_Win32/dsp_mapservice.dll    | Bin 482997 -> 482997 bytes
 plugin_Win32/dsp_noise.dll         | Bin 439207 -> 439207 bytes
 plugin_Win32/dsp_overlays.dll      | Bin 449248 -> 449107 bytes
 plugin_Win32/dsp_planet2.dll       | Bin 1271519 -> 1271336 bytes
 plugin_Win32/dsp_platform.dll      | Bin 437056 -> 437056 bytes
 plugin_Win32/dsp_poster2.dll       | Bin 441893 -> 441752 bytes
 plugin_Win32/dsp_proxy.dll         | Bin 472705 -> 472497 bytes
 plugin_Win32/dsp_record.dll        | Bin 468738 -> 468579 bytes
 plugin_Win32/dsp_ruler.dll         | Bin 475015 -> 474730 bytes
 plugin_Win32/dsp_safer.dll         | Bin 434745 -> 434745 bytes
 plugin_Win32/dsp_script.dll        | Bin 489583 -> 489368 bytes
 plugin_Win32/dsp_session.dll       | Bin 1014885 -> 1014682 bytes
 plugin_Win32/dsp_speedtest.dll     | Bin 749447 -> 749288 bytes
 plugin_Win32/dsp_speedtest2.dll    | Bin 778065 -> 777906 bytes
 plugin_Win32/dsp_speedtest3.dll    | Bin 985149 -> 984990 bytes
 plugin_Win32/dsp_ssmloader.dll     | Bin 474595 -> 474595 bytes
 plugin_Win32/dsp_state.dll         | Bin 485263 -> 485056 bytes
 plugin_Win32/dsp_stlloader.dll     | Bin 437638 -> 437638 bytes
 plugin_Win32/dsp_targets.dll       | Bin 436590 -> 436374 bytes
 plugin_Win32/dsp_texloader.dll     | Bin 446828 -> 447805 bytes
 plugin_Win32/dsp_timeit.dll        | Bin 744898 -> 744730 bytes
 plugin_Win32/dsp_trackcam.dll      | Bin 466220 -> 466032 bytes
 plugin_Win32/dsp_trail.dll         | Bin 449201 -> 449042 bytes
 plugin_Win32/dsp_tree.dll          | Bin 749304 -> 749102 bytes
 104 files changed, 0 insertions(+), 0 deletions(-)

| commit | b050dba2eaf67e75bcd7211c2e8f2afe33a4aa27 [link] | || | Author: | Brad Bell | | Date: | Thu Jan 20 08:24:21 2011 -0600 | | Message: | [@EDGE Issuse 00319: added two new options to 'doug.camera get' command '-pan_node' and '-tilt_node' @] |

Affected Files:

src/doug/doug.c | 48 +++++++++++++++++++++++++++++++++++++++++++++±-
 1 file changed, 46 insertions(+), 2 deletions(-)
⚠️ **GitHub.com Fallback** ⚠️