<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 26 Jul 2021 12:23:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>Time stamping inputs and commands</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/1098979cc1/?limit=25#aad4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Eric, &lt;/p&gt;
&lt;p&gt;I hope you are well. &lt;/p&gt;
&lt;p&gt;I understand that you have not had an enquiry on here in a while, so I hope this reaches you.&lt;/p&gt;
&lt;p&gt;I am hoping to create a bespoke environment within 42 for Attitude and Orbital Control System (AOCS) research over the course of my summer internship. My aims include adding specific visualisations of a 3-unit CubeSat as part of a student-led project, and defining the interfaces to define properties for:&lt;br/&gt;
&lt;em&gt; Position sensors (e.g. sun/star trackers)&lt;br/&gt;
&lt;/em&gt; Reaction wheels&lt;br/&gt;
&lt;em&gt; Magnetorquers&lt;br/&gt;
&lt;/em&gt; Propulsions systems&lt;br/&gt;
* Field of view pointing&lt;/p&gt;
&lt;p&gt;My first question is: How are we able to command the spacecraft to complete manoeuvres at specific times? In other words, how may we time stamp inputs and commands? I initially believed that this would be achieved via the use of a command script, but I now believe it is much more complex than that. &lt;/p&gt;
&lt;p&gt;My second question is: Is it possible to specify desired outputs into 42, (such as a certain FOV or the output torques), with a certain level of precision, have 42 run the simulation and determine what the AOCS needs to do in order to achieve this, and then 42 tells us what the essential inputs would need to be to achieve those outputs we specified? &lt;/p&gt;
&lt;p&gt;Once again, I hope this query reaches you in good health, and please do get in touch if you wish me to elaborate further.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Katie Knowles&lt;br/&gt;
MPhys Physics with Space Science&lt;br/&gt;
University of Leicester &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katie Knowles</dc:creator><pubDate>Mon, 26 Jul 2021 12:23:32 -0000</pubDate><guid>https://sourceforge.net108423cb132f46cfbf39a5aa06e824e13df825b0</guid></item><item><title>installation on Mac</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/d350842f6c/?limit=25#5131</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I am trying to open and run 42 on my mac, but I am having trouble. I keep getting errors when i try to run the make file. This is the error I get when I do not change any of the code: &lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;Loaner205849-18:~ loaner$ /Users/loaner/Downloads/42\ 2/Makefile ; exit;&lt;/dt&gt;
&lt;dd&gt;command not foundoads/42 2/Makefile: line 2: &lt;br/&gt;
/Users/loaner/Downloads/42 2/Makefile: line 5: AUTOPLATFORM: command not found&lt;br/&gt;
/Users/loaner/Downloads/42 2/Makefile: line 6: syntax error near unexpected token &lt;code&gt;$(MSYSTEM),MINGW32'
'Users/loaner/Downloads/42 2/Makefile: line 6:&lt;/code&gt;ifeq ($(MSYSTEM),MINGW32)&lt;br/&gt;
logout&lt;br/&gt;
Saving session...&lt;br/&gt;
...copying shared history...&lt;br/&gt;
...saving history...truncating history files...&lt;br/&gt;
...completed.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;&lt;span&gt;[Process completed]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I have tried commenting out the if statements and just setting 42Platform to apple but I get different errors when that happens. Can anyone help me?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roma Hladky</dc:creator><pubDate>Tue, 08 Jun 2021 20:33:08 -0000</pubDate><guid>https://sourceforge.net83b8da8f1d2148c4dc7284dfdb670652ee046fa8</guid></item><item><title>Magnetic Field Measurements and External Torque Output File</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/c40b97948d/?limit=25#5c76</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;I hope you are well. I realise you have not had an enquiry on here in a while, so I hope this reaches you.&lt;/p&gt;
&lt;p&gt;I'm creating a simulation within 42 to find the torque outputs, and therefore slew rates, of a magnetorquer board onboard a 3U Cubesat platform. For now, this is just a basic simulation to advise mission concept of operations. I am learning 42 as a valuable part of a Masters major project. &lt;/p&gt;
&lt;p&gt;My first question is: How do you output the IGRF magnetic field vector into an output (.42) file? This could then be used to find the magnetorquer torque outputs and therefore the slew rates, creating a more accurate simulation than my basic MATLAB models.&lt;/p&gt;
&lt;p&gt;My second question is: When modelling the environmental torques acting on the spacecraft, are the outputs within the EnvTrq.42 file the torques (Nm) in 6DOF in the inertial frame (1st 6 columns) and body frame (final 6 columns)?&lt;/p&gt;
&lt;p&gt;Once again, I hope this query reaches you in good health.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Sebastian Green&lt;br/&gt;
MSc Space Exploration Systems&lt;br/&gt;
University of Leicester&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Green</dc:creator><pubDate>Wed, 01 Jul 2020 12:20:08 -0000</pubDate><guid>https://sourceforge.net8b32a784efdeb2ad8c93d339b41c6202d90d5e7f</guid></item><item><title>Two Questions: 1. Sockets  2. Interplanetary Orbit Transfer</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/630ed9c100/?limit=25#36df</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The 4th one.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yu Tso</dc:creator><pubDate>Mon, 09 Dec 2019 06:15:52 -0000</pubDate><guid>https://sourceforge.net16f13edbcd92f029fbabd6d98849189d0d38a95c</guid></item><item><title>Two Questions: 1. Sockets  2. Interplanetary Orbit Transfer</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/630ed9c100/?limit=25#63be</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The 3rd one.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yu Tso</dc:creator><pubDate>Mon, 09 Dec 2019 06:15:20 -0000</pubDate><guid>https://sourceforge.net23d885f435031cffec12c47213ccc8d49c86906d</guid></item><item><title>Two Questions: 1. Sockets  2. Interplanetary Orbit Transfer</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/630ed9c100/?limit=25#aac1</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The 2nd one.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yu Tso</dc:creator><pubDate>Mon, 09 Dec 2019 06:14:35 -0000</pubDate><guid>https://sourceforge.netfb53a1217dad339da93063ae1af36fde07db7d3c</guid></item><item><title>Two Questions: 1. Sockets  2. Interplanetary Orbit Transfer</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/630ed9c100/?limit=25#2880</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that the video is so large that I failed to attached as a piece. I just cut it into four clips. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yu Tso</dc:creator><pubDate>Mon, 09 Dec 2019 06:13:49 -0000</pubDate><guid>https://sourceforge.netce38a88633ee45573bba3b2745da0eaece211de5</guid></item><item><title>Two Questions: 1. Sockets  2. Interplanetary Orbit Transfer</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/630ed9c100/?limit=25#de78</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Dr. Stoneking, &lt;br/&gt;
 I'm Yu Tso. It's nice to meet you.&lt;/p&gt;
&lt;p&gt;I'm working on making 42 a GUI like those of STK, GMAT, or FreeFlyer.  The attached video describes what I have done so far. &lt;/p&gt;
&lt;p&gt;I have two questions (listed as the title of this topic).&lt;/p&gt;
&lt;p&gt;My friend any I are wondering whether we can send commands to 42 through sockets through a terminal as a control end and 42 as a receiving end.&lt;/p&gt;
&lt;p&gt;Our goal is to use linux command "nc  -l  42042" and the commands like "0.0 SC&lt;span&gt;[0]&lt;/span&gt; qrl = &lt;span&gt;[0.0  0.0  0.0  1.0]&lt;/span&gt;" in "Inp_Cmd.txt" when 42 is running. &lt;/p&gt;
&lt;p&gt;However, even we modified the file "Inp_IPC.txt" file, set up a mission to be a receiver, and opened a terminal to send sockets to 42 through "nc -l 42042", 42 only crashed or showed messages like "Ack", "Imsg exceeded". &lt;br/&gt;
   Is it possible to do what we plan to ? &lt;br/&gt;
   If so, could you please show us examples about how to run it?&lt;/p&gt;
&lt;p&gt;The second question is about my own project indicated by the attached video.&lt;/p&gt;
&lt;p&gt;Before I go one step furher, I'd love to know how to do interplanetary orbit transfer  like that from the Earth orbit to the Moon orbit in 42. &lt;/p&gt;
&lt;p&gt;In the docs "Flight Regimes.pdf" you explained that 42 can do this by transfer from body-central motion(Earth) to 3-body motion then to body-central motion (Moon) again. I figure that I need three&lt;br/&gt;
Orbit files for each state, but I don't know how to combine them in the Inp_Sim.txt file or anything like that.&lt;br/&gt;
Also, I noticed that the seeming relevant code seems to be commented out in the source code. &lt;br/&gt;
Could you show me an example mission file for doing this kind of simulation? &lt;/p&gt;
&lt;p&gt;Any suggestion or help is appreciated.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Yu Tso (You can call me Roy. That's my nickname in USA) , Sent from Space Science Center, Morehead State University.  &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yu Tso</dc:creator><pubDate>Mon, 09 Dec 2019 05:41:59 -0000</pubDate><guid>https://sourceforge.net8f743753561d5a6da0c91992ed055795321c7280</guid></item><item><title>Interface with Matlab and Simulink</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/9fdcaa0fe8/?limit=25#5300</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Javier,&lt;/p&gt;
&lt;p&gt;Sorry about the belated response.  I don't monitor this page, and somehow your message didn't get forwarded to my email.&lt;/p&gt;
&lt;p&gt;To your question.  I recommend that you download the latest version, and read "Docs/Using Standalone AcApp/Using Standalone AcApp.txt".  To give away the ending, 42 can talk over sockets.  If you can get Simulink to talk over a socket (and I suspect you can), then you can set up exactly the architecture you describe.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
-Eric&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric Stoneking</dc:creator><pubDate>Tue, 14 May 2019 15:17:58 -0000</pubDate><guid>https://sourceforge.netf8a47827034c916940708ce8cce063b54efbb435</guid></item><item><title>Interface with Matlab and Simulink</title><link>https://sourceforge.net/p/fortytwospacecraftsimulation/discussion/general/thread/fe9da29381/?limit=25#2da7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;I'm designing an attitude control model in Simulink and I wonder if it is possible to create an interface with 42 to validate it. The idea is that Simulink recieves the dynamics from 42, then applies the control laws and finally sends the information back to 42.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Javier&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Javier Sanz Lobo</dc:creator><pubDate>Fri, 15 Feb 2019 16:44:06 -0000</pubDate><guid>https://sourceforge.nete6ea3045c50e299d7159f31ada0b3fd3f8644fad</guid></item></channel></rss>