Robotis Openmanipulatorx icon Robotis Openmanipulatorx — Inverse kinematics for Robotis OpenManipulatorX: compute joint angles and MoveTo 3D (cm) positions, supports camera-to-CM mapping for pick-and-place. Try it →
Profile Picture
PRO
YouTube

Robojack

Country: USA
Member Since:

Achievements

Achievements
  • joined Synthiam 2017-04-29 - joined Synthiam
  • connected ARC to the cloud 2017-05-12 - connected ARC to the cloud
  • created a custom avatar 2017-05-16 - created a custom avatar
  • created first new question 2017-05-22 - created first new question
  • joined your first forum discussion 2017-07-25 - joined your first forum discussion
  • shared your first video in the forum 2017-07-27 - shared your first video in the forum
  • shared your first photo in the forum 2017-07-31 - shared your first photo in the forum
  • attempted to help a fellow robot builder 2017-08-05 - attempted to help a fellow robot builder
  • subscribed to ARC and unlocked new features that make your robot even smarter 2022-01-10 - subscribed to ARC and unlocked new features that make your robot even smarter
  • searched the Synthiam support section to learn about ARC features 2022-02-21 - searched the Synthiam support section to learn about ARC features
  • purchasing an Annual Pro Subscription 2024-12-11 - purchasing an Annual Pro Subscription

Latest submissions

question
Translating Arc Javascript To Teensy 4.1

Translating Arc Javascript To Teensy 4.1

Hi @Athena, I’m looking for advice on translating a Robot Skill script for an ARC project. My objective is to convert a Robot Skill written...
question
MEGA STEPS AND BEARING FAILURES

MEGA STEPS AND BEARING FAILURES

Hi @Athena, I'm running an ARC project on an EZBv4 that manages an Arduino Mega (motor control) and a Teensy 4.1 (servo/sensor control). The Mega and Teensy...
question
Mega UART Protocol Troubleshooting

Mega UART Protocol Troubleshooting

@Athena - please examine the Mega sketch and EZBv4 script below. Summary / expected behavior - ARC project where ARC communicates with an Arduino Mega...
question
Mega And Teensy UART Handshake V3

Mega And Teensy UART Handshake V3

@Athena, I'm using an EZBv4 on a rover as the overall controller. The EZBv4 hosts ARC scripts (Robot Skills written in ARC JavaScript) that manage two...
question
Teensy IR Tracker V4.2 Cleanup

Teensy IR Tracker V4.2 Cleanup

Hi @Athena, Below are the files IR_TRACKERv4.1.ino, IR_TRACKERv4.1.h, and IR_TRACKERv4.1.cpp, plus the compilation warning I get when attempting to compile....
question
IR_Trackerv3 Compile And V4 Upgrade

IR_Trackerv3 Compile And V4 Upgrade

I have reposted IR_TRACKERv3 below. cpp #include "IR_TRACKERv3.h" Servo trackingServo; TrackerState state = NEG_SEARCH_INIT; int...
question
Translate REV 28 To C++ Teensy 4.1

Translate REV 28 To C++ Teensy 4.1

Hi @Athena, Attached below is REV 28 - a JavaScript script currently running on an EZBv4 (an EZB-side script). I need to translate this to C++ so it...
question
REV 27.5 Active-Low Edge Fix

REV 27.5 Active-Low Edge Fix

Thank you @Athena for your help. Please review REV 27.4 below. This JavaScript runs as an ARC script / Robot Skill inside an ARC project and appears to use an EZB...
question
REV 27 IR Totals Fix

REV 27 IR Totals Fix

@Athena - thank you for REV 26. I needed to switch the resetNegEdges() and resetPosEdges() calls so the logic in updateBearingFromEdges() would run properly. I also made a few...
question
Rev26 Script Cleanup Request

Rev26 Script Cleanup Request

Hi @Athena, I'm nearly ready to put this script into production. Could you rewrite the complete Rev25 script into a cleaner Rev26 for my ARC project? This is the...
question
Fixing Bearing Calc And Servo Sweep

Fixing Bearing Calc And Servo Sweep

@Athena, Attached is JavaScript Rev22 of an IR tracker for a rover. Can you review it? Context: this is an embedded ARC JavaScript script running in...
question
IR Tracker Code Review

IR Tracker Code Review

@Athena, Please review the JavaScript code below. Context: - This script (IR_TRACKER_v20) runs on the EZ-B v4 (EZBv4) firmware as a JavaScript script that is part of my ARC...
question
Disable Low Battery Announcement

Disable Low Battery Announcement

@Athena, I've read the "EZB Connection Skill" section about battery monitoring and the override, but I can't get it to disable the low-battery...
question
Ezbv4 UART Voltage And Pin Map

Ezbv4 UART Voltage And Pin Map

@Athena, I copied the following from the EZBv4 datasheet: > 24 Multi-Use Digital Input/Output ports: D0-D23 Software configurable for servos, serial...
question
Controller Options For Rover Upgrade

Controller Options For Rover Upgrade

Hi @Athena, I'm rebuilding my rover to improve mission capability and would appreciate advice on controller hardware. Current setup (ARC project...
question
Arduino Motor Speed Fix Rewrite

Arduino Motor Speed Fix Rewrite

Thank you @Athena for your help. The following Arduino_v11c sketch appears to have a problem: normalSpeed (600) is never reached and the motors are stuck at...
question
Arduino_V11 Symmetric PWM Steering

Arduino_V11 Symmetric PWM Steering

Thank you for the Arduino sketch and the ARC scripts. I'm using the Arduino sketch (Arduino_v10) as the robot controller (acting as the EZB) connected...
question
Pivot Stepper Sketch Help

Pivot Stepper Sketch Help

@Athena, I'm using the Arduino Mega sketch below to control four stepper motors via AccelStepper / MultiStepper. The Arduino is connected to an EZB4 over UART (Serial3)....
question
Distance Sensor Query

Distance Sensor Query

@Athena, Thread theme: Scanning strategy Since IR_TRACKER_v1 and OBS_SCAN_v1 share the same servo and the same IR sensor and make incompatible assumptions about the sensor...
question
Atan2 Bearing Geometry Fix

Atan2 Bearing Geometry Fix

Summary: incorporating atan2() geometry @Athena - please review the following Arduino Mega sketch. This sketch implements a UART packet protocol over Serial3 to...
question
UART_V6 Subject Line Options:- UART_V6 Waypoint Be…

UART_V6 Subject Line Options:- UART_V6 Waypoint Be…

Hi @Athena, I'm trying to make an ARC UART script that works seamlessly with an Arduino Mega. Both scripts are...
question
Safeint And Clampint Explained

Safeint And Clampint Explained

@Athena, can you explain the functions safeInt and clampInt? Why are they used and how can the values be changed? Thanks - Jack. Context: This looks like an ARC...
question
Left Motors Stall Until Scan Request

Left Motors Stall Until Scan Request

@Athena - can you review the Arduino sketch below and explain why the left motors (LeftFront and LeftBack) do not run until...
question
Global Variables Between Scripts In ARC

Global Variables Between Scripts In ARC

@Athena, can you help me set up global variables in one script (LEG_v6) so they can be read and sent by another script (UART_v6)? Context: I'm...
question
Obstacle Scan Only Once

Obstacle Scan Only Once

, #include #include static const uint8_t UART_HEADER = 0xA5; // ARC -> Arduinostatic const uint8_t CMD_STOP_MOTORS = 0x01;static const uint8_t CMD_ACTUAL_BEARING =...
question
Stepper Reset Issue In Arduino Sketch

Stepper Reset Issue In Arduino Sketch

I'm using an Arduino Mega as the hardware controller (acting like an EZB/microcontroller) to provide PWM to four stepper motors via the...
question
Arduino PWM Bearing Control Help

Arduino PWM Bearing Control Help

Hi @Athena, I'm requesting help to add capabilities to an existing Arduino sketch. The sketch is included at the end of this post. Can you incorporate...
question
Digitalwritefast And Arduino Sketch

Digitalwritefast And Arduino Sketch

Hi @Athena, I have a question about the Arduino library "digitalWriteFast.h". Below is an Arduino sketch I would like to use that library...
question
UART Byte Array Communication Explained

UART Byte Array Communication Explained

Hi @Athena, I'm asking about the best way to communicate via UART between an EZB4 (JavaScript running on the EZB) and an Arduino Mega (C++)....
question
Arduino Serial Communication Troubleshooting

Arduino Serial Communication Troubleshooting

Hi @Athena, I'm using the following code snippet on an Arduino Mega that is communicating via UART with an EZB4: if...
question
IR Sensor Reading Optimization

IR Sensor Reading Optimization

Hello @Athena, I would appreciate your review of the following JavaScript code within the ARC environment. The script is designed to process infrared (IR)...
question

Arduino Loop Increment Issue Fix

@Athena, I am currently running the following code on an Arduino Mega to adjust a variable iteratively: cpp float psudoActCrs = 90.7550; float actualCourse = 92; while (true) { if (psudoActCrs actualCourse) { psudoActCrs -= 0.1; } Serial.print("psudoActCrs: "); Serial.println(psudoActCrs, 4); Serial.print("actualCourse: ");...
question

Improving IR Sensor Efficiency Javascript

Hi @Athena, I am working on repeatedly pulsing a Sharp IR sensor using JavaScript within my ARC project. Here's a snippet of my current script: javascript var increment = 3; var irValue = 50; var lowIR = ADC.get(2); sleep(10); // IR THRESHOLD FOR A HIT if (lowIR <= irValue) { missCount = 0; cycleCount++; kick = false; if (scanDir == 0) { negHit...
question

DSSERVO 3225 Servo Compatibility Inquiry

Hi @Athena, I am curious about the compatibility of a 25 kg DSSERVO 3225 digital servo, which operates at 4.8 to 6.8 volts DC, with my EZBv4. Additionally, I'm considering placing a 10F capacitor between the positive and negative wires. Would this assist or interfere with the servo's operation when using the EZBv4? Thank you, Jack
question

Troubleshooting Rovers IR Sensor Issue

Hi @Athena, I need some assistance troubleshooting an issue I've encountered with my robot. The setup involves a rover powered by four stepper motors, each controlled by a motor driver board connected to an Arduino Mega 2560. The Arduino handles motor control using PWM, while an EZ-B v4 is tasked with executing scripts to synchronize an IR sensor...
question

UART Communication Between EZ-B And Arduino

Hi @Athena, I am seeking assistance for a project where I need to establish UART communication between an EZ-Robot EZ-B v4 controller and an Arduino Mega 2560. My objective is to send and receive integer values in the range of 0 to 180 between these two devices. On the EZ-B v4 side, I will be utilizing JavaScript within the Synthiam ARC...
question

Improving Digital Write Efficiency Arduino

Hi , I am working on increasing the efficiency of my digital write statements in C++ on an Arduino Mega 2560. I've read that the digitalWriteFast.h library can help with this. Here is my current digital write statement in C++: cpp #include desiredCourseScaled = round(desiredCourse); if (desiredCourseScaled != lastDesiredCourseScaled) { int byte0 =...
question

Help With Sorting Array Implementation

Hello @Athena, I'm currently working on a project where I need to sort values and utilize the lowest value within my script using Synthiam ARC. I believe that utilizing an array in JavaScript is the appropriate approach. Although I have researched JavaScript commands and sorting techniques, I would appreciate some assistance to jumpstart my...
question

Assistance With C++ Map Function

Hi @Athena, I am experiencing some difficulty with the implementation of the map function in C++. Could you help me review the following code snippet to determine if it is correct? The code is designed to adjust the speed of two stepper motors based on a variable, psudoDesCrsDiffSum, which can take values from -500 to 500. cpp // leftSpeed = speed...
question

Triggering UART At Travel Milestones

Hello @Athena, I'm working on a project using an Arduino Mega 2560 to control stepper motors and need help with setting up recurring events that trigger at specific points during the movement. Specifically, I want to send a signal when the motors have traveled 33% and 66% of the total path endpoint distance. Here's a code snippet representing the...
question

Switching Voltage For Sharp Sensor

Hi @Athena, I have a question about powering the Sharp IR Distance Measuring Sensor #GP2Y0A02YK0F, which I am using in my rover project. I've been experimenting with this sensor, and it has worked very well for object detection when powered with 5V DC. During my tests, I found that for specific tasks, the sensor needs to detect a reflector instead...
question

Sending Float Value Via UART

Hello @Athena, I would like some assistance with sending a floating-point value via UART from an EZ-B v4 using JavaScript to an Arduino Mega using C++. Here's a snippet of my current code: EZ-B v4 JavaScript Code: js UART.initHardwareUart(0, 9600); var actualCourse = 91.55; // Need an appropriate method to send the floating-point value correctly...
question

Sending Larger Variables Via UART

Hello @Athena, I am seeking guidance on how to effectively communicate larger variable values from Synthiam ARC to an Arduino via UART. Previously, I worked with smaller values using the following variable configurations: plaintext setVar("$pathTotalDistance", 2450); // Set value in steps setVar("$pathEndpointDistance", 1895);...
question

Inconsistent UART Data Transfer Issue

Hello , I am experiencing inconsistent UART data transfer from the EZ-B v4 to an Arduino Mega 2560. Single-byte transfers are very consistent between these two devices, but when I attempt to transfer 8 bytes, the reliability decreases significantly. I have attached samples of JavaScript and C++ code that I am using. Could you please examine this...
question

Controlling Multiple Stepper Motors Using Arduino Accelstepper Library

Hello , I am currently experiencing difficulties while attempting to use the Arduino AccelStepper Library with my robot. My setup includes small stepper motors driven by DRV8825 drivers, all controlled by an Arduino Mega. I am trying to enhance the functionality by incorporating motor acceleration and deceleration. However, I am unable to get the...
question
ARC Will Not Boot Up After Download.  2Nd Download And Problem Remains.

ARC Will Not Boot Up After Download. 2Nd Download And Problem Remains.

Hello @Synthiam Support and @Athena, Yesterday, I downloaded the Pro 1/27...
question

How To Implement A Ramp Function To A Motor Value Derived From A Map Function.

Hello @Athena, I am experiencing difficulties with implementing a ramp function for motor values that are determined using a map function in my C++ code. Could you please review the attached code and provide guidance on why it won't compile? The variables leftSpeed and rightSpeed are the values produced by the map function. Thank you, Jack cpp void...
question

UART Communication Between And EZB4 And An Arduino

Hello , I am experiencing unreliable transmission of UART data from my EZ-B v4 to an Arduino MEGA. It seems that the Arduino is not consistently reading the data as available. Sometimes the transmission works, and other times it does not. I have double-checked the wiring connections. Could you please review the JavaScript and C++ code for any...
question
Need Assistance With A Script

Need Assistance With A Script

Hello @Athena, I have the latest update to ARC(12/21).  I'm having trouble with one of my scripts that previously worked. Attached is a snippet of the code:...
question

Wheel Counting With Arduino

Hello @Athena, Could you please review the following code that I am using on my Arduino Mega 2560 to count motor pulses? I am encountering an issue with the output on the Serial Monitor. cpp int encoderValue_A = 0; int encoderValue_B = 0; void setup() { Serial.begin(9600); pinMode(2, INPUT); pinMode(3, INPUT);...
question

Wheel Encoder Skill

Hi Athena, I am experiencing difficulty loading the necessary library onto my Arduino Uno to ensure compatibility with the Wheel Encoder Counter Skill in Synthiam ARC. I have successfully loaded the "Servo.h" library, but I am unable to find the "SendOnlySoftwareSerial.h" library. Could you please guide me on where to locate the...
question

Control Command Scriptstartwait In BLOCKLY Prevents The Script From Stopping.

I'm using BLOCKLY to Control Command ScriptStartWait a certain script.  It appears that once the called for script starts it cannot shut down properly.  This only happens when using Control Command ScriptStartWait.  All other times the called for script starts and runs as expected.  This is a new phenomenon and does not occur with a previous...
question

Assistance With Slow Scripts

I am running 7 scripts at once.  Each is looping and looking for a variable that is generated by other scripts.  Once these variables are triggered,  each script runs a series of commands and returns back to looping. Some of my scripts have nested loops operating inside of other loops and break out as necessary. I am using FOREVER LOOPS because...
question
Scripts Will Not Run From Previous Synthiam Version Software

Scripts Will Not Run From Previous Synthiam Version Software

I have tried to run both ARC 4.3 and ARC 4.5 with scripts from my previous Synthiam software.    I...
question

Timer Script Help

Hi Everyone, I've searched for several hours now for a solution to my problem, all to no avail. I need to start an internal timer during the normal running of a script. The timer will be started with a variable going TRUE or a servo position reached. It will be stopped in the same manner. It cannot be a typical COUNT function but must be actual...
question

Control Command, Resume

I am having difficulty with Command Control Resume. Can someone please provide an example in blockly how it could be used? I seem to be using START, STOP, WAIT correctly but if you have any additional info on these also I would very much appreciate it. Thanks!
question

4-1 Sensor Noise

Hi Everyone, I am attempting to use the 4-1 Sensor in my Roli project. The 4-1 like all similar sensors I am familiar with outputs a lot of noise. I am using a script that gets multiple samples and then averages the results. This cuts down the erratic nature of the data but degrades the ability to sense a deviation in the process. Any help here?...
question
Roli Just Got Cooler

Roli Just Got Cooler

I have repositioned the Hbridge from inside the body to the outside for better cooling. I notice the cup holder area getting quite warm after running Roli around on the floor. The...
question
Slipping Roli Tracks

Slipping Roli Tracks

I was able to prevent slippage in the rubber tracks by using outdoor electrical insulation tape. It is much thicker than the black electrical tape. Apply this tape by peeling off...
question
Roli Reimagined

Roli Reimagined

My Roli has been reconfigured with the cup holder in front. The arms can now pick and place objects. I'm having fun!
question

Hbridge

I have a Roli HBridge that has stopped working Forward on the Right Tread only. I have checked all wiring on EZB4 and the Hbridge. After a short run(3-4) seconds in Forward the Heat Sinked IC becomes very hot, enough to burn the skin. The Hbridge intermittently cuts in and out during this time. Any suggestions? Thankyou
question

H Bridge Pwm Movement Control

This question is about the HBridge PWM Movement Control on the most recent version of ARC software. I have a Roli and have determined that the FWD AFT LEFT RIGHT Arrows function as they should but the "Speed Sliders" do not. Specifically the Speed Sliders operate the opposite track. When the LEFT slider is moved the Right Track speed...
No robot skills. Click here to view the Robot Skill Store.
No live robot hacking sessions. Click here to view the past live robot hacks.
No user tutorials. Click here to view all user tutorials.
No robot apps. Click here to view all user robot apps.
No firmwares. Click here to view robot hardware and firmwares.
No 3D printable parts. Click here to view 3D printing robot library.
No features requests.