Comments (5)
Hi Fede,
- Look in your SC_foo.txt file, line 6 for your FSW sample time.
- I'm guessing your installation is more than three weeks old :-) By request, I recently made a clear distinction between PULSED and PROPORTIONAL thrusters. See Docs/Thruster Modes.pdf for more.
- What does RTN signify?
Regards,
-Eric
from 42.
Hi Eric,
thank you very much for your answers. I totally missed those two points...
Regarding the third point, I'd like to align the body axis of the S/C with the radial, along-track, cross-track frame (that is the LVLH frame). However, the torque commands needed to control the attitude are not provided by my external controller. If it's possible, I'd like to use one of the controllers already implemented in 42 on top of my orbit controller, but I'm not sure on how to do that. I'd like to call the function AcFsw(&S->AC)
together with my controller, is there a standard way to do that?
Thanks,
Fede
from 42.
Hi Fede,
Radial/Track/Normal. Makes sense, I'd just never run across the acronym before. So in 42, the "L" frame is a permutation of it, so that part is easy enough.
There is no "standard" way, but I think you can cobble one together without too much trouble. Look in 42fsw.c:AdHocFSW(). It happens to be controlling to a permutation of L.
I'm a little unclear about your external controller, but if you're talking to it over a socket, then the call to it is in 42fsw.c:FlightSoftWare() in the CFS_FSW case. You can add a call near there to call your attitude controller, either AdHocFSW or something similar. Or you can add code to your external controller, either way.
Refer back to Docs/42 Overview.pdf and Docs/Nomenclature.pdf if you need to decypher reference frame notation.
Regards,
-Eric
from 42.
Hi Eric,
thank you very much for your helpful answer. I still have a doubt though. What if I need to operate the two controllers at different frequencies? It appears to me that I can call the AdHocFSW at each simulation step (instead of only at each FSW step) to enforce a higher frequency for the attitude control, but is it a good practice? I have some trouble in understanding the best approach to decouple attitude and orbit controls.
Thanks
-Fede
from 42.
Hi Fede,
Study the code. If you can understand how the FSW and sensors run at different sample times than the sim timestep, then you can figure out how to make your controller(s) run at the sample rate of your choosing.
Regards,
-Eric
from 42.
Related Issues (20)
- MTB Models and R frame. HOT 5
- Detumble process HOT 2
- Initial command to send data over TCP/IP HOT 2
- Rx from python HOT 7
- Satellite Mathematical Model HOT 1
- Euler angles and angular rates wrt orbit reference frame HOT 6
- Tx issue HOT 4
- guidelines for installing on Linux HOT 4
- Issue with external control commands HOT 3
- Orbit propagation consistency HOT 8
- Error in SunVtx Shader compile - For both Demo and Standalone projects HOT 2
- How to give different initial angular velocities of each body? and... HOT 3
- Proximity operations simulation HOT 5
- Isolating the graphics engine HOT 3
- Handling terrain data in OpenGL
- About Star Tracker Valid position HOT 1
- JDtoGPSTime is not correct? HOT 3
- `AC.bvb` field not written on socket HOT 6
- Question about paths and the length of the char arrays for paths HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 42.