You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have only implemented the elevator thruster (The one that goes up and down). We still need the left and right thrusters to be implemented so that we can send messages to them from the Pi and get them moving. Implementation of the left and right thrusters should be almost identical to my implementation of the elevator thruster.
Here are some examples of messages to the Arduino that move the elevator thruster. The left and right thrusters should be similar.
fromi2c_masterimportArduinoard=Arduino()
ard.send('255', register=0x10) # Move the elevator thruster up at full speedard.send('10', register=0x10) # Move the elevator thruster up at a slow speedard.send('0', register=0x10) # Turns off the elevator thrusterard.send('-255', register=0x10) # Move the elevator thruster down at full speed
I would like to be able to move the left and right thrusters in a similar fashion.
For example:
ard.send('255', register=0x11) # Move the left thruster forward at full speedard.send('-255', register=0x12) # Move the right thruster backward at full speed
The text was updated successfully, but these errors were encountered:
I have only implemented the elevator thruster (The one that goes up and down). We still need the left and right thrusters to be implemented so that we can send messages to them from the Pi and get them moving. Implementation of the left and right thrusters should be almost identical to my implementation of the elevator thruster.
Here are some examples of messages to the Arduino that move the elevator thruster. The left and right thrusters should be similar.
I would like to be able to move the left and right thrusters in a similar fashion.
For example:
The text was updated successfully, but these errors were encountered: