New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow debug console to be used for other protocols #6761
Conversation
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by other protocols
added flag for nsh exit
Thankyou Tridge! |
Thanks you Andrew! Number One! |
Awesome!
Best regards,
Jaime Machuca
CEO | Element Aero | www.element.aero
Mail. jaime@element.aero
Off. +52 (33) 3805 4627
Cel. +52 1 (33) 3945 3350
Este correo electrónico y cualquier archivo transmitido en él, son confidenciales y para uso exclusivo de los individuos y entidades a quienes está dirigido. Si usted no es el destinatario previsto o la persona encargada de recibirlo, y tiene por error este mensaje, queda prohibido y sin validez el uso, difusión, re-envío, reimpresión o copia. Toda oferta y/o aceptación de propuestas comerciales, celebración de contratos u otros actos tendientes a la adquisición de bienes o servicios, así como el establecimiento de cualquier clase de obligación legal para Element Aero SAPI de CV, deberá confirmarse por escrito firmado autógrafamente por funcionario competente, excepto que se cuente con un contrato vigente que autorice el uso de este medio para tales fines. Si usted recibió este correo por equivocación, favor de notificar inmediatamente por este medio a su remitente, y después borrarlo de su correo
… On Aug 13, 2017, at 8:49 AM, Marco Robustini ***@***.***> wrote:
Thanks you Andrew!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@tridge If I'm following right the port still starts up as NSH first with some prints from the PX4 layer, then once the APM task is launched it's killed? |
We should ensure the comments that come with the parameter on the ground stations reflect this. And we should engage the community to ensure this has no effect on various devices. That way we can just swap devices to a suitable port. This is very good! |
that's right. The only way we could avoid that is to have some persistent data that can be read by the very early startup code that indicates that the nsh debug port is disabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It could also be implemented for Pixracer, but that has 5 ports already, should be enough for most use cases.
Please merge this commits... |
merged |
Forgive my ignorance, but I would like to user serial 5 to stream Mavlink to an Alexmos gimbal controller. The gimbal controller manual recommends some message stream rate values, but although I can set serial5_protocol to be '1' i see no sr5_xxx parameters (or sr4_ for that matter) to allow me to configure the messages/rates required. Am I missing something? |
This allows the debug console on FMUv2 and FMUv3 to be used for other serial protocols, by setting SERIAL5_PROTOCOL to an appropriate value.
fixes issue #6692