Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Schicko

Pages: [1] 2
1
General Discussion / Re: Bot-Making Help
« on: April 02, 2016, 01:13:01 pm »
Thanks for the heads up PressureLine. I have a question: Isn't the sign function supposed to output a 0 if the input is 0? Mine is outputting a 1 for some reason.

2
General Discussion / Re: Bot-Making Help
« on: April 01, 2016, 11:39:05 pm »
Awesome, thanks! Yeah I wasn't really sure where I was supposed to plug the outputs of the pitch/roll vector calculations. They come out with really small values (around 1) so I wasn't sure if I did the calculations right. I thought it made sense to multiply it to the output of the pids so that's what I did. I will definitely make sure to check out your bot to see what I am actually supposed to do  ;D .

I've started work on the other hoverbot earlier as well, and I'll probably do some more tomorrow. I've replaced the motors with elbows like you suggested and finished linear velocity controls which are basically the same as TI's.

Working out the math for the angular velocity controls is still proving troublesome for me though, as maths isn't my strongest suit. I'm sure I'll get it soon enough though, just need to brush up on vectors and trig some. One thing that is really bugging me though is that I can't seem to get my head around how to make jets at the bottom/angled downwards have positive thrust value whilst those at the top/angled up have negative/0 as the jets' positions and roles are dynamic, what with them being vectored thrust jets after all.

Do I even need to ensure the bottom jets are positive and vice versa or am I approaching the issue with angular velocity controls all wrong? I feel like it's impossible to calculate the required thrust without knowing the correct angles, but also that it's impossible to know the required angles if the correct thrust isn't known. I think I am missing a variable or something.

Perhaps I'll sleep for now, try to clear my head and hopefully tomorrow I'll be able to better understand what I need to do  ;D.

3
General Discussion / Re: Bot-Making Help
« on: April 01, 2016, 03:56:17 pm »
MarvinMan, I tried to implement your suggestion for TI and here is what I came up with: https://www.dropbox.com/s/dw2a3hj2su2i7t1/bp_TI2?dl=0 . Was that what you meant?

4
General Discussion / Re: Bot-Making Help
« on: April 01, 2016, 12:35:59 pm »
Thanks for the explanations MarvinMan, and sorry for the inconvenience. I think what you've said makes sense. I'll try working it out for myself, but feel free to upload your blueprint so I and others can use it for future reference.

5
General Discussion / Re: Bot-Making Help
« on: March 31, 2016, 10:11:53 pm »
Hey thanks MarvinMan! I will try out removing the ki, but I'm not sure how I'd make it calculate the forces required. I think the same would apply for the thrust vectoring issue. How would I make it calculate the required forces/angles actively if their states change quickly and frequently? Do I just use the math operand and make it calculate lift force by using trig/pythag on the pitch/roll jets' thrust values? Keep in mind I am still a noob at Rawbots and robotics in general and I basically just figured out how to make TrookLue's bot by watching his video and using some common sense.

Oh and next time, I promise to edit less and post more ;D . Thanks again.

Edit: Whoops. Sorry for the mixup. Also realised it might not just be pythag I need to resolve vectors.

6
General Discussion / Re: Bot-Making Help
« on: March 31, 2016, 06:30:33 pm »
No takers :'( ? It would be really great if someone could tell me how I might program PID controlled thrust vectoring even for one motor-elbow-jet setup, then at least I could try and go on from there. https://www.dropbox.com/s/51z5dsi5c1h51h5/bp_2?dl=0

7
General Discussion / Re: Bot-Making Help
« on: March 30, 2016, 01:08:20 pm »
Thanks all. Apparently all I needed was to rest a bit so I could better figure out what I was doing wrong. The angular velocity controls were all wrong as I had assumed that TrookLue made it so that [8] would make it pitch down and [5] would pitch up which wasn't the case. Also I muddled the roll controls, so that didn't help either. I've fixed it now though: https://www.dropbox.com/s/7qntthmbjamo9qp/bp_TI7?dl=0

Maybe I will implement better controls as per Marvin's suggestions and also add some weapons to it later.

Thanks again.

