Possible bug with changing steps/mm in devices

I went to https://my.farmbot.io/app/devices and changed the steps/mm from 500 to 2500. This seemed to send the system into and endless loops of bad GCodes. I just get a stead stream of errors on the the place on web where errors seem to go.

Any thoughts on what went wrong or ways to test it and log proper bugs?

An example of the errors look like

{
“id”: 29092,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “Q0”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.968Z”,
“updated_at”: “2016-12-27T23:58:58.968Z”
},
{
“id”: 29093,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “Command: F21 P62d wh ode: : : : : V W:: : : : ecmd Q:2”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.972Z”,
“updated_at”: “2016-12-27T23:58:58.972Z”
},
{
“id”: 29094,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “denu - \n0112and:21 62 Q0\r,”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.976Z”,
“updated_at”: “2016-12-27T23:58:58.976Z”
},
{
“id”: 29095,
“message”: “Farmbot got a message from my arduino: Command with code: 121, X: 0.00, Y: 0.00, Z: 0.00, S: 0.00, P: 62, V: 0, W: 0, T: 0, E: 0, M: 0, Q: 0”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.982Z”,
“updated_at”: “2016-12-27T23:58:58.982Z”
},
{
“id”: 29096,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “exec cmd Q: 0”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.989Z”,
“updated_at”: “2016-12-27T23:58:58.989Z”
},
{
“id”: 29097,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “c2”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.992Z”,
“updated_at”: “2016-12-27T23:58:58.992Z”
},
{
“id”: 29098,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “c3: 121”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:58.996Z”,
“updated_at”: “2016-12-27T23:58:58.996Z”
},
{
“id”: 29099,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “code Enum C - 121”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:59.000Z”,
“updated_at”: “2016-12-27T23:58:59.000Z”
},
{
“id”: 29100,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “Q0”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:59.003Z”,
“updated_at”: “2016-12-27T23:58:59.003Z”
},
{
“id”: 29101,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “Command: F21 P63 Q0\r,”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:59.006Z”,
“updated_at”: “2016-12-27T23:58:59.006Z”
},
{
“id”: 29102,
“message”: “Farmbot got a message from my arduino: Command with code: 121, X: 0.00, Y: 0.00, Z: 0.00, S: 0.00, P: 63, V: 0, W: 0, T: 0, E: 0, M: 0, Q: 0”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:59.010Z”,
“updated_at”: “2016-12-27T23:58:59.010Z”
},
{
“id”: 29103,
“message”: “Farmbot got an unhandled gcode! {:unhandled_gcode, “exec cmd Q: 0”}”,
“meta”: {
“x”: -1,
“y”: -1,
“z”: -1,
“type”: “info”
},
“channels”: [],
“device_id”: 250,
“created_at”: “2016-12-27T23:58:59.014Z”,
“updated_at”: “2016-12-27T23:58:59.014Z”
}

@fluffy Thanks for pointing this one out. I think this discussion might be better handled on a Github issue thread since it sounds more like a bug report than a general discussion about software.

I’ve pinged Tim and Connor (the main devs for FarmBot OS and the firmware) on a Github issue.

The discussion thread I created is here: https://github.com/FarmBot/farmbot-arduino-firmware/issues/47

The steps per millimeter function should now be working as expected as of farmbot OS 3.0.2 https://github.com/FarmBot/farmbot_os/releases/tag/v3.0.2