Open Panzer
Open Panzer Help & Info => Open Panzer Help => Topic started by: sergevk on February 17, 2019, 10:20:18 AM
-
Hello there,
I'd like to share couple of ideas to TCB:
- Function to limit max speed. It can be useful for slow movements. It can be one function with limit 50% of speed, (or three for example: 25%, 50%, 75%).
- Triggers for turn lights (two triggers for left and right turns). Turn lights, i think, can be connected to extrnal output A & B.
- Triggers for forward and reverse movements
Thank you.
-
Hi Sergey, thanks for the good suggestions. I think these should not be too difficult to add.
As for the turn lights, do you plan for them to blink in the same manner they do on cars? Presently there is no blink function for the A/B outputs, only on/off. You could use the Aux output for one turn signal and the MG2 output for the other turn signal, since both of those already have blink functions. Otherwise I would need to add some blink functions for A/B also.
In addition to the four triggers you list, it seems that two others will probably also be necessary - "stop" and "not turning." Those will be required to undo whatever command you issue with the forward/reverse or left/right triggers.
-
- Function to limit max speed. It can be useful for slow movements. It can be one function with limit 50% of speed, (or three for example: 25%, 50%, 75%).
Also, I think your suggestion is a good idea, but in the meantime you may also want to experiment with Inertia/Momentum profiles. Setting high levels of Inertia (with medium to high levels of Momentum) makes it easy to drive very slow in a smooth manner. You can have two profiles so one for slow driving and one for normal, and switch between them while driving.
-
Luke, thank you for reply,
As for the turn lights, do you plan for them to blink in the same manner they do on cars? Presently there is no blink function for the A/B outputs, only on/off. You could use the Aux output for one turn signal and the MG2 output for the other turn signal, since both of those already have blink functions. Otherwise I would need to add some blink functions for A/B also.
I thinked about two variants with A/B outputs - blinking leds or some small scheme, which will blinks normal led. But your propositions very interesting (to configure blink on A/B outputs or use MG and AUX ports)
In addition to the four triggers you list, it seems that two others will probably also be necessary - "stop" and "not turning." Those will be required to undo whatever command you issue with the forward/reverse or left/right triggers.
Yes, you absolutely right
Also, I think your suggestion is a good idea, but in the meantime you may also want to experiment with Inertia/Momentum profiles. Setting high levels of Inertia (with medium to high levels of Momentum) makes it easy to drive very slow in a smooth manner. You can have two profiles so one for slow driving and one for normal, and switch between them while driving.
I'll try to playing with these settings, thank you.
-
Hi Sergey, these features have been added. You will need to update both OP Config and TCB firmware (new version 0.93.45). Be sure to save a copy of your settings from the TCB before updating, because the new firmware will cause them to be erased.
- Add six new function triggers based on vehicle movement (http://openpanzer.org/wiki/doku.php?id=wiki:tcb:operation:triggerlist#ad-hoc_triggers) - start moving forward, start moving reverse, vehicle arrived at stop, start right turn, start left turn, and turn ceased. Only active when engine running.
- Add blink functions for general purpose outputs A and B (http://openpanzer.org/wiki/doku.php?id=wiki:tcb:operation:functionlist#general_purpose_outputs_a_b). User can define blink frequency in OP Config (http://openpanzer.org/wiki/doku.php?id=wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b).
- Add three speed reduction functions (http://openpanzer.org/wiki/doku.php?id=wiki:tcb:operation:functionlist#driving_adjustments) (Reduce to 75%, 50% or 25%) and one "Restore Speed" function.
-
Hi Luke, thank you for your work. I've tested at the moment only speed limits - works perfectly, as expected. Planing to test other features in nearest future. Thank you again!