Advertisement
Charlemagnifique

MAVLink FPE AP_Mission.cpp:646

Jun 22nd, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. Program received signal SIGFPE, Arithmetic exception.
  2. 0x00000000004a3b84 in AP_Mission::mavlink_to_mission_cmd (packet=..., cmd=...)
  3. at /home/karel/ardupilot/libraries/AP_Mission/AP_Mission.cpp:646
  4. 646 cmd.p1 = packet.param1; // 0 = no roi, 1 = next waypoint, 2 = waypoint number, 3 = fixed location, 4 = given target (not supported)
  5.  
  6. ---------- GDB ----------
  7. (gdb) backtrace full
  8. #0 0x00000000004a3b84 in AP_Mission::mavlink_to_mission_cmd (packet=..., cmd=...)
  9. at /home/karel/ardupilot/libraries/AP_Mission/AP_Mission.cpp:646
  10. copy_location = true
  11. num_turns = <optimized out>
  12. radius_m = <optimized out>
  13. heading_req = <optimized out>
  14. copy_alt = false
  15. #1 0x0000000000426ffa in GCS_MAVLINK::handle_mission_item (this=0x6ff090 <copter+5904>,
  16. msg=0x7fffffffdb00, mission=...) at /home/karel/ardupilot/libraries/GCS_MAVLink/GCS_Common.cpp:667
  17. packet = {param1 = 3,58200397e+09, param2 = 0,0139410608, param3 = -2,96663416e-07,
  18. param4 = -0,0337908864, x = -3,63467534e+16, y = 1,97933095e-05, z = 8,1954467e+36,
  19. seq = 51353, command = 10441, target_system = 0 '\000', target_component = 149 '\225',
  20. frame = 133 '\205', current = 243 '\363', autocontinue = 91 '['}
  21. result = MAV_MISSION_ACCEPTED
  22. cmd = {index = 51353, id = 201 '\311', p1 = 0, content = {jump = {target = 0, num_times = 0},
  23. delay = {seconds = 0}, distance = {meters = 0}, yaw = {angle_deg = 0, turn_rate_dps = 0,
  24. direction = 0 '\000', relative_angle = 0 '\000'}, speed = {speed_type = 0 '\000',
  25. target_ms = 0, throttle_pct = 0}, relay = {num = 0 '\000', state = 0 '\000'},
  26. repeat_relay = {num = 0 '\000', repeat_count = 0, cycle_time = 0}, servo = {
  27. channel = 0 '\000', pwm = 0}, repeat_servo = {channel = 0 '\000', pwm = 0,
  28. repeat_count = 0, cycle_time = 0}, mount_control = {pitch = 0, roll = 0, yaw = 0},
  29. digicam_configure = {shooting_mode = 0 '\000', shutter_speed = 0, aperture = 0 '\000',
  30. ISO = 0, exposure_type = 0 '\000', cmd_id = 0 '\000', engine_cutoff_time = 0},
  31. digicam_control = {session = 0 '\000', zoom_pos = 0 '\000', zoom_step = 0 '\000',
  32. focus_lock = 0 '\000', shooting_cmd = 0 '\000', cmd_id = 0 '\000'}, cam_trigg_dist = {
  33. meters = 0}, gripper = {num = 0 '\000', action = 0 '\000'}, guided_limits = {
  34. alt_min = 0, alt_max = 0, horiz_max = 0}, altitude_wait = {altitude = 0,
  35. descent_rate = 0, wiggle_time = 0 '\000'}, location = {{flags = {
  36. relative_alt = 0 '\000', unused1 = 0 '\000', loiter_ccw = 0 '\000',
  37. terrain_alt = 0 '\000'}, options = 0 '\000'}, alt = 0, lat = 0, lng = 0},
  38. bytes = '\000' <repeats 11 times>}}
  39. ---Type <return> to continue, or q <return> to quit---
  40. mission_is_complete = false
  41. #2 0x0000000000417a72 in GCS_MAVLINK::handleMessage (this=this@entry=0x6ff090 <copter+5904>,
  42. msg=msg@entry=0x7fffffffdb00) at GCS_Mavlink.cpp:1050
  43. result = 4 '\004'
  44. #3 0x0000000000427400 in GCS_MAVLINK::update (this=this@entry=0x6ff090 <copter+5904>, run_cli=...)
  45. at /home/karel/ardupilot/libraries/GCS_MAVLink/GCS_Common.cpp:869
  46. c = 118 'v'
  47. i = <optimized out>
  48. msg = {checksum = 30247, magic = 254 '\376', len = 76 'L', seq = 76 'L', sysid = 255 '\377',
  49. compid = 0 '\000', msgid = 39 '\'', payload64 = {4351718641538269451, 13621814718772495644,
  50. 4009903306557169966, 2939100793384815703, 10354645651949982976, 8226230114522281570,
  51. 13506281350875214543, 4636337287134875465, 11418045668778237964, 8557250679192766284,
  52. 14751367341622791129, 18321393722860826597, 2484803957759236132, 69717311069675401,
  53. 15720062367747076255, 8527680567987784574, 859076205356892373, 6185858572541814237,
  54. 1026861644454464528, 14991473031497097294, 7753715698962822580, 6305055640405902762,
  55. 18183060421751790248, 11762372344592880798, 11626611234673277523, 17956713217062159547,
  56. 13484844112550432303, 10224399861129707894, 12860077695953809181, 2362984380747729638,
  57. 5115412808045379759, 2719292363812852515, 144}}
  58. status = {msg_received = 67 'C', buffer_overrun = 198 '\306', parse_error = 35 '#',
  59. parse_state = MAVLINK_PARSE_STATE_IDLE, packet_idx = 76 'L', current_rx_seq = 77 'M',
  60. current_tx_seq = 0 '\000', packet_rx_success_count = 552, packet_rx_drop_count = 0}
  61. tnow = <optimized out>
  62. wp_recv_time = <optimized out>
  63. nbytes = 128
  64. #4 0x00000000004166cf in Copter::gcs_check_input (this=0x6fd980 <copter>) at GCS_Mavlink.cpp:2022
  65. i = <optimized out>
  66. #5 0x00000000004b9a8d in operator() (this=0x7fffffffdca0)
  67. at /home/karel/ardupilot/libraries/AP_HAL/utility/functor.h:55
  68. No locals.
  69. #6 AP_Scheduler::run (this=0x6fdcb8 <copter+824>, time_available=2500)
  70. at /home/karel/ardupilot/libraries/AP_Scheduler/AP_Scheduler.cpp:92
  71. ---Type <return> to continue, or q <return> to quit---
  72. func = {_obj = 0x6fd980 <copter>,
  73. _method = 0x403b80 <Functor<void>::method_wrapper<Copter, &Copter::gcs_check_input>(void*)>}
  74. time_taken = <optimized out>
  75. dt = <optimized out>
  76. i = 20 '\024'
  77. run_started_usec = <optimized out>
  78. now = <optimized out>
  79. #7 0x00000000004bfab9 in HAL_SITL::run (this=0x701300 <AP_HAL::get_HAL()::hal>, argc=<optimized out>,
  80. argv=<optimized out>, callbacks=0x6fd980 <copter>)
  81. at /home/karel/ardupilot/libraries/AP_HAL_SITL/HAL_SITL_Class.cpp:89
  82. __PRETTY_FUNCTION__ = "virtual void HAL_SITL::run(int, char* const*, AP_HAL::HAL::Callbacks*) const"
  83. #8 0x0000000000402c8e in main (argc=<optimized out>, argv=<optimized out>) at ArduCopter.cpp:650
  84. No locals.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement