Advertisement
Charlemagnifique

AP_Mission.cpp:692

Jun 22nd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. Program received signal SIGFPE, Arithmetic exception.
  2. 0x00000000004a3c90 in AP_Mission::mavlink_to_mission_cmd (packet=..., cmd=...)
  3. at /home/karel/ardupilot/libraries/AP_Mission/AP_Mission.cpp:692
  4. 692 cmd.content.gripper.action = packet.param2; // action 0=release, 1=grab. See GRIPPER_ACTION enum
  5.  
  6. ----------GDB----------
  7.  
  8. (gdb) backtrace full
  9. #0 0x00000000004a3c90 in AP_Mission::mavlink_to_mission_cmd (packet=..., cmd=...)
  10. at /home/karel/ardupilot/libraries/AP_Mission/AP_Mission.cpp:692
  11. copy_location = false
  12. num_turns = <optimized out>
  13. radius_m = <optimized out>
  14. heading_req = <optimized out>
  15. copy_alt = false
  16. #1 0x0000000000426ffa in GCS_MAVLINK::handle_mission_item (this=0x6ff090 <copter+5904>,
  17. msg=0x7fffffffdb00, mission=...) at /home/karel/ardupilot/libraries/GCS_MAVLink/GCS_Common.cpp:667
  18. packet = {param1 = -2,08920839e-10, param2 = 7,36795069e+22, param3 = -1,94322978e-23,
  19. param4 = -3,28301574e+26, x = -5,36437885e+26, y = 6,18980568e-30, z = 3,69307779e+11,
  20. seq = 1190, command = 14005, target_system = 1 '\001', target_component = 26 '\032',
  21. frame = 117 'u', current = 37 '%', autocontinue = 49 '1'}
  22. result = MAV_MISSION_ACCEPTED
  23. cmd = {index = 1190, id = 181 '\265', p1 = 0, content = {jump = {target = 0, num_times = 0},
  24. delay = {seconds = 0}, distance = {meters = 0}, yaw = {angle_deg = 0, turn_rate_dps = 0,
  25. direction = 0 '\000', relative_angle = 0 '\000'}, speed = {speed_type = 0 '\000',
  26. target_ms = 0, throttle_pct = 0}, relay = {num = 0 '\000', state = 0 '\000'},
  27. repeat_relay = {num = 0 '\000', repeat_count = 0, cycle_time = 0}, servo = {
  28. channel = 0 '\000', pwm = 0}, repeat_servo = {channel = 0 '\000', pwm = 0,
  29. repeat_count = 0, cycle_time = 0}, mount_control = {pitch = 0, roll = 0, yaw = 0},
  30. digicam_configure = {shooting_mode = 0 '\000', shutter_speed = 0, aperture = 0 '\000',
  31. ISO = 0, exposure_type = 0 '\000', cmd_id = 0 '\000', engine_cutoff_time = 0},
  32. digicam_control = {session = 0 '\000', zoom_pos = 0 '\000', zoom_step = 0 '\000',
  33. focus_lock = 0 '\000', shooting_cmd = 0 '\000', cmd_id = 0 '\000'}, cam_trigg_dist = {
  34. meters = 0}, gripper = {num = 0 '\000', action = 0 '\000'}, guided_limits = {
  35. alt_min = 0, alt_max = 0, horiz_max = 0}, altitude_wait = {altitude = 0,
  36. descent_rate = 0, wiggle_time = 0 '\000'}, location = {{flags = {
  37. relative_alt = 0 '\000', unused1 = 0 '\000', loiter_ccw = 0 '\000',
  38. terrain_alt = 0 '\000'}, options = 0 '\000'}, alt = 0, lat = 0, lng = 0},
  39. bytes = '\000' <repeats 11 times>}}
  40. ---Type <return> to continue, or q <return> to quit---
  41. mission_is_complete = false
  42. #2 0x0000000000417a72 in GCS_MAVLINK::handleMessage (this=this@entry=0x6ff090 <copter+5904>,
  43. msg=msg@entry=0x7fffffffdb00) at GCS_Mavlink.cpp:1050
  44. result = 4 '\004'
  45. #3 0x0000000000427400 in GCS_MAVLINK::update (this=this@entry=0x6ff090 <copter+5904>, run_cli=...)
  46. at /home/karel/ardupilot/libraries/GCS_MAVLink/GCS_Common.cpp:869
  47. c = 161 '\241'
  48. i = <optimized out>
  49. msg = {checksum = 41398, magic = 254 '\376', len = 215 '\327', seq = 215 '\327',
  50. sysid = 255 '\377', compid = 0 '\000', msgid = 39 '\'', payload64 = {7312054457127515645,
  51. 16971753934911434762, 1079481407503195538, 3942062161230821611, 6727357707582773761,
  52. 10306064143131884050, 6052802325919419886, 14888200327555798346, 3669673795318091744,
  53. 17025392148403641240, 9006830705242710170, 15766774099846363810, 4527183865808963600,
  54. 8356660091583633070, 7451716623758619112, 7325984787091470927, 14445801289780483546,
  55. 14039312186389700370, 15741971295456477086, 1680663234911696114, 4566375236970450307,
  56. 10781060226447577891, 7969544788193744358, 4172226543930642985, 7982359702957863447,
  57. 16706925074922526990, 13184426861512737661, 11838437088441402017, 7161552864794766268,
  58. 16024200773968100823, 9431189291846530094, 10639308399896463357, 143}}
  59. status = {msg_received = 67 'C', buffer_overrun = 198 '\306', parse_error = 35 '#',
  60. parse_state = MAVLINK_PARSE_STATE_IDLE, packet_idx = 215 '\327',
  61. current_rx_seq = 216 '\330', current_tx_seq = 0 '\000', packet_rx_success_count = 1895,
  62. packet_rx_drop_count = 0}
  63. tnow = <optimized out>
  64. wp_recv_time = <optimized out>
  65. nbytes = 128
  66. #4 0x00000000004166cf in Copter::gcs_check_input (this=0x6fd980 <copter>) at GCS_Mavlink.cpp:2022
  67. i = <optimized out>
  68. #5 0x00000000004b9a8d in operator() (this=0x7fffffffdca0)
  69. at /home/karel/ardupilot/libraries/AP_HAL/utility/functor.h:55
  70. No locals.
  71. #6 AP_Scheduler::run (this=0x6fdcb8 <copter+824>, time_available=2500)
  72. ---Type <return> to continue, or q <return> to quit---
  73. at /home/karel/ardupilot/libraries/AP_Scheduler/AP_Scheduler.cpp:92
  74. func = {_obj = 0x6fd980 <copter>,
  75. _method = 0x403b80 <Functor<void>::method_wrapper<Copter, &Copter::gcs_check_input>(void*)>}
  76. time_taken = <optimized out>
  77. dt = <optimized out>
  78. i = 20 '\024'
  79. run_started_usec = <optimized out>
  80. now = <optimized out>
  81. #7 0x00000000004bfab9 in HAL_SITL::run (this=0x701300 <AP_HAL::get_HAL()::hal>, argc=<optimized out>,
  82. argv=<optimized out>, callbacks=0x6fd980 <copter>)
  83. at /home/karel/ardupilot/libraries/AP_HAL_SITL/HAL_SITL_Class.cpp:89
  84. __PRETTY_FUNCTION__ = "virtual void HAL_SITL::run(int, char* const*, AP_HAL::HAL::Callbacks*) const"
  85. #8 0x0000000000402c8e in main (argc=<optimized out>, argv=<optimized out>) at ArduCopter.cpp:650
  86. No locals.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement