b6a6d1e7651bd7aef5c939b2a0898026d4d689f0,donkeycar/parts/robohat.py,RoboHATDriver,set_pulse,#RoboHATDriver#Any#Any#,173

Before Change


                                                     2000, self.STEERING_MID)

            packet = "{0},{1}".format(str(output_steering).zfill(4),
                                      str(output_throttle).zfill(4),)
            self.write_pwm(packet)

            if self.debug:
                print("output_steering=%d, output_throttle=%d\r" %
                      (eval(packet)))
        except OSError as err:
            print(
                "Unexpected issue setting PWM (check wires to motor board): {0}".format(err))

After Change


            else:
                print(f"Warning: steering = {output_steering}, STEERING_MID = {self.STEERING_MID}")
                print(f"Warning: throttle = {output_throttle}, MAX_FORWARD = {self.MAX_FORWARD}, STOPPED_PWM = {self.STOPPED_PWM}, MAX_REVERSE = {self.MAX_REVERSE}")
                print("Not sending PWM value to MM1")

        except OSError as err:
            print(
                "Unexpected issue setting PWM (check wires to motor board): {0}".format(err))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: autorope/donkeycar
Commit Name: b6a6d1e7651bd7aef5c939b2a0898026d4d689f0
Time: 2020-06-11
Author: jonathan@tsez.net
File Name: donkeycar/parts/robohat.py
Class Name: RoboHATDriver
Method Name: set_pulse


Project Name: AlexEMG/DeepLabCut
Commit Name: 4ae9541144d2d3b03675587e16cce820c4fc1942
Time: 2021-01-22
Author: alexander@deeplabcut.org
File Name: deeplabcut/pose_estimation_tensorflow/predict_multianimal.py
Class Name:
Method Name: GetPoseandCostsF


Project Name: AlexEMG/DeepLabCut
Commit Name: 54eef1778a8457225f82fea458ed47b4088aeb5b
Time: 2020-01-22
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/refine_training_dataset/outlier_frames.py
Class Name:
Method Name: PlottingSingleFramecv2