newline added at the end of files

This commit is contained in:
romain 2019-03-25 14:42:43 -04:00 committed by Beat Küng
parent 8b6480c1cf
commit 9adb4410bd
4 changed files with 4 additions and 16 deletions

View File

@ -766,7 +766,7 @@ Mavlink::set_hil_enabled(bool hil_enabled)
_hil_enabled = true;
ret = configure_stream("HIL_ACTUATOR_CONTROLS", 200.0f);
configure_stream("GROUND_TRUTH", 25.0f); // HIL_STATE_QUATERNION to display the SIH
configure_stream("GROUND_TRUTH", 200.0f); // HIL_STATE_QUATERNION to display the SIH
}
/* disable HIL */

View File

@ -41,4 +41,4 @@ px4_add_module(
sih.cpp
DEPENDS
mathlib
)
)

View File

@ -520,7 +520,7 @@ void Sih::send_gps()
void Sih::publish_sih()
{
_gpos_gt.timestamp=hrt_absolute_time();
_gpos_gt.lat=_gps_lat_noiseless;
_gpos_gt.lon=_gps_lon_noiseless;
_gpos_gt.alt=_gps_alt_noiseless;
@ -588,15 +588,3 @@ int sih_main(int argc, char *argv[])
{
return Sih::main(argc, argv);
}
// int Sih::pack_float(char* uart_msg, int index, void *value)
// {
// uint32_t value_raw=(uint32_t)(value*);
// for (int i=3; i>=0; i=i-1) {
// buffer[index+i]=(char)(value_raw&0xFF);
// value_raw=value_raw>>8;
// }
// return index+4; // points to the index for the next value
// }

View File

@ -342,4 +342,4 @@ PARAM_DEFINE_FLOAT(SIH__MU_Y, -0.045f);
* @increment 0.001
* @group Simulation In Hardware
*/
PARAM_DEFINE_FLOAT(SIH__MU_Z, 0.504f);
PARAM_DEFINE_FLOAT(SIH__MU_Z, 0.504f);