Edit: I think a bot that uses less parts than TI but can also move like it could be made. It would look something like https://www.dropbox.com/s/4s4kh3mqu2w0ehr/bp_1?dl=0 . The different degrees of movements would be attained by the 6 jets using thrust vectoring. I have no idea how that could be programmed in though  ;D. Any ideas?

8
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 06:33:28 pm »
I figured that my bot design can't achieve the full degree of movement that Trook's TI can, so decided to make myself one of those and start from that design instead. Unfortunately, despite trying to duplicate the programming in the video as close as I can, my TI doesn't work like the one in the video and breaks.. Can someone help with this please?  ;D

Here is what I came up with: https://www.dropbox.com/s/qj6b51m1veptthe/bp_TI?dl=0

That one breaks after leaving it alone for a couple seconds, so here is an older version which has linear velocity controls disabled: https://www.dropbox.com/s/ian5tolhpxv8e6w/bp_TI4?dl=0

That one only breaks when you try and use angular velocity controls.

I tried my bot in both vanilla and modded clients, but it still breaks. I feel like I am probably doing the controls wrong, but I'm not sure where I went wrong with them.

9
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 03:02:31 am »
Right. That's good to know. I'll try to figure out the new stuff from the mod, how the canary works and how to stabilise my bot in a little while. Right now I really need some sleep haha. Thanks again for all the help.

I think ifound your hover target: https://drive.google.com/drive/folders/0B42Wtrlp8xi9dTdPa0k2S2tmTE0

I will check it out later.

10
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 01:55:05 am »
Right, thanks. I will try that and tell you how it goes.

Edit: Awesome, copying the dll and using wine for the installer did the trick. I suspect I probably didn't need to dl the windows version as the data files look the same anyways. Oh well. At least I can load the canary now. Question though: say I were to save a blueprint/world in the modded version, would it still load in the vanilla version?

11
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 01:41:13 am »
It looks like your zip contains a Windows executable. I'll have to run the windows version of the game under wine which I've not tried before. Is there perhaps a Linux installer for it?

12
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 01:28:03 am »
I tried loading the Canary blueprint then this happened XD :

http://i.imgur.com/ZPYZbB5.jpg

It happens each time I load that blueprint, even after reloading the game. :/

13
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 01:00:04 am »
Right, will do PressureLine. Thanks.

Wow I didn't realise there were so many blueprints in that topic. I will take a look at those too.

Oh BTW, the game crashes sometimes when I load blueprints/a new world. It will either close or the window will turn black and become unresponsive/uncloseable. Is there anyway I can prevent that?

14
General Discussion / Re: Bot-Making Help
« on: March 29, 2016, 12:54:09 am »
Hey thanks for your reply MarvinMan. I don't really understand what you mean by "separate systems" though. Correct me if I'm wrong, but I thought I did make the systems separate. Or at least I think I made the altitude control systems separate to the the yaw/orthogonal movement control systems.

Also I don't think I have implemented proper pitch/roll control systems yet (at least not intentionally - apparently pitch/roll control can be achieved if the right combinations of two buttons from q/w/e/a/s/d are pressed). Would it be possible for you to show me examples of implementations of the two different methods you mentioned in the form of blueprints so that I could better figure out how to implement them on mine?

As for the centre continuum control loop, where should I put the output of that to? I'm assuming to the altitude control systems? If it is, would I need to replace the individual PID loops for each of the up/down jets with control from the continuum's PID instead? Or just combine them somehow? Forgive my asking so many questions. I'm a noob afterall :D.

Ideally I would like to end up with something as stable as Trook's "TI" in
with its full degree of movement but using less parts if possible. I've tried to figure out how he did the programming but I don't really understand it. It doesn't help that I don't know which jets are connected to which programs in the video.

It's a shame that mouse control is not possible. I think I will just make the cannon keyboard controlled instead. Or perhaps replace it with rotating lasers instead.

Anyways, thanks again.

15
General Discussion / Bot-Making Help
« on: March 28, 2016, 11:05:28 pm »
Can someone help me with my bot please. I'd like to make it more stable somehow as it keeps moving around a lot (it hovers) but I don't know how. I'd also like to make the cannon at the bottom be able to aim depending on mouse position but I'm not sure how I'd do that or if it is even possible.

https://www.dropbox.com/s/n2oog5otwmupak7/bp_6?dl=0

Pages: [1] 2