<div dir="ltr">I will generalize these after you have added the functions because there are other uses for being able to 'pickup' and move physics state. The functions should be more general than just "get vehicle state". For instance, BulletSim is getting an extension to linksets which allows linkset links to be other than static constraints (slider, hinge, 6DoF, ...) and the linkset specification also needs transferring. <div>
<br></div><div>The returned vehicle state should be a dictionary or OSDMap and not a structure. This makes the interface contract looser but allows extensions.<div><br></div><div>One technique I've used to extend the physics interface is, since PhysicsScene is a class, to add a virtual method to PhysicsScene and override it in any physics engine that implements that method. That way I don't have to tweak all the different physics engines since a default function exists.</div>
<div><br></div><div>--m b</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 10:46 AM, Melanie <span dir="ltr"><<a href="mailto:melanie@t-data.com" target="_blank">melanie@t-data.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I will likely need to add some dummy methods to Bullet to satisfy<br>
the new physics interface. In particular, part of the crossing code<br>
is a method to save and restore vehicle parameters. They are<br>
shadowed in SOP or SOG, i forget which one, and re-set on crossing.<br>
You may need to flesh out these methods.<br>
<span class="HOEnZb"><font color="#888888"><br>
Melanie<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 13/12/2013 18:02, James Stallings II wrote:<br>
> That's definitely good to hear :)<br>
><br>
><br>
> A quick question related to the work:<br>
><br>
> Will this change be compatible with Bullet or will this be for ODE only?<br>
><br>
> TIA and Cheers!<br>
> James<br>
><br>
><br>
><br>
> On Fri, Dec 13, 2013 at 9:38 AM, Melanie <<a href="mailto:melanie@t-data.com">melanie@t-data.com</a>> wrote:<br>
><br>
>> It's definitely planned to be done before than. :)<br>
>><br>
>> Melanie<br>
>><br>
>> On 13/12/2013 13:58, R.Gunther wrote:<br>
>> > Agree with justin, especially because people aroujd xmas maby like to<br>
>> > test dev version.<br>
>> > Gives hardhat to dahlia. :)<br>
>> ><br>
>> > On 2013-12-13 01:54, Justin Clark-Casey wrote:<br>
>> >> This needs to be done very soon or we need some imminent timeframe.<br>
>> >> The rest of the code needs to be merged in so that master can be fixed<br>
>> >> and we can move forward.  Leaving it broken over Christmas would be a<br>
>> >> very poor show.<br>
>> >><br>
>> >> On 11/12/13 02:05, Dahlia Trimble wrote:<br>
>> >>> Melanie has begun merging her region crossing code into git master<br>
>> >>> and expects that the changes will break the<br>
>> >>> repository for some indefinite period. The last usable commit was<br>
>> >>> 08750501617ca332ab196b2f25030e3c635c9dd6 made on<br>
>> >>> December 10th. Please do not use commits after this until master is<br>
>> >>> fixed.<br>
>> >>><br>
>> >>> -dahlia<br>
>> >>><br>
>> >>><br>
>> >>> _______________________________________________<br>
>> >>> Opensim-dev mailing list<br>
>> >>> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
>> >>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
>> >>><br>
>> >><br>
>> ><br>
>> > _______________________________________________<br>
>> > Opensim-dev mailing list<br>
>> > <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
>> > <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
>> ><br>
>> ><br>
>> _______________________________________________<br>
>> Opensim-dev mailing list<br>
>> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
>><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Opensim-dev mailing list<br>
> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br></div>