mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
newline added at the end of files
This commit is contained in:
parent
8b6480c1cf
commit
9adb4410bd
@ -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 */
|
||||
|
||||
@ -41,4 +41,4 @@ px4_add_module(
|
||||
sih.cpp
|
||||
DEPENDS
|
||||
mathlib
|
||||
)
|
||||
)
|
||||
|
||||
@ -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
|
||||
// }
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user