Closed Armandpl closed 1 year ago
could have a fixed speed in simulation? and find the best traj with this constraint. this way we can just fix the speed in real life
max steering is roughly ~25 deg for the inside tire (ackerman steering?). I guess to be safe I could model it to be 20 deg and see what the trajectories look like?
looking at the gear ratio to try and compute the forces exerted on the wheels: motor pinion: 30T spur gear: 68T diff pinion: 13T diff spur: 40T wheel diam: 66mm
current ratio is 68/30 40/13 = 6.97. motor doc recommends 3 for touring on small track when using the 37T pinion we'll get to 68/37 40/13 = 5.65 which is still far from the rec but maybe we need more torque bc the car is heavy with the electronics and extra battery? also we probably don't need to go 70kph? we do need fast acceleration though so I think we want to get to that peak current
trying to understand how many ticks per motor rotation to compute car speed
motor doc here (with gearing recs)
IMHO the connector is "EFRA standard" (RC cars) see here page 25 http://mgm-compro.com/manuals/en-man...-071011-a1.pdf Pin #1 – black wire, ground potential (minus) Pin #2 – orange wire, sensor phase C Pin #3 – white wire, sensor phase B Pin #4 – green wire, sensor phase A Pin #5 – blue wire, motor temperature sensing, 10 k NTC (other end of sensor is on ground potential, pin #1) Pin #6 – red wire, sensors feeding, +5.0 V ± 10%.
There is one sensor per motor phase, do they tick once per motor revolution or three times per motor revolution? or does it depend when the phases are activated?
ok so:
therefore each sensor will tick once per rotation
more motor notes: BLUE: A YELLOW: B ORANGE: C
"B, Y, O" as in 'Bring Your Own.'
Sur la vraie piste il y a des rampes à côté des chicanes, si on deborde de la piste potentiellement on se retourne, on casse la voiture et c'est la fin. P-e il faudrait prendre ça en compte dans le reward de l'agent? ajouter du bruit dans l'action et ajouter un penalty si on touche les rampes?
randomize model params?add option for random track loadingrun sweep to see if we can train faster, if the crash reward is useful, how important gamma is