WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   custom DLE files (https://forum.worldviz.com/showthread.php?t=1392)

RedSpikeyThing 03-11-2008 01:03 PM

custom DLE files
 
I'm trying to create a sensor that requires a custom constructor. The parameters required are NOT compatible with sensor.sendCommand, so I think a DLE is the way to go. I can't seem to find any documentation on creating DLEs, so would anyone be able to point me in the right direction?

Thanks!!

farshizzo 03-11-2008 05:57 PM

The SDK for dle plugins has not been released yet. Either way, extension objects receive the same type of command data as normal sensors, so I'm not sure how much it will help you. What kind of data are you trying to pass to your plugin?

RedSpikeyThing 03-11-2008 06:15 PM

Quote:

Originally Posted by farshizzo (Post 5211)
The SDK for dle plugins has not been released yet. Either way, extension objects receive the same type of command data as normal sensors, so I'm not sure how much it will help you. What kind of data are you trying to pass to your plugin?

hmmm I was under the impression that DLE's could have different constructors than DLS's. I'm trying to make a sensor that generates its data by merging two other sensors. Ideally it would just be a matter of passing the two sensors as parameters to the constructor. My other idea was more of a hack....cast the memory address of the sensor into a float and pass it as a command argument, where the C++ part casts it back into a memory address. I don't know if this will work, but it seems feasible.


All times are GMT -7. The time now is 07:32 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC