Topic-icon RoboAGVSim dual direction robot settings - BUG or am I missing something?

1 week 6 days ago #29534691 by asyraf9

I was playing around with the RoboAGVSim, and i was programming my robot to use both the front and rear sensors on the AGV.

In order to reverse direction i tried:

1) reverse the direction of the motors via setconfig(_MDIR, 1, 0) etc. This didnt work in the simulator. the AGV continues to go forward using the what is set as forward in the simulators AGV

2) i then programmatically reversed the motors via setting throttle to negative. This works, and may seem to be a good way moving forward.

HOWEVER, when i programmatically set the throttle to negative, and switched my sensor reading to the rear sensors - I found that the rear sensor seems inverted. left markers are detected as right (and vice versa) and turns (magnetic tape readings) are also flipped. it's as if you put both front and rear sensors facing forward - which doesnt make sense to me. no dual direction AGV will be installed with magsensors facing forward only.

it seems changing the profile settings (in my case _MDIR and flipping pulse input for magsensor2 capture polarity to inverted) don't do much. Am i missing something here? please help. thank you!

Please Log in or Create an account to join the conversation.

1 week 5 days ago #29534694 by blake
Thank you for your valuable feedback.

The _MDIR configuration is not currently implemented in the Simulator. However, thanks to your feedback we are working on implementing it now in addition to the suggestion of reversing the rear sensor. We will let you know as soon as the new revision is available.

Please Log in or Create an account to join the conversation.

5 days 16 hours ago #29534706 by asyraf9
That's great news! thanks.

Sorry for the late reply. long holiday.

I really appreciate RoboAGVSim. Lets us save time, develop and test out our programming before putting it in the actual machine. thanks a lot for this.

Is there anyway I can contribute more to the development of RoboAGVSim?

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.082 seconds
Go to top