Menu

Commands

Richie Bendall

Regular Commands:

message_print(text)

Prints a message or variable

Usage:

ros.message_print('text')

or

ros.message_print(variable)

add_print(firstnum,secondnum)

Adds the 2 numbers provided and prints it.

Usage:

ros.add_print(firstnumber,secondnumber)

subtract_print(firstnum,secondnum)

Subtracts the 2 numbers provided and prints it.

Usage:

ros.add_print(firstnumber,secondnumber)

multiply_print(firstnum,secondnum)

Multiplys the 2 numbers provided and prints it

Usage:

ros.add_print(firstnumber,secondnumber)

divide_print(firstnum,secondnum)

Divides the 2 numbers provided and prints it

Usage:

ros.add_print(firstnumber,secondnumber)

add_write(firstnum,secondnum)

Adds the 2 numbers provided and writes them to the variable ros_output

Usage:

ros.add_write(firstnumber,secondnumber)

subtract_write(firstnum,secondnum)

Subtracts the 2 numbers provided and writes them to the variable ros_output

Usage:

ros.add_write(firstnumber,secondnumber)

multiply_write(firstnum,secondnum)

Multiplys the 2 numbers provided and writes them to the variable ros_output

Usage:

ros.add_write(firstnumber,secondnumber)

divide_write(firstnum,secondnum)

Divides the 2 numbers provided and writes them to the variable ros_output

Usage:

ros.add_write(firstnumber,secondnumber)

error(text)

Manually triggers an error at runtime

Usage:

ros.error('error')

store(value)

Stores the specified value in the variable ros_stored

Usage:

ros.store(value)

Debug Commands:

debug_varglobal()

Makes the variables ros_output and ros_stored global


debug_supresswarnings()

Ignore warnings upon execution


MongoDB Logo MongoDB