Commit e82d220f authored by Philippe Gaussier's avatar Philippe Gaussier
Browse files

To suppress the core dump when arming the drone

PG.
parent 0f00ade9
......@@ -98,7 +98,7 @@ void Thread_SerialPort::write_messages()
{
//printf("mémoire partagée : demande armement \n");
//blc_control_commands.floats[0] = 0.0;
blc_control_commands.floats[0] = 0.0;
// blc_control_commands.floats[0] = 0.0;
serial_Port_1.get()->write_message(Bus::getInstanceOf().getMavlinkTool().get()->command_arm(1));
}
......@@ -107,7 +107,7 @@ void Thread_SerialPort::write_messages()
{
//printf("mémoire partagée : demande desarmement \n");
//blc_control_commands.floats[0] = 0.0;
blc_control_commands.floats[1] = 0.0;
// blc_control_commands.floats[1] = 0.0;
serial_Port_1.get()->write_message(Bus::getInstanceOf().getMavlinkTool().get()->command_arm(1));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment