Skip to content
Discussion options

You must be logged in to vote

All the scheduled task objects are accessible through the cubesat.scheduled_tasks dictionary. The task object has a change_rate function allowing you to change the frequency on the fly.

To test without over the air commands:

  • Add the this line: self.cubesat.scheduled_tasks['beacon'].change_rate(1/10) to something like the IMU task (line 38 would work well) to update the beacon frequency from once every 30 seconds to once every 10 seconds.

To test with over the air commands:

  • Sure you could hard-code a command into cdh.py, but an easier option would be to use the OTA exec_cmd. Following the example here, it might look like this:
    elif CHOOSE_CMD == 'exec_cmd':
        cmd += b"cubesat.schedule…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sukjinkang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants