PX4-Avoidance
PX4-Avoidance copied to clipboard
cannot execute commander takeoff command
kindly help me with it roslaunch px4 posix_sitl.launch ... logging to /home/cactus/.ros/log/4c33ac0e-2055-11ea-9e93-e4029be100e1/roslaunch-cactus-Inspiron-5559-6644.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server SUMMARY
PARAMETERS
- /rosdistro: kinetic
- /rosversion: 1.12.14
- /use_sim_time: True
NODES / gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) sitl (px4/px4) vehicle_spawn_cactus_Inspiron_5559_6644_2084978095934439963 (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://localhost:11311
process[sitl-1]: started with pid [6661] INFO [px4] Creating symlink /home/cactus/Firmware/ROMFS/px4fmu_common -> /home/cactus/.ros/etc 0 WARNING: setRealtimeSched failed (not run as root?)
| ___ \ \ \ / / / | | |/ / \ V / / /| | | __/ / \ / /| | | | / /^\ \ ___ | _| / / |_/
px4 starting.
INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0 process[gazebo-2]: started with pid [6679] process[gazebo_gui-3]: started with pid [6687] SYS_AUTOSTART: curr: 0 -> new: 10016 process[vehicle_spawn_cactus_Inspiron_5559_6644_2084978095934439963-4]: started with pid [6696] BAT_N_CELLS: curr: 0 -> new: 3 CAL_ACC0_ID: curr: 0 -> new: 1311244 CAL_ACC_PRIME: curr: 0 -> new: 1311244 CAL_GYRO0_ID: curr: 0 -> new: 2294028 CAL_GYRO_PRIME: curr: 0 -> new: 2294028 CAL_MAG0_ID: curr: 0 -> new: 197388 CAL_MAG_PRIME: curr: 0 -> new: 197388 CAL_BARO_PRIME: curr: 0 -> new: 6620172 COM_DISARM_LAND: curr: 2.0000 -> new: 0.1000 COM_OBL_ACT: curr: 0 -> new: 2 COM_OF_LOSS_T: curr: 0.0000 -> new: 5.0000 COM_RC_IN_MODE: curr: 0 -> new: 1 EKF2_ANGERR_INIT: curr: 0.1000 -> new: 0.0100 EKF2_GBIAS_INIT: curr: 0.1000 -> new: 0.0100 EKF2_REQ_GPS_H: curr: 10.0000 -> new: 0.5000 MC_PITCH_P: curr: 6.5000 -> new: 6.0000 MC_PITCHRATE_P: curr: 0.1500 -> new: 0.2000 MC_ROLL_P: curr: 6.5000 -> new: 6.0000 MC_ROLLRATE_P: curr: 0.1500 -> new: 0.2000 MPC_HOLD_MAX_Z: curr: 0.6000 -> new: 2.0000 MPC_Z_VEL_I: curr: 0.1000 -> new: 0.1500 MPC_Z_VEL_P: curr: 0.2000 -> new: 0.6000 MPC_XY_P: curr: 0.9500 -> new: 0.8000 MPC_XY_VEL_P: curr: 0.0900 -> new: 0.2000 MPC_XY_VEL_D: curr: 0.0100 -> new: 0.0160 MPC_JERK_MIN: curr: 8.0000 -> new: 10.0000 MPC_ACC_HOR_MAX: curr: 5.0000 -> new: 3.0000 NAV_ACC_RAD: curr: 10.0000 -> new: 2.0000 NAV_DLL_ACT: curr: 0 -> new: 2 RTL_DESCEND_ALT: curr: 30.0000 -> new: 5.0000 RTL_LAND_DELAY: curr: -1.0000 -> new: 5.0000 RTL_RETURN_ALT: curr: 60.0000 -> new: 30.0000 SDLOG_MODE: curr: 0 -> new: 1 SDLOG_PROFILE: curr: 3 -> new: 131 SDLOG_DIRS_MAX: curr: 0 -> new: 7 SENS_BOARD_X_OFF: curr: 0.0000 -> new: 0.0000 SENS_DPRES_OFF: curr: 0.0000 -> new: 0.0010 TRIG_INTERFACE: curr: 4 -> new: 3
- RTL_DESCEND_ALT: curr: 5.0000 -> new: 10.0000
- RTL_LAND_DELAY: curr: 5.0000 -> new: 0.0000 PWM_MAX: curr: 2000 -> new: 1950 PWM_MIN: curr: 1000 -> new: 1075 INFO [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes INFO [simulator] Waiting for simulator to connect on TCP port 4560 [ INFO] [1576536214.519150465]: Finished loading Gazebo ROS API Plugin. [ INFO] [1576536214.520017885]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... [ INFO] [1576536214.606686941]: Finished loading Gazebo ROS API Plugin. [ INFO] [1576536214.606978283]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... SpawnModel script started [INFO] [1576536214.948729, 0.000000]: Loading model XML from file [INFO] [1576536214.949154, 0.000000]: Waiting for service /gazebo/spawn_sdf_model [ INFO] [1576536215.213882273, 0.024000000]: waitForService: Service [/gazebo/set_physics_properties] is now available. [INFO] [1576536215.252277, 0.060000]: Calling service /gazebo/spawn_sdf_model [ INFO] [1576536215.258939370, 0.068000000]: Physics dynamic reconfigure ready. [INFO] [1576536215.508137, 0.136000]: Spawn status: SpawnModel: Successfully spawned entity INFO [init] Mixer: etc/mixers/quad_w.main.mix on /dev/pwm_output0 INFO [mavlink] mode: Normal, data rate: 4000000 B/s on udp port 14570 remote port 14550 INFO [mavlink] mode: Onboard, data rate: 4000000 B/s on udp port 14580 remote port 14540 INFO [logger] logger started (mode=all) INFO [logger] Start file log (type: full) INFO [logger] Opened full log file: ./log/2019-12-16/22_43_35.ulg INFO [mavlink] MAVLink only on localhost (set param MAV_BROADCAST = 1 to enable network) INFO [px4] Startup script returned successfully pxh> [vehicle_spawn_cactus_Inspiron_5559_6644_2084978095934439963-4] process has finished cleanly log file: /home/cactus/.ros/log/4c33ac0e-2055-11ea-9e93-e4029be100e1/vehicle_spawn_cactus_Inspiron_5559_6644_2084978095934439963-4*.log INFO [mavlink] partner IP: 127.0.0.1 [ INFO] [1576536215.911742410, 0.136000000]: Camera Plugin: Using the 'robotNamespace' param: '/' [ INFO] [1576536215.919941615, 0.136000000]: Camera Plugin (ns = /) <tf_prefix_>, set to "" [ INFO] [1576536216.084810256, 0.164000000]: waitForService: Service [/gazebo/set_physics_properties] is now available. [ INFO] [1576536216.220037691, 0.296000000]: Physics dynamic reconfigure ready.
pxh> commander takeoff ERROR [commander] rejecting takeoff, no position lock yet. Please retry.. Command 'commander' failed, returned 1. pxh>
please make sure that you get the message INFO [ecl/EKF] 6076000: EKF commencing GPS fusion
before arming