Discussion group for ArduCopter users

3173 Members
Join Us!

You need to be a member of diydrones to add comments!

Join diydrones


  • So the output file is:

    C:\Users\Wayne\AppData\Local\Temp\build7487716384992828737.tmp\ArduCopter.cpp.elf C:\Users\Wayne\AppData\Local\Temp\build7487716384992828737.tmp\ArduCopter.cpp.hex

    I have done other Ardunio projects but the output was in the target directory.

  • I am getting these warnings:

    Log.pde: In function 'int8_t dump_log(uint8_t, const Menu::arg*)':
    Log.pde:80: warning: comparison between signed and unsigned integer expressions
    Log.pde:80: warning: comparison between signed and unsigned integer expressions
    ArduCopter.pde: At global scope:
    ArduCopter.pde:189: warning: 'int16_t get_heli_rate_roll(int32_t)' declared 'static' but never defined
    ArduCopter.pde:191: warning: 'int16_t get_heli_rate_pitch(int32_t)' declared 'static' but never defined
    ArduCopter.pde:193: warning: 'int16_t get_heli_rate_yaw(int32_t)' declared 'static' but never defined
    GCS_Mavlink.pde:275: warning: 'void send_simstate(mavlink_channel_t)' defined but not used
    Log.pde:573: warning: 'void Log_Write_Data(uint8_t, uint16_t)' defined but not used
    Log.pde:630: warning: 'void Log_Write_Data(uint8_t, float)' defined but not used
    ArduCopter.pde:316: warning: 'void Log_Write_DMP()' declared 'static' but never defined
    ArduCopter.pde:298: warning: 'void Log_Write_IMU()' declared 'static' but never defined
    ArduCopter.pde:299: warning: 'void Log_Write_GPS()' declared 'static' but never defined
    ArduCopter.pde:483: warning: 'void report_heli()' declared 'static' but never defined
    ArduCopter.pde:484: warning: 'void report_gyro()' declared 'static' but never defined
    ArduCopter.pde:497: warning: 'RC_Channel* heli_get_servo(int16_t)' declared 'static' but never defined
    ArduCopter.pde:498: warning: 'int16_t read_num_from_serial()' declared 'static' but never defined

  • You hit the check mark in arduino and it does a verify by compiling it in a temp folder. That's the hex you want to install in Mission Planner. I get warnings when I compile 2.91b for a quad frame - seems related to heli code that is compiled out.
  • Dont run the makefile. Load the Arducopter.pde and compile it

  • I just tried again but the same results. The mega2560 is selected already.

  • I didn't run the makefile, I loaded up the Arducopter.pde sketch in Arduino, selected the mega2560 under Tools, and it compiled perfectly (slowly).

    Still building on mine so the software hasn't been loaded.

    Good luck, Bo

  • Yes, I downloaded the modified Arduino tools. I downloaded the source from the GIT. I ran the makefile. I set the file path and board type.

    There are still a lot of warnings and I the only HEX file I can find is in the temp folder.

    I am looking for a form thread or something to help sort it out. 

  • Normally, you should not have any warning with the Arducopter code. Do you use the modified Arduino version for ArduCopter? In the first comment lines, there is a link to download the modifed Arduino version.

  • I am trying to compile the source and need some assistance. Anyone know where I can find some assistance? I can compile but there are a lot of warnings and I am not sure about the output file.



  • Can APM 2.5 fly a standart hexacopter with one engine failure? I mean, if it has enough power?

This reply was deleted.
E-mail me when people leave their comments –


Hi,Im working on a autonomous drones and im using JETSON NANO and flight controller PIXHAWK .Im able to control my drone by giving rc commands on the MAVLINK terminal itself by connecting it with PIXHAWK but now i want a python code from which i can do some operations like:takeoff,left ,right,forward,backward…and i am not using GPS…Can anyone please help me…

Read more…
0 Replies

HELP quadcopter: one motor twitching and stuttering

Hello guys,I have a problem with one motor, do not spin and making a sound (videos in attachment), I changed the motor to another ESC and is work, so I checked the connections on ESC and all connections looking great. any ideas or something I can do, iam trying to build YMFC32 Brokking .thank youhttps://youtu.be/LagBqwGbixkhttps://youtu.be/PU20nCxApcs

Read more…
0 Replies

Will AHRS_ORIENTATION=8 for Arducopter 3.2.1 on APM 2.5 using a traditional Heli

I have been Reading Chris Olsen posts and watching his videos on Arducopter with traditional Helis using a Pixhawk.I have inherited an older Trex 450 heli with the old Align 3G FBL hardware.  The FBL controller appears to be bad.  So I have an old APM 2.5 without a compass or GPS on board.  I just want to replace the failed Align 3G FBL system with the APM.Now I have to mount the APM under the skids on the heli so the APM will be upside down.I have Two questions.1)  Is the AHRS_ORIENTATION=8…

Read more…
0 Replies

Maximum number of Lidar for Object Avoidance

Hi all,I'm setting up my PX4-based quad with ST VL53L0X Lidar sensors (I currently have three) and I noticed that line #24 of the current Rangefinder library (here: https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_RangeFinder/RangeFinder.h#L24) has the maximum number of sensors set to 10 (ten). Am I understanding this correctly? And has anyone ever tried to setup this many rangefinders (or anything close) with any measure of success?Any input/advice will be greatly appreciated.

Read more…
1 Reply