Progress

Building a delta throttle? Make a thread here to share your progress and ask questions.

Re: Progress

Postby M2RiverRat » Thu May 07, 2015 5:59 am

Here is the utility test, it does not seem to be receiving the analog signal, it sees it moving but is not reading the position.
Here is a quick video.
https://www.youtube.com/watch?v=E6IQL5o8KgQ&feature=youtu.be
M2RiverRat
 
Posts: 19
Joined: Mon Feb 16, 2015 12:51 am

Re: Progress

Postby zdayton » Thu May 07, 2015 6:53 am

That looks fine to me. Moving up and down should move just the Z axis, left right should be just X, and forward back should be just Y, and it looks like that was what you got. If your wiring was wrong you would get a weird combination of both axes, so if you moved forward the output would be diagonal. But your output looks good so I think it was just not bound properly in Elite. The only thing is that you should put your hand on the throttle and let it compress to the point where it is holding the weight of your hand, then plug it in. It looks like you plugged it in with the handle all the way up, which is why your z value never goes above half way.

When you bound your controls in Elite, did you rebind all of your controls? The game doesn't know which input is the joystick and which one is the throttle so you have to rebind everything (just once, not every time you start the game).
zdayton
Site Admin
 
Posts: 81
Joined: Wed Dec 24, 2014 6:20 am

Re: Progress

Postby M2RiverRat » Thu May 07, 2015 6:52 pm

I only rebound the thrusters since that was the only thing I wanted it to control, I will try to rebind all and see if that fixes the issue.
I tried without the joystick and everything works fine.
Is there a way to make the throttle be recognized as like joy2 ?
M2RiverRat
 
Posts: 19
Joined: Mon Feb 16, 2015 12:51 am

Re: Progress

Postby zdayton » Thu May 07, 2015 7:22 pm

Windows arranges them alphabetically I think. I haven't found a way to change which one is 1 and which one is 2. The good news is once you have your controls set up you don't have to change them.
zdayton
Site Admin
 
Posts: 81
Joined: Wed Dec 24, 2014 6:20 am

Re: Progress

Postby Nemesisghost » Thu May 07, 2015 9:03 pm

M2RiverRat wrote:The On/Off switch could be good for things like FTL and when your just sitting there, I may do that. Did you just do a toggle switch to the signal wire?


What I did was have a button hooked up to a pin that's tied to an interrupt. In my case I used pin 7 & interrupt 4. Then in my code I have a method that gets triggered via that interrupt when I press the button. The method sets a couple of booleans, which I use in my loop to determine what state I'm in & if I need to re-initialize my zero points on my axis.
Nemesisghost
 
Posts: 14
Joined: Thu Apr 09, 2015 12:44 am

Re: Progress

Postby M2RiverRat » Thu May 07, 2015 9:19 pm

I finally got it to work. I'm going to look into a way make it so i can turn the thrusters on/off, just cause if your docking of in a asteroid field you don't want to just start going up. :D
M2RiverRat
 
Posts: 19
Joined: Mon Feb 16, 2015 12:51 am

Previous

Return to Build progress and showcase

Who is online

Users browsing this forum: No registered users and 1 guest

cron