TCIII
TCIII
I found this on the Jetson.GPIO Github: "11. PWM See samples/simple_pwm.py for details on how to use PWM channels. The Jetson.GPIO library supports PWM only on pins with attached hardware...
@lee-junho21, DEFAULT_AI_FRAMEWORK = 'tensorflow'
Here is the result of additional testing: Here are the results of viewing the Mux steering and throttle PWM output on a PWM display when the Mux is switched between...
I believe that this line of code in PiGPIO_PWM may not be correct and is causing the steering signal PWM inversion between input and output: "self.pgio.hardware_PWM(self.pin, self.freq, int(self.output if self.inverted...
DGarbanzo suggested changing "1e6 - self.output" to "3000*self.freq - self.output" which empirical testing indicates works quite well in place of "150000 - self.output" also. Comments?
@DocGarbanzo, Thankyou for your response, much appreciated. Unfortunately Joystick Wizard does not generate the same hex keycodes, that appear in controller.py, for the PS4 as jstest does when using the...
@DocGarbanzo, Unfortunately I am not an experienced Python programmer. My suggestion to handle this hex keycode issue with the Nano is a follows: 1) Add warning: Do not attempt to...
@DocGarbanzo, Per your request I am attaching my "controller.py" part that has the PS4Joystick class modified to work with the NVIDIA Nano and Xavier NX. The hex keycodes are based...
@tikurahul, I beg to differ with you. From the "controller.py" part: "self.axis_trigger_map = { 'left_stick_horz': self.set_steering, 'right_stick_vert': self.set_throttle, # Forza Mode 'right_trigger': self.magnitude(), 'left_trigger': self.magnitude(reversed = True), This also appears...
I decided to reopen this issue after having further experimented with the present XBox One gamepad configuration and have found the following: Left joystick horz: IS: "Right/Left steering" Right joystick...