   }// End else if for moving down
   
   // 2
-  else if (linear_actuator_cmd == 12) // Move up
+  //else if (linear_actuator_cmd == 12) // Move up
+  else if (linear_actuator_cmd > 0) // Move up
   {
     analogWrite(PWMA, 64);
     digitalWrite(AIN1, LOW);       // sets the digital pin 13 on

#include <std_msgs/Float32.h>
#include <std_msgs/Uint8.h>

#include <SHT1x.h>

// Specify data and clock connections and instantiate SHT1x object

  //Serial.println(linear_actuator_cmd);
  // For ROS
  // 1
  //if (linear_actuator_cmd == 11)// Move down
  
  // Swap to using teleop
  if (linear_actuator_cmd < 0)// Move down
  {
    analogWrite(PWMA, 64);
    digitalWrite(AIN1, HIGH);       // sets the digital pin 13 on
