Hello guys,

I am a beginner of LibrePilot. After building the environment, I find two files called Eclipse and gdb under /librepilot/flight, respectively. So I'm wondering if my revolution board firmware project can be opened with eclipse or any other editors along with GDB?

Actually, I want to use VSCode editor to develop, because it looks so cool. Although it is new for me to use an editor as an IDE, I really want to learn about how to do that. If that is possible? If yes, where could I find any tutorials ? (As I know, VSCode  + OpenOCD + GDB can be used as a quite light IDE.)

In addition, my environment is Ubuntu14.04LTS.

Any help is appreciated.

Best Regards

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #1 on: March 17, 2018, 07:55:59 pm »
I recall that eclipse is used by some of the GCS developers.  For GCS I have just used QT gui tools (in particular "designer"), text editor, and command line.

Many firmware developers just use a text editor and command line.

A lot depends on whether you can do your work without a debugger.  I have only used a debugger for firmware a small number of times.

old webinar video
    https://forum.librepilot.org/index.php?topic=1079.0
Is this old webinar available here for download?  If someone wants, I still have a high def copy (so you can read the text) that I can upload somewhere.
« Last Edit: March 17, 2018, 08:13:18 pm by TheOtherCliff »

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #2 on: March 18, 2018, 08:46:15 am »
Uhhuh,  the webinar video() seems very useful for beginner like me :D :D. I'll watch it and find something I need to do later.

Unclear text in the low res vedio is making me a little bit hard to follow... Maybe you can try to cut the high res one into two parts before uploading to Youtube. :)

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #3 on: March 18, 2018, 09:48:59 am »
I think the problem is that youtube reduces the resolution / bit rate so even a good copy looks bad.

Maybe someone here can give me access to upload the file and people who want to watch it can download the true high def file.

The version I have is a 1.8gig mp4 file 1024x576 1408kbps.

filnet

  • *****
  • 113
Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #4 on: March 18, 2018, 10:43:28 am »
I use Eclipse but only as a source code editor.

Compilation and debugging is done on CLI.
I also use Qt for editing *.ui files (I am not aware of a Qt plugin for Eclipse).

Yet, Eclipse is helpful for code navigation and other editing features.

It is not too difficult to setup Eclipse to make it useful.

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #5 on: March 18, 2018, 05:12:33 pm »
@TheOtherCliff If convenient, you can try "Baidu Net Diskhttps://pan.baidu.com/" to upload the true high def file,  since it featrues storing and sharing files with each other FOR FREE(just like Onedrive? I don't know, but Baidu Net Disk is the most popular online storing service in China.) And here is an activityhttps://yun.baidu.com/1t,, from which you can aquire free storing room up to 2T(2048G).
If not convenient, could you send it to my gmail? My mail address is: [email protected]. (And then I upload it to Baidu Net Disk?)

@filnet Uh huh, I am going to try qtcreator at first ;), and taking Eclipse as an option. Thank you for your advice :D.

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #6 on: March 19, 2018, 11:04:19 pm »
My email does not allow large files and I would prefer to copy it to somewhere on LP servers.

I will see if I can set it up so you can just get it directly from me with scp.  I don't want to leave it that way permanently for fear that my data caps will be surpassed.

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #7 on: March 20, 2018, 12:25:35 am »
You can copy it directly from the server where it is temporarily stored by using this Linux command (password is TZLr15hd8i):
Code: [Select]
scp  -P  443  webinar@<post-in-this-thread-for-ip-address>:OpenPilot*.mp4  . Note the space before the last period.  I changed this command to have two spaces where a space is needed so it would be more obvious.  It also works with one space.

If you mess up the password, wait 5 minutes before trying again.  There are very strict rules in place that permanently ban users that could be brute force logins.  If you trip up, post your IPv4 here and I will reset the block on it.

Note that this specifies using the non-standard port 443.  If you are using something besides "scp" you will have to figure out the command line options that force the use of port 443.  I think that Putty has a -pw option to allow you to put the password right in the command line.

The name of the file is:
OpenPilot Webinar - Intro to OP Development - 135758844.mp4
in case you need to know before copying.
« Last Edit: March 30, 2021, 08:35:46 am by TheOtherCliff »

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #8 on: March 20, 2018, 03:29:38 am »
Transfer complete.  I am disabling webinar@<post-in-this-thread-for-ip-address>
If someone needs this file in the future, post here and I will enable it again.
« Last Edit: March 30, 2021, 08:36:23 am by TheOtherCliff »

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #9 on: March 31, 2018, 05:40:59 am »
I haven't been here and have missed the vedio transfer, since I am busy these days and have no idea where to start with the project... :P

Could you please reopen the tranfer if convenient? I'll get it this time.  ;)

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #10 on: March 31, 2018, 05:03:02 pm »
Re-enabled.  Give it a try.  Same username and pw.  Transfer takes 7 hours at 250kBps.

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #11 on: March 31, 2018, 06:49:24 pm »
The IP <post-in-this-thread-for-ip-address> cannot be connected, it failed when I try to ping that on Windows7. :P

Check if it is enabled correctly please? :)
« Last Edit: March 30, 2021, 08:36:58 am by TheOtherCliff »

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #12 on: March 31, 2018, 07:06:33 pm »
And here is my server IP: 119.29.162.38. :D

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #13 on: March 31, 2018, 10:58:37 pm »
I have that system locked down pretty tight.  I don't recall whether I even allow ping.  Just try with scp.  I verified that I can ssh out to another server and ssh in to webinar@<post-in-this-thread-for-ip-address>

You MUST use an option that changes the connect port from 22 to 443.

Code: [Select]
[root@firewall chucky]# ssh -p 443 webinar@<post-in-this-thread-for-ip-address>
This server may only be used by authorized accounts.
IP's and break in attempts are logged with emails
sent to authorities at offenders ISP.

Password:
...
« Last Edit: March 30, 2021, 08:37:41 am by TheOtherCliff »

Re: Any tutorials about developing librepilot with eclipse or other IDE?
« Reply #14 on: April 01, 2018, 05:18:39 am »
Yes, I tried connecting with scp but not success.
Code: [Select]
cwq@ubuntu:~/code$ scp  -P  443  webinar@<post-in-this-thread-for-ip-address>:OpenPilot*.mp4  .
This server may only be used by authorized accounts.
IP's and break in attempts are logged with emails
sent to authorities at offenders ISP.
Information regarding international or sponsored
attacks are offered to the NSA.
Offenders TOS'ed in 2016: 52

Password:
OpenPilot Webinar - Intro to OP Development -   0%    0     0.0KB/s - stalled -
OpenPilot Webinar - Intro to OP Development -   0%    0     0.0KB/s - stalled -

Neither did ssh cmd.
Code: [Select]
cwq@ubuntu:~/code$ ssh -p 443 webinar@<post-in-this-thread-for-ip-address>
ssh: connect to host <post-in-this-thread-for-ip-address> port 443: Connection refused
« Last Edit: March 30, 2021, 08:40:41 am by TheOtherCliff »