Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for Cycle. problems #1

Open
RangXuan opened this issue Jul 22, 2020 · 1 comment
Open

for Cycle. problems #1

RangXuan opened this issue Jul 22, 2020 · 1 comment

Comments

@RangXuan
Copy link

u did a great job,thanks for your aproch ,but im confusing in the main_CBSHWY.m line147
is
loop = loop+1
are necessary in the (for loop)

@RangXuan
Copy link
Author

RangXuan commented Jul 22, 2020

and other probems maybe you forgot sth in the main_CBSWHF.m line91
for i=1:robotNum

StartRCA(i,1:2) = xy2rc(StartXYA(i,1),StartXYA(i,2));
StartRCA(i,3) = StartXYA(i,3);
GoalXYA(i,1:2) = PodXY(temp(i),1:2);   
GoalRCA(i,1:2) = xy2rc(GoalXYA(i,1),GoalXYA(i,2));
GoalRCA(i,3) = randi([1 4]);    

end

line91 are line4 in the above
u versiong are
GoalXYA(i,1:2) = PodXY(temp(i),:);
my attempt are
GoalXYA(i,1:2) = PodXY(temp(i),1:2);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant