Information

ArduCopter User Group

Discussion group for ArduCopter users

Members: 2963
Latest Activity: 7 hours ago

Discussion Forum

Unable to Lift off - DJI F450 can't lift

Started by Ther K Vang 7 hours ago. 0 Replies

Hi,I am a rookie and just star a drone kit and after getting all the pieces together and trying to lift it off with a Taranis remote it won't fly off. I am using the pre-multi rotor set that the…Continue

Spinnig motors with no controller activated

Started by Suzana yesterday. 0 Replies

Hello people,I would like to know how I can spin the 4 motors of my IRIS 3DR+ using a PWM wave. Although, I don't want any controller active while I'm spinning the motors, at least, not now.…Continue

Tags: hal.rcout, PWM, spin, motors

tarot t4-3d gimbal compability with pixhawk

Started by Nichon. Last reply by Gabor H on Tuesday. 4 Replies

Anyone managed to get pixhawk to control the t4-3d gimbal?i've tried following the same steps in the wiki but that was for the 2 axis gimbal…Continue

Leddar One optical range-finder support coming to ArduPilot?

Started by Tony Kenward. Last reply by Lance Brummett on Sunday. 13 Replies

Now that the LidarLite is off the market (until Garmin brings it back), there are not many options for accurate altitude sensing.I have a optical flow sensor that I would like to mount up, but I…Continue

Comment Wall

Comment

You need to be a member of ArduCopter User Group to add comments!

Comment by Wayne Morris on June 23, 2013 at 6:22am

OK, that sounds better. Can I download the standard firmware file from somewhere to compare with the one I compiled to ensure they match?

Comment by Stephen Dade on June 22, 2013 at 9:28pm

Wayne - The warnings are expected (and normal) with the APM code. The output file is expected to be put in a temp file - that's how the makefile is programmed.

If you're using the Arduino environment, simply select the mega2560 board and correct com port, then press "verify" and then press "upload". Arduino will take care of the details.

The makefile is only used directly if you're using Linux or Cygwin (on Windows).

Comment by Bob Doiron on June 22, 2013 at 6:40pm
Arduino will compile and download from the project directory. The 'verify', which is a compile, happens in the temp. I never did try having arduino install it...
Comment by Wayne Morris on June 22, 2013 at 6:39pm

The make file is just a configuration. I read instructions to run it.

To compile, I am selecting the sketch and clicking compile.

Thanks for the input.

Comment by Wayne Morris on June 22, 2013 at 6:36pm

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.

Comment by Wayne Morris on June 22, 2013 at 6:32pm

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

Comment by Bob Doiron on June 22, 2013 at 6:24pm
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.
Comment by Bo Barry on June 22, 2013 at 6:19pm

Dont run the makefile. Load the Arducopter.pde and compile it

Comment by Wayne Morris on June 22, 2013 at 6:08pm

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

Comment by Bo Barry on June 22, 2013 at 4:57pm

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

 
 
 

DIY Drones Monthly
Newsletter

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2016   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service