Rank: 726 based on 175 downloads (last 30 days) and 1 file submitted
photo

Robert Hartley

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Robert Hartley
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Nov 2012 Screenshot APM2 Simulink Blockset Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad Author: Robert Hartley aerospace, control design, simulink, simulation, embedded code, wireless 175 42
  • 4.55556
4.6 | 11 ratings
Comments and Ratings on Robert Hartley's Files View all
Updated File Comment by Comments Rating
09 Dec 2014 APM2 Simulink Blockset Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad Author: Robert Hartley martin

Hi dear all,
After many tries I've got a simple error in uploading the code to the APM. Can anyone PLAESE help me? This is the error:

"""The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
The build failed with the following message: A subdirectory or file ./ already exists.
IMU_Serial_Example.mk:138: recipe for target './' failed
make: *** [./] Error 1"""

Thanks,

Martin

08 Nov 2014 APM2 Simulink Blockset Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad Author: Robert Hartley will yin

really thanks

30 Oct 2014 APM2 Simulink Blockset Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad Author: Robert Hartley Tim

Hey there,
thanks again for this wonderful block set.
For a little college HIL-Simulation, we are trying to use the APM2.6 as our autopilot controlling the servos - he is supposed to get sensor data from outside using Simulink as well be programmed using Simulink.
The important part right now is sending data to APM.
The serial send and receive blocks do their job I think very well.
But I am struggling with communication: We can send a vector of bytes - thus include the target and the information for the target in the vector. But on the APM we receive the bytes not in a vector, rather in serial (making sense cause its a serial receive ;) )

Does anyone know or can get me a hint where to get information concerning reassembling the byte stream to get target and information out of it - all of that being able to assemble in simulink?

For clarification eg:
Target: Servo Channel 1
Information: Postion 1500 Microseconds
Target: Pitch
Information: +5 deg

I am also open for ideas not using the Serial-Receive Block but programming (with in Simulink) around it.

If the question is unclear pleas tell me!
Thank you very much in advance.
Tim

15 Sep 2014 APM2 Simulink Blockset Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad Author: Robert Hartley Sergio Biagioni

Hi Yashin,
This target cannot be used with the pixhawk.

Adam Polak developed a target specifically for the PX4 pixhawk. It can be found here:

http://polakiumengineering.org/px4-development-kit-for-simulink/

15 Sep 2014 APM2 Simulink Blockset Simulink blockset for use with the ArduPilot Mega 2.0 hardware. Includes blocks to read external rad Author: Robert Hartley yashin

hello;

i can use this program for pixhawk ?

thx

Contact us