Niklas
  • Male
  • Kgs. Lyngby
  • Denmark
Share Twitter

Niklas's Discussions

Radio or sensor input does not work

Started this discussion. Last reply by Niklas Sep 30, 2012. 1 Reply

Hi guys.I have a problem when using flightdata, and calibrating the radio in the APM Planner. In the planner software, the graphical flight data window does now show changes when I tilt the board,…Continue

 

Niklas's Page

Latest Activity

Niklas replied to Niklas's discussion Radio or sensor input does not work
"I loaded  firmware 2.7.3 from APM planner indstead of the Arduino software, and suddenly it all worked."
Sep 30, 2012
Niklas posted a discussion

Radio or sensor input does not work

Hi guys.I have a problem when using flightdata, and calibrating the radio in the APM Planner. In the planner software, the graphical flight data window does now show changes when I tilt the board, nor does the raw data view show any values but 0. Further more the radio calibration windows shows only 0 values. I have tried to read radio and compass values using the terminal. The radio returns only 0's, and the compass returns "not healthy"I have tried various setups, using usb and telemetry, but…See More
Sep 30, 2012
Niklas commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"I will look into this in the evening. :)"
May 11, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Question: If I use thermopiles, should I just replace your sensor-file with the original one ? If yes, do you have the original version for me ?"
May 11, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Ok. But my issue now is, that I dont get a blue Led from the GPS. I used AP 2.7.1 and used the possibility there to switch THROTTLE_PIN from 13 to 11. I cant remember if I had to change the HW for that. And as far as I can see in 2.5 Pin 11 is…"
May 11, 2011
Niklas commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"I am using an accelerometer instead of thermopiles, so my sensor file is altered as well. You should be able to use thermopiles, just keep track of the roll (sensor_roll?) and pitch (sensor_pitch?) variables.   The changes in the GPS…"
May 11, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Ok, I changed the code, put int() in each line. The errors messages in eclipse are all gone. I can see data comin in, but still NO display in the GS window with regards of pitch/roll thermopiles. Will do some debugging later the day. Oops, did not…"
May 11, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"This is strange. I did not touch your code in that area (why should I). And yes, in the IDE Monitor I can exactly see, what I can see in eclipse: It does not say %%bla bla;55; it says %%bla bla;55.0000000;   And in the code (I hope, this is the…"
May 10, 2011
Niklas commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"For some reason you received floats on your serial channel? Since a float can not be parsed by Integer.parseInt the code fails. I would look into the print functions in the ardupilot code. The received values should look something like this:…"
May 10, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"It was easier for me to connect the AP. I did that and downloaded your code and did some adaptions to my hardware. The AP runs (hm, I can see, that the servos move if I use my RC). Connecting your GD I can see the servo values and the CtrlMode, but…"
May 10, 2011
Niklas commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Actually I think you could just use the GPS and print functions, if you have a working setup yourself."
May 10, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Some quick comments: Donwloaded your code. I imported the Javacode to eclipse first (on Vista), could compile it. Had some minor problems with gnu.io :) I connected just an Arduino to get a hw connected to an usb port and changed only one line of…"
May 10, 2011
Niklas posted a blog post

Ardupilot 2.5 and new groundstation taken to next level.

 So, what do you do when you have some old hardware lying around, and want to reuse that instead of buying the new ArduMegaPilot: Build you own ground station and modify parts of the code for the Ardupilot.First of all I got tired of LabView, and the other standard parts, and found later versions of Ardupilot too…See More
May 8, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Ok. agreed: Thats the way to go. Wait for the source code to check, if I can use it in my case."
May 8, 2011
Niklas commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Hey guys.   The trick is to not mess up the data stream from the GPS module, since only one serial port is available. I created a command queue in the ground station, so it transmits one command after each GPS message. These are only received…"
May 7, 2011
KnutL commented on Niklas's blog post Ardupilot 2.5 and new groundstation taken to next level.
"Could you say a few words, what you did on the ardupilot side to allow for 2-way communication ?"
May 7, 2011

Profile Information

About Me:
Software engineer with a passion for UAVs
Tell us a bit about your UAV interest
I will try to keep it as simple and cheap as possible, while focusing on fail-safe code.
Hometown:
Copenhagen

Niklas's Blog

Ardupilot 2.5 and new groundstation taken to next level.

Posted on May 5, 2011 at 11:30am 23 Comments

 

So, what do you do when you have some old hardware lying around, and want to reuse that instead of buying the new ArduMegaPilot: Build you own ground station and modify parts of the code for the Ardupilot.



First of all I got tired of LabView, and the other standard parts, and…

Continue

Buggy GPS code for the EM406

Posted on August 15, 2010 at 3:56am 6 Comments

Hi all.


I was messing around with my simulator some time ago, and found that the ground course, returned from the binary GPS decoder, in GPS_EM406.pde returned false heading between 300 and 360 degrees. This is also mentioned in the comment.


The problem is that the number returned from the GPS module is returned times 100, as the comment suggest, this means values between 0 and 36000.…


Continue

Simulation, taken to the next level.

Posted on June 25, 2010 at 5:00am 4 Comments

Hi guys,


I finally decided to join the community with my first post, enjoy.


My work started with great inspiration of the 6.th round of the T3 contest, where the task is to simulate a flight, writing DIY Drones. While the description of the open loop, nor the closed loop simulation did not include any real sensory inputs, I decided to setup a small test scenario on my desktop. I…
Continue

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service