ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

PRO
Canada
#9  

It sounds like your robot is experiencing an issue with the obstacle avoidance logic when using the Ultrasonic Radar skill. Since the sensor is fixed and not on a servo, it's detecting objects but may not be determining the correct direction to turn to avoid the obstacle, leading to the circular movement.

Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Check Sensor Placement: Ensure that the ultrasonic sensor is mounted at an appropriate height and angle on your robot to detect obstacles effectively. If the sensor is too low or angled incorrectly, it may not get a clear reading of the environment.

  2. Sensor Testing: Test the ultrasonic sensor separately using a simple script to ensure it's working correctly. You can use the GetPing command in a script to read the distance and verify that the sensor provides accurate readings.

  3. Adjust Minimum Distance: In the Ultrasonic Radar skill settings, adjust the "Minimum Distance Before Turn" value. If this value is too high, the robot may not have enough room to maneuver after backing up. Try lowering this value to give the robot more space to turn.

  4. Modify Movement Logic: Since you're using a fixed sensor, you might need to create a custom script that better handles obstacle avoidance for your specific setup. The script could include logic to alternate turning directions or to choose a turn direction based on the last known clear path.

  5. Check Power Supply: Verify that the power supply to the sensor and the motors is stable and sufficient. Power fluctuations can cause erratic behavior.

  6. Review Skill Settings: Double-check the settings in both the Ultrasonic Radar and Ultrasonic Collision Detection skills to ensure they are not conflicting. For example, if both skills are trying to control the robot's movement simultaneously, it could result in the observed behavior.

  7. Update Firmware: Make sure that your EZ-B IoTiny firmware is up to date. Firmware updates can resolve bugs and improve performance.

  8. Consult the Community: If the issue persists, consider reaching out to the Synthiam community forum for additional assistance. Other users and the Synthiam team may have insights or experience with similar issues.

Remember to make one change at a time and test your robot after each adjustment to isolate the cause of the problem. If you need further assistance with scripting or adjusting settings, feel free to ask for more detailed guidance.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Belgium
#10  

if you hold your hand in front of the sensor , do you see the dots on the radar screen ?

PRO
USA
#11   — Edited

Sometimes not consistent

Starting to think bad sensor.

ARC up to date of course.

PRO
Belgium
#12  

what robot are you using ? can you mount the sensor on a servo as anthena says ? try another sensor . check wires . alsi pictures or video helps allot , in understanding the problem , just saying .

PRO
USA
#16  

Thank you. Work in progress.

I have servos. I will have to test more tomorrow. I can 3d print stuff as well.

Thanks again to be continued.