[Dprglist] First BBR implementation and some questions
Thalanayar Muthukumar
tnkumar at gmail.com
Sun Oct 31 15:26:41 PDT 2021
Thanks Doug.
In this case, you maintain state (loop counter) during the ballistic behavior.
Regards.
- Kumar
Sent from my iPhone
> On Oct 31, 2021, at 5:08 PM, Doug Paradis <paradug at gmail.com> wrote:
>
> Kumar,
> I always pass through the loop. So a 1 sec backwards maneuver would use a loop counter with a disengage value of 50 for a loop time of 20 mS. I am not using a multitasking framework, which opens up other possibilities.
>
> Regards
> Doug P.
>
> Sent from my iPhone
>
>>> On Oct 31, 2021, at 4:54 PM, Thalanayar Muthukumar via DPRGlist <dprglist at lists.dprg.org> wrote:
>>>
>>
>> https://youtu.be/fuFamNWyXc4 (~15 sec)
>>
>> 20 times per sec
>> - default behavior - go straight forward, green headlights
>> - higher priority behavior - light sensed, turn left, red headlights
>>
>> My understanding of BBR is that there should be no state maintained.
>>
>> Question - If we trigger a ballistic behavior (e.g. go straight backward for one sec), is it ok to not return to the loop every 50 msec?
>>
>> Or is it preferable to maintain state and count 20 times for getting duration of 1 sec?
>>
>> Regards.
>> - Kumar
>>
>>
>>
>> Sent from my iPhone
>> _______________________________________________
>> DPRGlist mailing list
>> DPRGlist at lists.dprg.org
>> http://lists.dprg.org/listinfo.cgi/dprglist-dprg.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dprg.org/pipermail/dprglist-dprg.org/attachments/20211031/9e8d5939/attachment.html>
More information about the DPRGlist
mailing list