-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modification of ci_custom.c not taken into account #318
Comments
In addition I would like to share the implementation of Inter Satellites Links that I foresee. I am interested in all remarks or alternatives. |
Hi @girardja, Looking at the provided power point implementation overview it seems similar to Delay or Disruption Tolerant Networking (DTN) where you're using the spacecraft ID (SCID) to determine how to route the packet to the final destination and leveraging the existing spacecraft frames TC/TM instead of bundle protocol. I haven't worked on DTN in quite a while, but know that a number of folks are looking at High-Rate Delay Tolerant Network (HDTN) these days which may be interesting to you. I'd be interested in integrating this into NOS3 and I think still have an issue related to it that we haven't had time to work #178. Backing up - can you confirm you're editing the correct custom files? Looking in the latest Additionally some generic radio functionality exists to send data to what we called "proximity" as a proof of concept for multiple spacecraft: Sorry for the wall of text. Please feel free to follow up here and I'll answer any additional questions you may have! |
Thank you very much Lucas for your answers. Concerning ci_custom.c that I use, I will check on my server. I taught I used UDP version because if I introduced malformed code in it nos3 didn't compile anymore. |
I checked and in the config file toolchain-i386-linux-gnu.cmake I have the lines I would like to be sure, where the output of |
Actually I have no ci_custom.c in nos3/fsw/apps/ci/fsw/src directory
|
I tried to add the following lines at the begining of CI_AppMain: #include <stdio.h> After compiling, and launching nos3, commanding some equipment, I have no hello.txt file in /tmp |
Hi @girardja, do you have a fork of NOS3 with these changes that is public I could take a look at directly? Additionally which version of NOS3 are you using? I'd recommend upgrading to the last release 1.7.0 if you haven't already. |
Dear John, I finally found what was wrong with my code: I initially invoked CFE_MSG_GetSystemId which did not compile and suggested CFE_MSG_GetSystem instead. Anyway, I just commented this call and now I see my text file created. :-) Lessons learnt: Way forward: Thank you very much John for your support. Did you look at the ISL implementation that I plan to do based on an application similar to Radio named ISL in my slides ? Jacques |
@girardja good catch! The implementation appears solid, I would just be sure you capture the assumptions as you go along. For example with DTN they store and then forward the data when the link is available, but it seems ISL requires a constant link between parties and a known routing between the connections. Excited to see this develop! Please feel free to reopen this or create new issues as you run into problems! |
Hy, I am trying to make modification in ci_custom.c in order to implement Inter Satellite Links.
Hereafter is one of my modifications: (starting at //STARTISL)
void CI_CustomMain(void)
{
int32 size = 0;
CFE_MSG_Message_t * sbMsg;
CFE_SB_MsgId_t msgId;
It seems that I never enter in this piece of code.
I expected to see some events in the fsw terminal when I send a command to the spacecraft. It is not the case.
I have also tried printf, file creation ... none has worked as expected.
I know my code is compiled because if I introduce an error it does'nt :-)
I have seen in the fsw terminal that CI_LAB_APP is correctly initialized (not CI)
Any idea ?
The text was updated successfully, but these errors were encountered: