Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal output is not working correct for the sensor distances in the signal monitor. #34

Open
5te1n opened this issue Nov 18, 2015 · 1 comment

Comments

@5te1n
Copy link

5te1n commented Nov 18, 2015

This is the output of the signal monitor in the finkenMaster scene.

[6.30] FLT: throttle = 48.99
[6.30] FLT: pitch = 0.01
[6.30] FLT: roll = 0.02
[6.30] STR: sensor_dist = DATA STRING

@lmaeurer
Copy link
Contributor

Sensor_dist is a packed float[4] array.
If you want to use arrays as signals, you need to pack them and send them as one string signal.
If you want to access the values, you need to unpack the signal value first (Vrep provides a function for packing/unpacking ints/floats)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants