EZ-Builder Release 2017.06.23.00

Download and install the latest EZ-Builder robot programming software to experience these updates.

Download EZ-Builder
Changes:

- When ez-bits are missing, do not allow user to SKIP. Now first time users must SYNC or CLOSE. Skip is no longer an option.

- Script Flow control bug fix for 3rd party controls. Find out more about script flow by clicking HERE

- Dynamic Turning with camera control Movement Tracking (see below)


This is a fun release because it has a pretty significant update to the camera movement tracking. The movement tracking is a setting in the camera configuration which tells the robot to physically follow the specified tracking type using the movement panel. Of course, a Movement Panel is required in the project for this to work. The old movement tracking would stop the robot and turn toward the object. This new addition uses a Dynamic Turning option. This means the robot will turn toward the object while moving forward. The further the object is to the edge of the screen, the harder the robot will turn in that direction.

User-inserted image


1) Enabling this checkbox instructs the camera control to use the Movement Panel and have the robot physically follow the object.

2) Enabling Speed Settings tells the robot to use the specified speeds when tracking with the movement panel. Forward, Left and Right speeds can be specified and tested here.

3) Enabling Dynamic Turning will have the robot turn toward the object at a variable speed. The values in this area are the SLOWEST speed the robot's wheel will turn in that direction. This means SLOWER = MORE TURNING. The further the detected object is from the center grid lines, the faster the robot will turn. Having this number as low as possible is usually best. For Roli, it would be set for a 1


Here is an example of the robot NOT using dynamic turning. Notice how the robot STOPS and TURNS and STOP and TURNS and STOPS and TURNS, etc...



Here is an example of the robot USING dynamic turning. Notice how the robot continues straight while tracking the object...
Synthiam
#12  
All ezrobot controls for speed accept 0-255. There's an internal mapping function in EZ-Builder for that.
Synthiam
#13  
Show me your roomba code and i'll show you how to turn it into a plugin with speed ability if you want
#14  
@DJ Here is a project I created when I was messing with roboRealm for visual navigation. It should provide you with info on how I use the custom Movement Panel and getting other info from the roomba... I am a little embarrassed because I am a little bit of a messy coder...:)... Let me know if you need anything else...
Create_2_Mapping.EZB
Synthiam
#15  
Yeah looks like you should be using the Map function. Here's how to use it...

Quote:


Map( input, inputMin, inputMax, containerMin, containerMax )
Returns a scaled value of input between containerMin and containerMax. Specify the known input’s minimum and maximum values, and the known container (output) values. For example, if you were to scale a value between -1 and 1 to 0 and 180, enter this, which returns 135.
Example: $x = Map(0.5, -1, 1, 0, 180)



User-inserted image
#16  
This will work fantastic with IPS... I am almost as excited as when I first got my ezb3 4 years ago... :)
#17  
@DJ, thanks for this new release. You've been pumping these great releases out, it will take me 3 more years to caught up.:). You must have figured out how to clone yourself.

Cheers