Dear community,
after leaving out a couple of AC versions i did upgrade to AC3.5.4 because of new possibilities for rangefinder settings, but i found my TeraRanger One not showing any values anymore.
TeraRanger is working seperately (checked with serial console) and it’s connected via I2C splitter to a 3DR Pixhawk1.
Power is supplied and I2C was also checked directly without the splitter.
When i checked the new settings for rangefinders in AC3.5.4 i found some issues…
- I chose TrOne I2C in optional hardware menue in Mission Planner
- in Full Parameter List it shows the following:
RNGFND_ADDR 0 (should be different from 1-127, since 0 = disabled)
RNGFND_FUNCTION 0 (should be ok)
RNGFND_GAIN 0,8 (should be ok)
RNGFND_GNDCLEAR 10 (should be ok)
RNGFND_MAX_CM 1400 (should be ok)
RNGFND_MIN_CM 20 (should be ok)
RNGFND_OFFSET 0 (should be ok)
RNGFND_ORIENT 0 (is correct)
RNGFND_PIN -1 (no idea)
RNGFND_POS_X 0 (should be ok)
RNGFND_POS_Y 0 (should be ok)
RNGFND_POS_Z 0 (should be ok)
RNGFND_PWRRNG 0 (should be ok)
RNGFND_RMETRIC 1 (might be ok)
RNGFND_SCALING 3 (should be ok)
RNGFND_SETTLE 0 (should be ok)
RNGFND_STOP_PIN -1 (should be ok)
RNGFND_TYPE 14 (should be ok; formerly it was 4 which now is not listed anymore)
Could you help me out?
I do not want to go back to the former AC version since i would like to benefit from the improved code and also i would like to use the new “AVOID_MARGIN” parameter to set a specific distance to the TeraRangerOne.
Thanks a lot
Alex