Go to advanced search

by n0rmanUK
Thu Aug 11, 2016 11:50 pm
Forum: Networking and servers
Topic: Connect to SQL Remotley using C/C++/MATLAB
Replies: 5
Views: 1146

Re: Connect to SQL Remotley using C/C++/MATLAB

How comfortable are you actually with C or C++ ?? Which toolchain (or IDE ?!) are you using ? Unsurprisingly , "libmysqlclient" is the official MySQL client library courtesy of mysql.com https://dev.mysql.com/doc/refman/5.7/en/c-api.html ghans Well, I am kind of beginner to C and C++, but I did a l...
by n0rmanUK
Thu Aug 11, 2016 8:39 pm
Forum: Networking and servers
Topic: Connect to SQL Remotley using C/C++/MATLAB
Replies: 5
Views: 1146

Re: Connect to SQL Remotley using C/C++/MATLAB

Which SQL server ? MySQL / MariaDB ? You need an MySQL "client" library for each language. C and C++ can both use "libmysqlclient" so far i know. If your PC runs Debian/Ubuntu too , just install "libmysqlclient-dev" on the PC. ghans Thanks for your reply. Ok, I got that, but do I know need a specif...
by n0rmanUK
Thu Aug 11, 2016 10:45 am
Forum: Networking and servers
Topic: Connect to SQL Remotley using C/C++/MATLAB
Replies: 5
Views: 1146

Connect to SQL Remotley using C/C++/MATLAB

Hi everyone, Just before I start, I would like to inform that I was searching for the solution and I wasn't able to locate what I need. I want to have an SQL server on my Raspberry PI 3. I know how to install that (tick). I would also like to connect to it remotely (could be from the same house, so ...
by n0rmanUK
Fri May 06, 2016 1:16 pm
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Re: Pixhawk, Raspberry PI and SIMULINK model

Did you try building and running this ? https://github.com/mavlink/c_uart_interface_example ghans That is interesting. I will try that. Many thanks for your help. I also have seen some MAVCONN method for low latency C++ connection. I will also try that and report back. I have tried the instructions...
by n0rmanUK
Thu May 05, 2016 8:21 pm
Forum: Python
Topic: Python and DroneKit Issue
Replies: 2
Views: 1603

Python and DroneKit Issue

Hi. I am currently working on a drone and I am developing a communication between Raspberry PI and the Pixhawk. I developed a script that obtains and changes parameters on the Pixhawk whilst running from the Raspberry PI. I am using MAVlink and DroneKit for this. Here is my code: #Set up option pars...
by n0rmanUK
Thu May 05, 2016 7:36 pm
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Re: Pixhawk, Raspberry PI and SIMULINK model

You would've gotten more help if you've said no Mathworks tools are involved. Most people here neither have access nor seem to be interested in supporting non-libre "programming languages". Alas , i guess it's too late now to rewrite those parts of your project in C/C++/FORTRAN/Pascal ? ghans Today...
by n0rmanUK
Thu May 05, 2016 11:25 am
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Re: Pixhawk, Raspberry PI and SIMULINK model

You would've gotten more help if you've said no Mathworks tools are involved. Most people here neither have access nor seem to be interested in supporting non-libre "programming languages". Alas , i guess it's too late now to rewrite those parts of your project in C/C++/FORTRAN/Pascal ? ghans Well ...
by n0rmanUK
Wed May 04, 2016 11:48 pm
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Re: Pixhawk, Raspberry PI and SIMULINK model

This is part of my university project. I really need help. Isn't that the job of your tutor/professor? Isn't that what he/she is paid for? Well, Is it my Professor's job to do my work for me? The answer is no. I get your point, but it is my degree. Not his. It is a UK challenge for an autonomous qu...
by n0rmanUK
Tue May 03, 2016 6:09 pm
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Re: Pixhawk, Raspberry PI and SIMULINK model

Is http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html of any use to you? Thanks, but that doesn't work, because of some DroneApp changes or something. Anyway I cannot get Python to work at all for whatever reason. I tried about 12 times strictly following the steps. That is why I am on thi...
by n0rmanUK
Tue May 03, 2016 7:12 am
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Re: Pixhawk, Raspberry PI and SIMULINK model

Aren't there any people who have done or heard of something similar and could advise?

This is part of my university project. I really need help.
by n0rmanUK
Mon May 02, 2016 12:06 pm
Forum: Automation, sensing and robotics
Topic: Pixhawk, Raspberry PI and SIMULINK model
Replies: 11
Views: 3848

Pixhawk, Raspberry PI and SIMULINK model

Hi, Well, I wanna establish a connection between raspberry pi and pixhawk and then automate it, so that I can deploy a Simulink model that will constantly use pixhawk's variables. Shall I install mavlink and mavconn to use C++ code to access the variables? I then hope for a SIMULINK model to use the...
by n0rmanUK
Wed Apr 20, 2016 10:44 pm
Forum: Automation, sensing and robotics
Topic: Pixhawk Mavlink connection issue
Replies: 1
Views: 2062

Pixhawk Mavlink connection issue

Hi everyone! I am new to this forum and I am quite new to Raspberry Pi. I am part of a team and we are designing a quadcopter for an autonomous mission. The RP is used for target recognition and it has to be fed with information from Pixhawk and I need to send some information back. I am currently c...

Go to advanced search