GithubHelp home page GithubHelp logo

fossasat-2's People

Contributors

cesarvera30 avatar eagleanurag avatar gipsonek avatar jgromes avatar juliantech5 avatar peterus avatar sergiocdv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fossasat-2's Issues

State license

Hi! Thanks a lot for sharing the source code for the software and hardware of FossaSat-2 ❤️

However, I don't see a license in the repository, which legally means that "all rights are reserved" and all uses of this might lead to copyright infringement.

FossaSat-1 was shared with GPL3. Do you intend to use the same license for FossaSat-2?

FOSSASAT-2 EPS: use as benchmark

Hi! Congratulations to the whole team on all your work!
I would like to use your EPS design as a benchmark for our Pocketsat implementation. Do you recommend it? Do you have any suggestions to take into account on the design?

One thing that I notice is that you don't have an over-charging or over-discharging mechanism for the battery (or I couldn't discover it). How do you manage that, so you don't damage the battery?

Thanks in advance!

Store and Forward coding

Hi,

In the FS-2 sketch, message store and forwarding is supported by the folling code

case 'b':
addStoreAndForward(0x1337BEEF, "Hello there!");
break;

I'm not a programmer, but it appears that 0x1337BEEF is a memory address? Is there a limit on the numberof characters which may be sent to this address?

Also, please comment on the code below. This is intended to send a message (up to 32 characters) but unclear to me how to specify the correct memory address.

//adapted from code provided by K4KDR
  
String myCall="N6RFM";
String mySFtext="Hello from";

 void sendSF() {
  
  // get data to be stored and forwarded
  char optData[32];
  // text to transmit + some additional underscores for blank space after
  String cq = mySFtext + myCall + " ";
  // Length (with one extra character for the null terminator)
  int str_len = cq.length() + 1; 
  cq.toCharArray(optData, str_len);
  
  Serial.println();
  Serial.print(F("Sending Store annd Forward text "));

  // data to transmit
  uint8_t functionId = CMD_STORE_AND_FORWARD_ADD;   //unclear how to specify target memory address ?0x1337BEEF
  uint8_t optDataLen = strlen(optData);

  // build frame
  uint8_t len = FCP_Get_Frame_Length(callsign, optDataLen);
  uint8_t* frame = new uint8_t[len];
  FCP_Encode(frame, callsign, functionId, optDataLen, (uint8_t*)optData);

  // send data
  int state = radio.transmit(frame, len);
  delete[] frame;

Thanks so much!
Bob N6RFM

Compiling difficulties

Hi,

FYI, there seem to be several definition inconsistencies in the GS ino. "Not declared in scope" observed for FREQUENCY and FSK_DATA_SHAPING. Related compiling errors can be resolved by adjusting to definitions already in sketch to FSK_FREQUENCY, LORA_FREQUENCY and DATA_SHAPING. FSK_CURRENT_LIMIT is also not declared in scope. Can be resolved by editing to CURRENT_LIMIT.

After adjustments made above, several warnings remain. See below. Any suggestions? Using RadioLib 4.02.

Best to all on the team! Looking forward to the upcoming launches.

Bob N6RFM

/home/bob/Desktop/FOSSASAT-2-master/software/GroundStation/GroundStation.ino: In function 'void cameraCapture(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':
/home/bob/Desktop/FOSSASAT-2-master/software/GroundStation/GroundStation.ino:940:59: warning: narrowing conversion of '(((((int)pictureSize) << 4) & 240) | ((int)(((unsigned char)((int)lightMode)) & 15)))' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
uint8_t optData[4] = {slot, ((pictureSize << 4) & 0xF0) | (lightMode & 0x0F),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/bob/Desktop/FOSSASAT-2-master/software/GroundStation/GroundStation.ino:941:53: warning: narrowing conversion of '(((((int)saturation) << 4) & 240) | ((int)(((unsigned char)((int)brightness)) & 15)))' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
((saturation << 4) & 0xF0) | (brightness & 0x0F),
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/bob/Desktop/FOSSASAT-2-master/software/GroundStation/GroundStation.ino:942:51: warning: narrowing conversion of '(((((int)contrast) << 4) & 240) | ((int)(((unsigned char)((int)special)) & 15)))' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
((contrast << 4) & 0xF0) | (special & 0x0F)};
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/bob/Desktop/FOSSASAT-2-master/software/GroundStation/GroundStation.ino: In function 'void loop()':
/home/bob/Desktop/FOSSASAT-2-master/software/GroundStation/GroundStation.ino:1275:32: warning: integer overflow in expression [-Woverflow]
maneuver(0b00011111, 50*1000, 6000, pos);
~~^~~~~

Reference frames error

In software/FossaSat2/src/ADCS/ADCS/adcs_main.cpp

// Calculate the intensities
// pulseLength vector follows solar panel reference frame, not ADCS frame!
// solar X+ = ADCS Y+
// solar Y+ = ADCS Z+
// solar Z+ = ADCS X+

Solar unit panel reference frame relates to the body-ADCS frame as follows: solar X+ equals ADCS X+, solar Y+ equals body Z + and finally solar Z+ equals ADCS Y+.

ISODRAWINGFISSASAT_2.pdf

ADCS frame is the one used for naming within the code, though it is not the one used in the dynamical model. In this sense, ADCS Z+ is renamed X+, X+ goes to Y+ and ADCS Y+ ends up as Z+.

Reference frames

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.