Wild thumper conroller SCmode

I'm trying to control right motors , left motors and servos using ( SCmode ) , i replaced the default mode ( Cmode ) from RCmode to SCmode at constants.h , should i have to change Baud rate from 115200 to 9600 ?

I tried to implement these commands at serial monitor but motors did not rotate

FL = flush serial buffer
AN = report Analog inputs 1-5
SV = next 7 integers will be position information for servos 0-6
HB = "H" bridge data - next 4 bytes will be:
         left  motor mode 0-2
         left  motor PWM  0-255
         right motor mode 0-2
         right motor PWM  0-255

and i can not understand these lines of code

    int A=Serial.read();
    int B=Serial.read();
    int command=A*256+B;  // why this equation ?
    switch (command)
    {
      case 17996:   // Why these numbers definitely ????
     
      case 16718:    // Why these numbers definitely ????

      case 21334:    // Why these numbers definitely ????

      case 18498:     // Why these numbers definitely ????

Thanks

Thank you

Should i replace the baud rate from 115200 to 9600 ???

 

I replaced it with my own

I replaced it with my own code and robot works properly
Thank you

Thanks

Thanks OddBot & 6677