trying to create collision avoidance logic in simulink but getting some errors in stateflow.
1 次查看(过去 30 天)
显示 更早的评论
I have created logic for robot simulation using Stateflow diagram but getting some errors in it like transition conflicts:
Runtime error: Conflicting Transitions: Model Name: eight_sensor
Block Name: eight_sensor/Control logic
[front_sensor(1) == 1] #48 (0:1:0)
[front_sensor(2) == 1] #47 (0:1:0)
i am attaching my file below to see.
and another question is.... how to define sensor logic for the direction of sensor?
I defined sensors on robot at some angle and at radius r from the center of the robot. but it senses both the ways back side and front side. I just want to make it work front like real sensor. but i dont know how to define vector direction and compate it. please ...please ...please help me as soon as possible.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!